{"title":"Codeunit 6246 E-Doc. Item Charge Mapping, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6246-e-doc-item-charge-mapping/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6246,"name":"E-Doc. Item Charge Mapping","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6246-e-doc-item-charge-mapping/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6246-e-doc-item-charge-mapping/source/","path":"src/Apps/W1/EDocument/App/src/Processing/EDocItemChargeMapping.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{},"procs":[{"name":"GetItemChargeStructure","line":38,"kind":"procedure","params":4,"steps":[[50,"call","GetEffectiveMapping",2],[51,"call","NeedsLineToKeep",1],[52,"call","HasLineToKeepInInvoice",1],[53,"call","NeedsAssignedLine",1],[54,"call","FindSingleAssignedLineNo",3],[58,"call","HasSameVAT",4],[65,"call","GetStructure",5],[69,"event","OnAfterGetItemChargeStructure",0]]},{"name":"GetItemChargeStructure","line":81,"kind":"procedure","params":4,"steps":[[93,"call","GetEffectiveMapping",2],[94,"call","NeedsLineToKeep",1],[95,"call","HasLineToKeepInCrMemo",1],[96,"call","NeedsAssignedLine",1],[97,"call","FindSingleAssignedLineNo",3],[101,"call","HasSameVAT",4],[108,"call","GetStructure",5],[112,"event","OnAfterGetSalesCrMemoItemChargeStructure",0]]},{"name":"GetFallbackUnitPrice","line":144,"kind":"procedure","params":1,"steps":[[148,"call","GetFallbackQuantity",0]]},{"name":"FindSingleAssignedLineNo","line":287,"kind":"procedure","access":"local","params":3,"steps":[[291,"call","CollectAssignedLineNos",4]]},{"name":"CollectAssignedLineNos","line":297,"kind":"procedure","access":"local","params":4,"steps":[[312,"call","CollectDocumentLineNosByItemLedgerEntry",2]]}]}