---
id: object/codeunit/560
type: object
title: Codeunit 560 "CrossIntercompany Connector"
summary: Codeunit 560 "CrossIntercompany Connector" in Base Application (Microsoft.Intercompany.DataExchange). 19 public procedures. Present since at least BC23, still in BC30, changed in BC25, BC27-28.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 58e9db39cb54d32b6b4205f6d811a451ffff5d3261575d18c3868b9e90109d1e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Intercompany/DataExchange/CrossIntercompanyConnector.Codeunit.al
    title: src/Layers/W1/BaseApp/Finance/Intercompany/DataExchange/CrossIntercompanyConnector.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11378
    - change/bcapps/11016
object_type: codeunit
object_id: 560
name: CrossIntercompany Connector
namespace: Microsoft.Intercompany.DataExchange
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 38
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 6
  implements: 0
---

# Codeunit 560 "CrossIntercompany Connector"

> Codeunit 560 "CrossIntercompany Connector" in Base Application (Microsoft.Intercompany.DataExchange). 19 public procedures. Present since at least BC23, still in BC30, changed in BC25, BC27-28.

Base Application · Microsoft.Intercompany.DataExchange · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Intercompany/DataExchange/CrossIntercompanyConnector.Codeunit.al) · facts from BC29

## Procedures

- `TestICPartnerSetup(var TempICPartner: Record "IC Partner" temporary): Boolean` (internal)
- `FinishICPartnerSetup(var TempICPartner: Record "IC Partner" temporary): Boolean` (internal)
- `RequestICPartnerRecordsFromEntityName(ICPartner: Record "IC Partner"; EntityName: Text): JsonArray` (internal)
- `RequestICPartnerGeneralLedgerSetup(ICPartner: Record "IC Partner"): JsonArray` (internal)
- `RequestICPartnerCompanyInformation(ICPartner: Record "IC Partner"): JsonArray` (internal)
- `RequestICPartnerCompany(ICPartner: Record "IC Partner"): JsonObject` (internal)
- `RequestICPartnerBankAccount(ICPartner: Record "IC Partner"): JsonArray` (internal)
- `RequestICPartnerICOutgoingNotification(ICPartner: Record "IC Partner"; OperationID: Guid; var ResponseJsonObject: JsonObject)` (internal)
- `SubmitRecordsToICPartnerFromEntityName(ICPartner: Record "IC Partner"; Content: Text; EntityName: Text; JsonFieldKey: Text; JsonFieldExpectedValue: Text): Boolean`: Submits record data to an intercompany partner via API using entity name routing. Validates response against expected JSON field values for operation confirmation.
- `SubmitRecordsToICPartnerFromEntityName(ICPartner: Record "IC Partner"; Content: Text; EntityName: Text; var ResultResponse: JsonObject)`: Submits record data to an intercompany partner via API and returns the full response object. Provides complete response data for detailed processing and error handling.
- `NotifyICPartnerFromBoundAction(ICPartner: Record "IC Partner"; EntityID: Guid; BoundActionName: Text)` (internal)
- `SubmitJobQueueEntryToICPartner(ICPartner: Record "IC Partner"; Content: Text; JsonFieldKey: Text; JsonFieldExpectedValue: Text): Boolean`: Submits job queue entry data to intercompany partner via API and validates response. Processes asynchronous operations and verifies completion status from partner system.
- `Send(Method: Text; Uri: Text; Content: Text; var HttpResponseBodyText: Text; var ICPartner: Record "IC Partner")` (internal)
- `GetBearerAccessToken(var ICPartner: Record "IC Partner"): SecretText` (internal)
- `AcquireBearerAccessToken(var ICPartner: Record "IC Partner"): SecretText` (internal)
- `IsDestinationUrlTrusted(DestinationUrl: Text): Boolean` (internal)
- `IsDestinationUrlAllowed(DestinationUrl: Text; ExpectedHostSuffix: Text): Boolean` (internal)
- `GetValidatedTokenEndpointForAuthority(ConfiguredTokenEndpoint: Text; AuthorityPrefix: Text): Text` (internal)
- `RemoveCurlyBracketsAndUpperCases(Input: Guid): Text` (internal)

Plus 19 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 3060 "Uri"](../codeunit/3060.md) (8 calls: `GetHostFromUrl → GetHost`, `GetHostFromUrl → Init`, `GetHostFromUrl → IsValidUri`, …)
- [Codeunit 9005 "Url Helper"](../codeunit/9005.md) (4 calls: `GetValidatedTokenEndpoint → IsPPE`, `GetValidatedTokenEndpoint → IsPROD`, `IsDestinationUrlTrusted → IsPPE`, …)
- [Codeunit 501 "OAuth2"](../codeunit/501.md) (2 calls: `AcquireBearerAccessToken → AcquireTokenWithClientCredentials`, `AcquireBearerAccessToken → GetDefaultRedirectURL`)
- [Codeunit 3960 "Regex"](../codeunit/3960.md) (1 call: `IsValidTenantIdentifier → IsMatch`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (1 call: `AcquireBearerAccessToken → IsSaaSInfrastructure`)
- [Codeunit 537 "IC API Log Context"](../codeunit/537.md) (1 call: `Send → RecordLogEntry`)

## Called by

- [Codeunit 561 "IC Data Exchange API"](../codeunit/561.md) (8 calls: `CreateJsonContentFromICIncomingNotification → RemoveCurlyBracketsAndUpperCases`, `CreateJsonContentFromICOutgoingNotification → RemoveCurlyBracketsAndUpperCases`, `GetICPartnerBankAccount → RequestICPartnerBankAccount`, …)
- [Codeunit 534 "IC Read Notification JR"](../codeunit/534.md) (2 calls: `CleanupNotifications → NotifyICPartnerFromBoundAction`, `ReadNotification → RequestICPartnerICOutgoingNotification`)
- [Page 561 "CrossIntercomp. Partner Setup"](../page/561.md) (2 calls: `LoadSaaSDataForCurrentCompany → RemoveCurlyBracketsAndUpperCases`, `ValidateDynamicsUrl → IsDestinationUrlTrusted`)
- [Page 565 "CrossIntercompany Modify Setup"](../page/565.md) (2 calls: `AreNewConnectionDetailsValid → FinishICPartnerSetup`, `AreNewConnectionDetailsValid → TestICPartnerSetup`)
- [Codeunit 533 "IC New Notification JR"](../codeunit/533.md) (1 call: `SendNotification → SubmitRecordsToICPartnerFromEntityName`)
- [Page 566 "IC Connection Details"](../page/566.md) (1 call: `OnOpenPage → RemoveCurlyBracketsAndUpperCases`)

## Recent changes

- 2026-09-14 [#11378 [29.x][InterCompany][SII] Setup and telemetry enhancements](../../changes/bcapps/11378.md) (releases/29.x, BC29, feature)
- 2026-09-10 [#11016 [AI Business Solutions] Enforce allow-listed Redirect URIs, token audiences and authorities for OAuth2 integrations](../../changes/bcapps/11016.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25, BC27-28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "CrossIntercompany Connector")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
