Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Use this event to

Excerpt

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

    // [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;

Using steps in code


Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Put AwayMOB WMS Ship", 'OnGetPutAwayOrderLinesOnGetShipOrderLines_OnAddStepsToWarehouseActivityHeaderOnAddStepsToWarehouseShipmentHeader''', true, true)]
    local procedure OnGetPutAwayOrderLines MyOnGetShipOrderLines_OnAddStepsToWarehouseActivityHeaderOnAddStepsToWarehouseShipmentHeader(_WhseActivityHeaderWhseShipmentHeaderRecord "Warehouse Activity HeaderWarehouse Shipment Header"; var _StepsElement: Record "MOB Steps Element")
    begin
        with _StepsElement do
            // Add your custom header steps here...
            ;_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;


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


Version History

VersionChanges
MOB5.10Introduced as OnGetReceiveOrderLinesOnGetShipOrderLines_OnAfterAddStepsOnPosting
MOB5.11Renamed to OnGetReceiveOrderLinesOnGetShipOrderLines_OnAddStepsToAnyHeader