...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Use this event to
Excerpt |
---|
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 is the out-of-the-box ShippingProvider implementation Shipping Provider for "IDYN ShipIt Idyn ShipIT 365".
See also: Read Master Data From from 3rd party Shipping ProviderApp
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOS Pack APIMOB Pack API", 'OnDiscoverShippingProvider', '', truetrue, truetrue)]
local procedure OnDiscoverShippingProvider OnDiscoverShippingProvider()
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOS Pack APIMOB Pack API", 'OnDiscoverShippingProvider', '', truetrue, truetrue)]
local procedure OnDiscoverShippingProvider MyOnDiscoverShippingProvider()
var
MosPackAPI MobPackAPI: Codeunit "MOS Pack APIMOB Pack API";
begin
MosPackAPI MobPackAPI.SetupShippingProvider(GetShippingProviderId(), 'My custom ShippingProvider Connector App');
end;
local procedure GetShippingProviderId GetShippingProviderId(): Code[20]
begin
exit('MYSHIPPINGPROVIDERID');
end;
Version History
Version | Changes |
---|---|
MOS1MOB5.0.042 | Introduced |