Use this event to
...
- You may use this event to change any property or e.g. Hide the step.
- This event is executed once for every Step added from adhoc PostShipment.
See also: OnLookupOnPostShipment_OnAddSteps
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAfterAddStep', '', false, false)]
local procedure OnLookupOnPostShipment_OnAfterAddStep(_WarehouseShipmentHeaderWhseShipmentHeader: Record "Warehouse Shipment Header"; var _Step: Record "MOB Steps Element")
begin
end;
Example
// [Example] Add text to existing InfoStep
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAfterAddStep', '', false, false)]
local procedure MyOnLookupOnPostShipment_OnAfterAddStep(_WarehouseShipmentHeaderWhseShipmentHeader: Record "Warehouse Shipment Header"; var _Step: Record "MOB Steps Element")
begin
if _Step.Get_name() = 'InfoStep' then
_Step.Set_helpLabel('Print and attach License Plate Content label for all foreign shipments<br><br>' + _Step.Get_helpLabel());
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 = "onincludeonafteraddstep" and label = "example"
Version History
...