---
id: change/bcapps/11386
type: change
title: "#11386 Fix E-Doc. Item Charge Mapping codeunit ID"
summary: The E-Doc. Item Charge Mapping codeunit ID was corrected from 6532 to the properly assigned ID 6246.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit e-doc. item charge mapping
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:30.375Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b25601c8c7ed86ffcd63289dc21bfa5c389e5049
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11386
    title: "microsoft/BCApps#11386: Fix E-Doc. Item Charge Mapping codeunit ID"
    date: "2026-09-12"
    commit: b25601c8c7ed86ffcd63289dc21bfa5c389e5049
    t: null
    quote: The E-Doc. Item Charge Mapping codeunit uses an incorrect object ID. It must use the assigned codeunit ID 6246.
links:
  learn: []
  objects:
    - object/codeunit/6246
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11386
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11386
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-12T00:44:07Z"
author: djukicmilica
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: false
breaking: false
files:
  count: 1
  additions: 1
  deletions: 1
  al: 1
apps:
  - EDocument
objects_touched:
  - key: codeunit/6246
    page: codeunit/6246
    type: codeunit
    id: 6246
    name: E-Doc. Item Charge Mapping
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641600
systems:
  - integration
quote: The E-Doc. Item Charge Mapping codeunit uses an incorrect object ID. It must use the assigned codeunit ID 6246.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11386 Fix E-Doc. Item Charge Mapping codeunit ID

> The E-Doc. Item Charge Mapping codeunit ID was corrected from 6532 to the properly assigned ID 6246.

[Pull request](https://github.com/microsoft/BCApps/pull/11386) · merged into `main` (BC30) on 2026-09-12 by djukicmilica · 1 file (+1 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Codeunit E-Doc. Item Charge Mapping now uses its assigned ID 6246 instead of 6532
- One-line change to the codeunit declaration in the E-Document app

## AL objects touched

- [Codeunit 6246 "E-Doc. Item Charge Mapping"](../../objects/codeunit/6246.md), EDocument: modified

## Context

- Work items: AB#641600
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "The E-Doc. Item Charge Mapping codeunit uses an incorrect object ID. It must use the assigned codeunit ID 6246."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
