Use this event to
Excerpt |
---|
Code to be executed Handle tasks prior to posting via the posting of the Packing process, specifically posting the Shipment by the standard posting routine ("Whse.-Post Shipment").--Handle tasks prior to the posting of the Packing process. |
Description
The event can be used to call functions on the standard posting codeunit before run.
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pack Adhoc Reg-PostPck", 'OnPostAdhocRegistrationOnPostPacking_OnBeforeRunWhsePostShipment', '', false, false)]
localprocedure OnPostAdhocRegistrationOnPostPacking_OnBeforeRunWhsePostShipment(var _WhseShipmentLine: Record"Warehouse Shipment Line"; var _WhsePostShipment: Codeunit"Whse.-Post Shipment"; var _IsHandled: Boolean);
begin
end;
...