Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

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::CodeunitCodeunit::"MOB WMS Ship", 'OnGetShipOrderLines_OnAddStepsToWarehouseShipmentHeader''', true, true)]
    local procedure OnGetShipOrderLines_OnAddStepsToWarehouseShipmentHeader(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _StepsElement: Record "MOB Steps Element")
    begin
    end;


Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Ship", 'OnGetShipOrderLines_OnAddStepsToWarehouseShipmentHeader''', true, true)]
    local procedure MyOnGetShipOrderLines_OnAddStepsToWarehouseShipmentHeader(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _StepsElement: Record "MOB Steps Element")
    begin
        _StepsElement.Create_InformationStep(
            10,                                                       // id
            'MyInformationStep',                          // name
            'New Information',                              // header
            '',                                                         // label
            'Always do an ImageCapture upon shipment if no image is currently displayed at mobile device.');  // helpLabel


        _StepsElement
.Create_SignatureStep(
            10,                                                     // id
            'MySignatureStep',                            // name
            'Signature',                                        // header
            'Sign:',                                                // label
            'Tap the signature icon to provide signature');         // helpLabel
    end;


Examples


Version History

VersionChanges
MOB5.10Introduced as OnGetShipOrderLines_OnAfterAddStepsOnPosting
MOB5.11Renamed to OnGetShipOrderLines_OnAddStepsToAnyHeader
  • No labels