Versions Compared

Key

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

Use this event to

Excerpt

Handle collected values from Header Steps for a Put-away or set arguments in standard posting routine.

...

Note
titleCommit

Insert excerpt
Shared text - Commit
Shared text - Commit
nopaneltrue

Note: The "Whse.-Activity-Post Receipt" codeunit " and "Whse.-Activity-Register" codeunits includes several unconditional commits in standard code, including for every source document posted. When you rely on standard code rollback for your custom code for Warehouse Receipts , this needs to be taken into account and the standard integration event you are subscribing to must be selected carefully.


Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Put Away", 'OnPostPutAwayOrder_OnBeforePostWarehouseActivityOrder''', true, true)]
    procedure OnPostPutAwayOrder_OnBeforeRunWhseActivityRegister(var _OrderValues: Record "MOB Common Element"; var _WhseActivityHeader: Record "Warehouse Activity Header")
    begin
    end;


See also: 
How-to: Subscribe to standard events in BC base app

...