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 when collecting values for each individual shipment.



See also: OnLookupOnPostShipment_OnAfterAddStep

Template    

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAddSteps''', false, false)]
    local procedure OnLookupOnPostShipment_OnAddSteps(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _Steps: Record "MOB Steps Element")
    begin
    end;

Example

    // [Example] New date step to query for posting date (not an end-to-end example)
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAddSteps''', false, false)]
    local procedure MyOnLookupOnPostShipment_OnAddSteps(_WhseShipmentHeader: Record "Warehouse Shipment Header"; var _Steps: Record "MOB Steps Element")
    begin
        _Steps.Create_DateStep(10000'MyPostingDate');
        _Steps.Set_header('Posting Date');
        _Steps.Set_defaultValue(Today());
    end;


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "lookup" and label = "onpostshipment" and label = "onaddsteps" and label = "example"


Version History

Version

Changes

MOB5.29Introduced