Versions Compared

Key

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

Use this event to

Excerpt

Code to be executed prior to posting via standard posting routine for ("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;

...