Use this event to
Add steps to be displayed at the mobile device when collecting values for each individual shipment.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"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::Codeunit, Codeunit::"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.29 | Introduced |