Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "lookup" and label = "onpostshipment" and label = "oninclude" and label = "example"

...