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

Version 1 Next »

Use this event to

Expose your custom ShippingProvider Connector App to Tasklet Pack and Ship


Description

Each 3rd party Shipping App being integrated into "Tasklet Pack and Ship" must provide a unique "Shipping Provider Id" identifying this exact "ShippingProvider" Connector App integration.

The "Shipping Provider Id" is used to separate imported master data from various 3rd party Shipping Apps that may otherwise use conflicting codes (i.e. two implementations both using Package Type = 'BOX'). 
Tasklet are using Id "SHIPIT365" for the out-of-the-box ShippingProvider implementation for "IDYN ShipIt 365".


See also: Read Master Data From Shipping Provider


Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOS Pack API", 'OnDiscoverShippingProvider''', true, true)]
    local procedure OnDiscoverShippingProvider()
    begin
    end;

Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOS Pack API", 'OnDiscoverShippingProvider''', true, true)]
    local procedure OnDiscoverShippingProvider()
    var
        MosPackAPI: Codeunit "MOS Pack API";
    begin
        MosPackAPI.SetupShippingProvider(GetShippingProviderId()'My custom ShippingProvider Connector App');
    end;

    local procedure GetShippingProviderId()Code[20]
    begin
        exit('MYSHIPPINGPROVIDERID');
    end;

Version History

VersionChanges
MOS1.0.0Introduced
  • No labels