Use this event to
Add Steps to be displayed at the mobile device before posting (the Order).
Description
Header steps are executed..
- after all lines have been registered at the mobile device, and "Post the order?" page was accepted.
- when the mobile user manually select "Post"
How header steps are sorted
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Put Away", 'OnGetPutAwayOrderLines_OnAddStepsToWarehouseActivityHeader', '', true, true)]
local procedure OnGetPutAwayOrderLines_OnAddStepsToWarehouseActivityHeader(_WhseActivityHeader: Record "Warehouse Activity Header"; var _StepsElement: Record "MOB Steps Element")
begin
// Add your custom header steps here...
// _StepsElement.Create....
;
end;
Examples
-
Case: Add Header Step to inbound goods documents (Signature Step) — The warehouse employee must sign inbound goods (signature step).
-
Case: Add Header Step to inbound goods documents (Text Step) — When receiving goods, a new text collector step must be added for the user to enter comments about goods being damaged etc.
-
Case: Show G/L Account Lines and Non-Inventory Items on Receive and Pick — This case doesn't work with Warehouse Documents, Only basic Inventory on Sales and Purchase Orders.
Version History
Version | Changes |
---|---|
MOB5.10 | Introduced as OnGetReceiveOrderLines_OnAfterAddStepsOnPosting |
MOB5.11 | Renamed to OnGetReceiveOrderLines_OnAddStepsToAnyHeader |