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 7 Current »

Use this event to

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(_WarehouseShipmentHeader: 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(_WarehouseShipmentHeader: 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;


More examples

There are no items with the selected labels at this time.


Version History

Version

Changes

MOB5.29Introduced
  • No labels