Utveckling
En Addon byggs genom att implementera ett interface:
interface "NPX WH IIntegration"
{
procedure OnDiscovery();
procedure OnGetCodeunit(AppId: guid; var IntegrationCU: Interface "NPX WH IIntegration");
procedure SerializeEntry(Integration: Record "NPX WH Integration"; var MessageQueue: Record "NPX WH Message Queue");
procedure ProcessEntry(Integration: Record "NPX WH Integration"; var LogEntry: Record "NPX WH Log Entry");
procedure SendEntry(Integration: Record "NPX WH Integration"; var LogEntry: Record "NPX WH Log Entry"): Boolean;
procedure RetrieveEntry(Integration: Record "NPX WH Integration"): Boolean;
}
OnDiscovery
Används vid installation av ny addon och gör att WMS Core kan hitta alla installerade addons.
OnGetCodeunit
Används vid varje tillfälle som ett dokument från en 3PL ska hanteras.
SerializeEntry
Används vid varje tillfälle som ett dokument skall serialiseras till en 3PL.
ProcessEntry
Används vid varje tillfälle som en Log-post skall hanteras.
SendEntry
Används vid varje tillfälle som en utgående Log-post skall skickas.
RetrieveEntry
Används vid varje tillfälle som dokument/återapportering från 3PL skall hämtas.
Exempel: