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

Use this event to

Modify properties for any single Step from adhoc PostShipment.


Description

  • 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::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAfterAddStep''', false, false)]
    local procedure OnLookupOnPostShipment_OnAfterAddStep(_WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var _Step: Record "MOB Steps Element")
    begin
    end;

Example

    // [Example] Add text to existing InfoStep
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAfterAddStep''', false, false)]
    local procedure MyOnLookupOnPostShipment_OnAfterAddStep(_WarehouseShipmentHeader: 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;


More examples

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


Version History

Version

Changes

MOB5.29Introduced
  • No labels