Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Use this event to

Excerpt

Perform logic after posting For example printing a label.

Description

The event is executed:

  • After all other OnPost...-events
  • Only if posting succeeds

... for all source documents:

  • Phys. Inventory Journals

  • Whse. Phys. Invt. Journals (When using “Directed Put-away and Pick”)



Note
titleCommit

Database posting transactions are committed to database prior to this event.

This event is furthermore run as an isolated process. 

  • _ResultMessage therefore contains both a posting success-message and any error-message that has occurred in subscribers to this event. 

Template

  

    // [Template]

       [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS CountMOB WMS Ship", 'OnPostCountOrderOnPostShipOrder_OnAfterPostAnyOrderOnAfterPostWarehouseShipment''', true, true)]
    local procedure OnPostCountOrder OnPostShipOrder_OnAfterPostAnyOrderOnAfterPostWarehouseShipment(var _RecRefWhseShipmentLine: Record RecordRef"Warehouse Shipment Line"var _OrderValues: Record "MOB Common Element"; var _ResultMessage: Text)
    begin
    end;


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleExamples
excerptTypesimple
cqllabel = "bc" and label = "order" and label = "example" and label = "onafterpost"


Version History

Version

Changes

MOB5.22Introduced

...