{"title":"Report 5708 Create Warehouse Shipment, extension points 29","url":"https://jonas-paprotka.de/ref/report/5708-create-warehouse-shipment/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":"report","id":5708,"name":"Create Warehouse Shipment","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5708-create-warehouse-shipment/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5708-create-warehouse-shipment/source/","path":"src/Layers/W1/BaseApp/Warehouse/Document/CreateWarehouseShipment.Report.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":{"table:14":{"name":"Location","url":"https://jonas-paprotka.de/ref/table/14-location/"},"table:36":{"name":"Sales Header","url":"https://jonas-paprotka.de/ref/table/36-sales-header/"},"codeunit:5752":{"name":"Get Source Doc. Outbound","url":"https://jonas-paprotka.de/ref/codeunit/5752-get-source-doc-outbound/"},"report:5753":{"name":"Get Source Documents","url":"https://jonas-paprotka.de/ref/report/5753-get-source-documents/"}},"procs":[{"name":"Warehouse Request.OnAfterGetRecord","line":28,"kind":"trigger","steps":[[32,"ext","table",14,"RequireShipment",1],[37,"call","CreateWarehouseShipmentForPurchaseReturnOrder",0],[39,"call","CreateWarehouseShipmentForSalesOrder",0],[41,"call","CreateWarehouseShipmentForTransferOrder",0],[44,"event","OnWarehouseRequestOnAfterGetRecord",0]]},{"name":"CreateWarehouseShipmentForSalesOrder","line":89,"kind":"procedure","access":"local","params":0,"steps":[[101,"ext","table",36,"IsApprovedForPostingBatch",0],[104,"ext","table",36,"WhseShipmentConflict",3],[107,"ext","codeunit",5752,"SetCalledFromCreateWarehouseShipmentReport",1],[108,"ext","codeunit",5752,"CheckSalesHeader",2],[111,"call","CreateWarehouseShipmentFromWhseRequest",1]]},{"name":"CreateWarehouseShipmentForPurchaseReturnOrder","line":114,"kind":"procedure","access":"local","params":0,"steps":[[125,"call","CreateWarehouseShipmentFromWhseRequest",1]]},{"name":"CreateWarehouseShipmentForTransferOrder","line":128,"kind":"procedure","access":"local","params":0,"steps":[[140,"ext","codeunit",5752,"CheckTransferHeader",2],[143,"call","CreateWarehouseShipmentFromWhseRequest",1]]},{"name":"CreateWarehouseShipmentFromWhseRequest","line":146,"kind":"procedure","params":1,"steps":[[151,"ext","report",5753,"SetDoNotFillQtytoHandle",1],[152,"ext","report",5753,"SetReservedFromStock",1],[153,"ext","report",5753,"UseRequestPage",1],[155,"ext","report",5753,"SetHideDialog",1]]}]}