{"title":"Page 5805 Item Charge Assignment (Purch), extension points 29","url":"https://jonas-paprotka.de/ref/page/5805-item-charge-assignment-purch/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":"page","id":5805,"name":"Item Charge Assignment (Purch)","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5805-item-charge-assignment-purch/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5805-item-charge-assignment-purch/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/ItemChargeAssignmentPurch.Page.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":{"codeunit:5805":{"name":"Item Charge Assgnt. (Purch.)","url":"https://jonas-paprotka.de/ref/codeunit/5805-item-charge-assgnt-purch/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"page:5806":{"name":"Purch. Receipt Lines","url":"https://jonas-paprotka.de/ref/page/5806-purch-receipt-lines/"},"page:5759":{"name":"Posted Transfer Receipt Lines","url":"https://jonas-paprotka.de/ref/page/5759-posted-transfer-receipt-lines/"},"page:6657":{"name":"Return Shipment Lines","url":"https://jonas-paprotka.de/ref/page/6657-return-shipment-lines/"},"page:5824":{"name":"Sales Shipment Lines","url":"https://jonas-paprotka.de/ref/page/5824-sales-shipment-lines/"},"page:6667":{"name":"Return Receipt Lines","url":"https://jonas-paprotka.de/ref/page/6667-return-receipt-lines/"}},"procs":[{"name":"Qty. to Assign.OnValidate","line":64,"kind":"trigger","steps":[[69,"call","QtytoAssignOnAfterValidate",0]]},{"name":"Qty. to Handle.OnValidate","line":75,"kind":"trigger","steps":[[80,"call","QtytoAssignOnAfterValidate",0]]},{"name":"GetReceiptLines.OnAction","line":319,"kind":"trigger","steps":[[328,"event","OnGetReceiptLinesOnActionOnAfterItemChargeAssgntPurchSetFilters",0],[330,"call","OpenPurchReceiptLines",1]]},{"name":"GetTransferReceiptLines.OnAction","line":341,"kind":"trigger","steps":[[353,"event","OnGetTransferReceiptLinesOnActionOnAfterItemChargeAssgntPurchSetFilters",0],[355,"call","OpenPostedTransferReceiptLines",1]]},{"name":"GetReturnShipmentLines.OnAction","line":366,"kind":"trigger","steps":[[373,"event","OnGetReturnShipmentLinesOnActionOnAfterItemChargeAssgntPurchSetFilters",0],[375,"call","OpenReturnShipmentLines",1]]},{"name":"GetSalesShipmentLines.OnAction","line":386,"kind":"trigger","steps":[[393,"event","OnGetSalesShipmentLinesOnActionOnAfterItemChargeAssgntPurchSetFilters",0],[395,"call","OpenSalesShipmentLines",1]]},{"name":"GetReturnReceiptLines.OnAction","line":406,"kind":"trigger","steps":[[413,"event","OnGetReturnReceiptLinesOnActionOnAfterItemChargeAssgntPurchSetFilters",0],[415,"call","OpenReturnReceiptLines",1]]},{"name":"SuggestItemChargeAssignment.OnAction","line":427,"kind":"trigger","steps":[[431,"ext","codeunit",5805,"SuggestAssgnt",5]]},{"name":"OnAfterGetCurrRecord","line":473,"kind":"trigger","steps":[[475,"call","UpdateQtyAssgnt",0]]},{"name":"Category_Report.OnAfterGetRecord","line":478,"kind":"trigger","steps":[[480,"call","UpdateQty",0]]},{"name":"OnQueryClosePage","line":501,"kind":"trigger","steps":[[506,"ext","codeunit",27,"GetResponseOrDefault",2]]},{"name":"UpdateQty","line":571,"kind":"procedure","access":"local","params":0,"steps":[[648,"event","OnAfterUpdateQty",0]]},{"name":"Initialize","line":651,"kind":"procedure","params":2,"steps":[[656,"event","OnAfterInitialize",0]]},{"name":"QtytoAssignOnAfterValidate","line":659,"kind":"procedure","access":"local","params":0,"steps":[[662,"call","UpdateQtyAssgnt",0]]},{"name":"OpenPurchReceiptLines","line":666,"kind":"procedure","access":"local","params":1,"steps":[[672,"event","OnBeforeOpenPurchReceiptLines",0],[678,"ext","page",5806,"Initialize",2],[680,"ext","page",5806,"Initialize",2]]},{"name":"OpenPostedTransferReceiptLines","line":685,"kind":"procedure","access":"local","params":1,"steps":[[691,"event","OnBeforeOpenPostedTransferReceiptLines",0],[697,"ext","page",5759,"Initialize",2],[699,"ext","page",5759,"Initialize",2]]},{"name":"OpenReturnShipmentLines","line":705,"kind":"procedure","access":"local","params":1,"steps":[[711,"event","OnBeforeOpenReturnShipmentLines",0],[717,"ext","page",6657,"Initialize",2],[719,"ext","page",6657,"Initialize",2]]},{"name":"OpenSalesShipmentLines","line":725,"kind":"procedure","access":"local","params":1,"steps":[[731,"event","OnBeforeOpenSalesShipmentLines",0],[737,"ext","page",5824,"InitializePurchase",2],[739,"ext","page",5824,"InitializePurchase",2]]},{"name":"OpenReturnReceiptLines","line":745,"kind":"procedure","access":"local","params":1,"steps":[[751,"event","OnBeforeOpenReturnReceiptLines",0],[757,"ext","page",6667,"InitializePurchase",2],[759,"ext","page",6667,"InitializePurchase",2]]}]}