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.

...

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

... for all source documents:

  • Warehouse Pick
  • Inventory Pick
  • Sales Order
  • Purchase Return Order
  • Transfer Order



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

  

    [IntegrationEvent(false, falseEventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS move", 'OnPostMoveOrder_OnAfterPostWarehouseActivity''', true, true)]
    local procedure OnPostPickOrder OnPostMoveOrder_OnAfterPostAnyOrderOnAfterPostWarehouseActivity(var _RecRefOrderValues: Record RecordRef"MOB Common Element"var _ResultMessage: Textvar _WhseActivityLine: Record "Warehouse Activity Line")
    begin
    end;


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

...