Codeunit 560 CrossIntercompany Connector

Base Application, Microsoft.Intercompany.DataExchange

Source AL, 593 lines

src/Layers/W1/BaseApp/Finance/Intercompany/DataExchange/CrossIntercompanyConnector.Codeunit.allines 17 to 32 of 593, Copyright (c) Microsoft Corporation. MIT

codeunit 560 "CrossIntercompany Connector"{    trigger OnRun()    begin        StandardExpirationInSeconds := 3599;        StoreTokenInICPartner := true;    end;    var        StandardExpirationInSeconds: Integer;        StoreTokenInICPartner: Boolean;        EmptyGuid: Guid;        CrossIntercompanyTok: Label 'CrossEnvironmentIntercompanyToken', Locked = true;        CrossEnvironmentAPIsPathTok: Label 'microsoft/intercompany/%1/companies', Locked = true, Comment = '%1 = version of the API';        ICOutgoingNotificationTok: Label 'intercompanyOutgoingNotification', Locked = true;        OutboundActionTok: Label '/Microsoft.NAV.', Locked = true;

All 593 lines

Public procedures 3 in 29

SubmitRecordsToICPartnerFromEntityName(ICPartner: Record "IC Partner"; Content: Text; EntityName: Text; JsonFieldKey: Text; JsonFieldExpectedValue: Text): Booleannew in 23
SubmitRecordsToICPartnerFromEntityName(ICPartner: Record "IC Partner"; Content: Text; EntityName: Text; var ResultResponse: JsonObject): Booleannew in 23
SubmitJobQueueEntryToICPartner(ICPartner: Record "IC Partner"; Content: Text; JsonFieldKey: Text; JsonFieldExpectedValue: Text): Booleannew in 23

All 19 procedures in 23-29

Changes 3 in 29

List17181920212223242526272829
Procedures213
internal IsDestinationUrlTrusted(DestinationUrl: Text): Booleannew in 29
added
internal IsDestinationUrlAllowed(DestinationUrl: Text; ExpectedHostSuffix: Text): Booleannew in 29
added
internal GetValidatedTokenEndpointForAuthority(ConfiguredTokenEndpoint: Text; AuthorityPrefix: Text): Textnew in 29
added

All 6 changes in 23-29