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

Book and Print external "Transport Orders" (or similar) in 3rd party Shipping App

Description

This event is triggered after a Warehouse Shipment has been posted. You may use the event to:

  • Create transport orders (or similar) for the Whse. Shipment in the 3rd party Shipping App  (or use OnPostPackingOnBeforePostWarehouseShipment event if you want the Transport Order to be created prior to posting) 
    • Create transport order packages (or similar) based on untransferred license plates
    • Mark untransferred license plates as now already Transferred to Shipping.
  • Book transport orders (or similar) in the 3rd party Shipping App
  • Print related documents from the 3rd party Shipping App.


Note: This event is similar to base event "Whse.-Post Shipment.OnAfterPostWhseShipment, but is a more accessible "interface" (all neccessary events are in one codeunit).

See also: Write Transaction Data to 3rd party Shipping App


Template

    /// <remarks>
    /// Redirected from standard event OnAfterPostWhseShipment to new local event for more accessible "interface" (all neccessary events in Codeunit MOS Pack API)
    /// </remarks>
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Pack API", 'OnPostPackingOnAfterPostWarehouseShipment', '', false, false)]
    local procedure OnPostPackingOnAfterPostWarehouseShipment(var WarehouseShipmentHeader: Record "Warehouse Shipment Header")
    begin
    end;


Example - Book and Print an existing Transport Order for a Warehouse Shipment when shipment is fully posted

TODO

More examples

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

Version History

VersionChanges
MOB5.42Introduced
  • No labels