OnGetMoveOrderLines_OnAddStepsToWarehouseActivityHeader

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" 

See also

Whitepaper Understanding Steps


Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Move", 'OnGetMoveOrderLines_OnAddStepsToWarehouseActivityHeader''', true, true)]
    local procedure OnGetMoveOrderLines_OnAddStepsToWarehouseActivityHeader(_WhseActivityHeader: Record "Warehouse Activity Header"; var _StepsElement: Record "MOB Steps Element")
    begin
    end;

Using steps in code

Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Move", 'OnGetMoveOrderLines_OnAddStepsToWarehouseActivityHeader''', true, true)]
    local procedure MyOnGetMoveOrderLines_OnAddStepsToWarehouseActivityHeader(_WhseActivityHeader: Record "Warehouse Activity Header"; var _StepsElement: Record "MOB Steps Element")
    begin
        _StepsElement.Create_InformationStep(
            10,                                                                                                 // id
            'MyInformationStep',                                                                    // name
            'New Information',                                                                        // header
            '',                                                                                                   // label
            'Always do an ImageCapture upon move if no image is currently displayed at mobile device.');        // helpLabel
    end;


Examples


Version History

VersionChanges
MOB5.10Introduced as OnGetShipOrderLines_OnAfterAddStepsOnPosting
MOB5.11Renamed to OnGetShipOrderLines_OnAddStepsToAnyHeader