Use this event to
Excerpt |
---|
Expose your custom ShippingProvider Connector App to Tasklet Pack and Ship |
Description
...
"SHIPIT365" is the out-of-the-box ShippingProvider Shipping Provider for "Idyn ShipIT 365".
See also: Read Master Data From from 3rd party Shipping ProviderApp
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOS Pack API", 'OnDiscoverShippingProvider', '', true, true)]
local procedure OnDiscoverShippingProvider()
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"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
Version | Changes |
---|---|
MOB5.42 | Introduced |
...