Versions Compared

Key

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

Use this event to

...

  • 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: OnGetPickOrderLines_OnAfterAddStepToAnyHeader


How header steps are sorted

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnAddStepsToAnyHeader''', true, true)]
    local procedure OnGetPickOrderLines_OnAddStepsToAnyHeader(_RecRef: RecordRefvar _StepsElement: Record "MOB Steps Element")
    begin
    end;



Example

    // [Example]: Add a new text collector step on header    
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnAddStepsToAnyHeader''', true, true)]
    local procedure MyOnGetPickOrderLines_OnAddStepsToAnyHeader(_RecRef: RecordRefvar _StepsElement: Record "MOB Steps Element")
    begin
        _StepsElement.Create_InformationStep(
            10000,                                                                                           // Id
            'MyInformationStep',                                                                             // name
            'New Information',                                                                               // header
            '',                                                                                              // label
            'Always do an ImageCapture upon pick if no image is currently displayed at mobile device.');     // helpLabel
    end;



Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "orderlines" and label = "example" and label = "onaddstepstoanyheader"

...