Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

Excerpt

Handle tasks Code to be executed priorto the posting of the Packing process, specifically posting the Shipment by the standard posting routine ("Whse.-Post Shipment").

...

The event can be used to call functions on the standard posting codeunit before run-codeunit (Before Run).

Template

[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;

...