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::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;
Filter by label (Content by label) showLabels false showSpace false sort title title More examples excerptType simple cql label = "bc" and label = "lookup" and label = "onpostshipment" and label = "onaddsteps" and label = "example"
...