Feature Overview
On the IC Partner Card in the Supply Company, each Sales Company partner has its own set of automation, pricing, and fulfilment settings. These settings decide what happens the moment an IC sales order arrives from the Sales Company: whether it is released automatically, whether shipments and invoices are created and posted without human intervention, and which prices the Supply Company applies to the resulting sales order. Because everything is configured per partner, a Supply Company that trades with multiple Sales Companies can apply different fulfilment rules to each one. The web service connection — configured through the IC Partner Web Service Setup wizard using OAuth 2.0 via a Microsoft Entra application — is also managed on this card.
Inbox automation covers the full order-to-cash flow for inbound IC sales orders. When an IC order arrives in the Supply Company's inbox, the app can release it immediately, post a shipment, post and invoice in a single step, or hold it for manual review. Credit memo handling follows the same pattern: when a credit memo arrives the Supply Company can accept it automatically. The Post Sales Order field drives the posting step and offers three choices — no automatic posting, post shipment only, or post shipment and invoice together. The Auto import inbox field controls whether the inbox is processed on a job queue, in real time via web service, or left for manual handling. All of these flags work independently, so a Supply Company can, for example, auto-release and auto-ship but still review and post invoices manually.
Pricing gives the Supply Company control over how unit prices are set on the created sales order. Three options are available on the IC Unit Price field: use the Supply Company's own normal sales prices, accept the price as sent in the IC document from the Sales Company, or apply zero-profit pricing where the unit price is set equal to the item's unit cost. The IC Discount % and IC Discount Type fields (configured on the Sales Company side) determine whether a discount is sent as a percentage on the purchase price or the sale price. Ship-to address handling completes the picture: when the Sales Company includes a ship-to code on an IC purchase order, that code and its full address are automatically created or updated on the Supply Company's customer record the moment the inbox document is accepted, ensuring that the correct delivery address is set on the supply-side sales order without any manual data entry.
Key Facts
| Item | Detail |
|---|---|
| Where to configure | IC Partner Card, opened in the Supply Company |
| Which partner to select | The Sales Company partner record |
| Web service setup wizard | IC Partner Web Service Setup (launched from "Connect Externally" action) |
| Update existing connection | Intercompany External Setup (launched from "Modify External Setup" action) |
| Authentication method | OAuth 2.0 via Microsoft Entra application |
| Inbox automation scope | New sales orders, order updates, credit memos, return orders |
| Post Sales Order options | (blank — no auto-post), Ship, Ship and Invoice |
| Post Sales Return Order options | (blank — no auto-post), Receive, Receive and Invoice |
| Pricing options | Use normal sales prices / Accept prices from IC customer / Zero Profit |
| Auto import inbox options | No Handling / Handle with Job Queue / Handle with Web Service |
| Ship-to address flow | Code + full address travel in the IC document; created/updated automatically on acceptance |
| Digital voucher | Optional PDF attachment generated on posted invoices and credit memos |
| Date calculation | Available to Promise (ATP) or Capable to Promise (CTP) applied on order creation |
Getting Started
Step 1 — Open the IC Partner Card for the Sales Company partner.
In the Supply Company, search for IC Partners and open the card for the partner that represents the Sales Company. All automation, pricing, and connection settings described in this article are configured on this card.
Step 2 — Run the Connection Setup Guide.
Choose the "Connect Externally" action (or select "Connection Setup Guide" from the IC Partner menu). This launches the IC Partner Web Service Setup wizard. The wizard displays your own company's Connection URL, Web Service Instance, Web Service Tenant, and Company Name at the top — have these ready to share with the Sales Company administrator if this is a new connection.
Step 3 — Enter the Sales Company's connection details.
In the wizard, provide the Sales Company's Connection URL, Web Service Instance, Web Service Tenant, IC Partner Intercompany ID, and Company Name. These values are available from the same wizard when opened in the Sales Company.
Step 4 — Enter the Microsoft Entra authentication details.
Provide the Client ID, Client Secret, Token Endpoint, and Redirect URL for the Microsoft Entra application registered for this IC connection. The Token Endpoint typically follows the pattern https://login.microsoftonline.com/<tenantID>/oauth2/v2.0/token and the Redirect URL is typically https://businesscentral.dynamics.com/OAuthLanding.htm.
Step 5 — Test the connection and finish.
On the Test Connection step of the wizard, choose "Test Connection". The app calls the Sales Company's web service and confirms that authentication succeeds. After a successful test, choose Next and then Finish to save the connection. To update an existing connection without running the full wizard, choose "Modify External Setup" from the IC Partner menu — this opens the Intercompany External Setup dialog where individual fields such as the Connection URL, Client ID, or Client Secret can be updated and tested in place.
Step 6 — Configure inbox automation flags.
In the Inbox group on the IC Partner Card, set the options that control what happens when an IC sales order or credit memo arrives:
- Auto Release Inbound Sales — switches the created sales order to Released status automatically so warehouse and shipping processes can start without manual intervention.
- Post Sales Order — choose blank (no automatic posting), "Ship" (post shipment only), or "Ship and Invoice" (post shipment and invoice in one step).
- Auto create cr.memos — when enabled, posting a sales credit memo automatically creates an IC outbox transaction to notify the Sales Company.
Step 7 — Configure Auto import inbox.
Set "Auto import inbox" to control how the inbox is processed:
- No Handling — incoming transactions wait for a user to process them manually.
- Handle with Job Queue — a job queue entry processes inbox transactions on a schedule.
- Handle with Web Service — transactions are processed in real time as the Sales Company pushes them through the web service.
Step 8 — Configure IC Unit Price.
In the Inbox group, set "IC Unit Price" to one of:
- Use normal sales prices — the Supply Company's standard sales price list is applied to each line.
- Accept prices from IC customer — the unit price sent in the IC document from the Sales Company is applied directly to the sales order lines. The app calculates the unit price from the amount including VAT sent in the IC document, taking the Sales Company's discount into account.
- Zero Profit — the unit price on the sales order is set equal to the item's unit cost, resulting in no margin for the Supply Company.
Step 9 — Configure outbox automation (shipments and invoices).
In the Outbox group on the IC Partner Card, set the flags that control what the Supply Company pushes back to the Sales Company after fulfilment:
- Auto create shipments — automatically creates an IC outbox transaction when a sales shipment is posted.
- Auto create invoices — automatically creates an IC outbox transaction when a sales invoice is posted, and sends any attachments to the Sales Company.
- Auto create cr.memos — automatically creates an IC outbox transaction when a sales credit memo is posted.
Step 10 — Configure ship-to address handling.
No special configuration is required on the Supply Company side. When the Sales Company includes a ship-to code on the IC purchase order, the app automatically creates or updates the matching ship-to address on the Supply Company's customer record when the inbox document is accepted. The address details (name, street, city, post code, country, contact, phone, email) all travel with the IC document. Review created addresses on the customer's Ship-to Addresses list.
Step 11 — Configure Inbound Sales Order Dates (optional).
In the Inbox group, set "Inbound Sales Order Dates" if you want the app to calculate a realistic promised delivery date when a new IC sales order is created. "Available to Promise (ATP)" uses inventory availability; "Capable to Promise (CTP)" includes production capacity. The default is ATP.
Step 12 — Configure Generate Digital Voucher (optional).
Enable "Generate Digital Voucher" if you want a PDF representation of each posted IC sales invoice and credit memo to be generated and attached as an incoming document. A confirmation message is displayed when enabling this field. This setting requires the standard Digital Voucher Setup to be enabled in the Supply Company.
Related Features
The IC Partner Card in the Sales Company mirrors several settings that affect what reaches the Supply Company. Fields such as IC Discount %, IC Discount Type, and Auto Release Outbound Purch are configured on the Sales Company side and influence what is sent in the IC document; these are covered in the article "Configuring an IC Partner (Sales Company)". The "Allow Remote Synchronization of IC Prices" flag on the Supply Company's IC Partner Card enables the Supply Company to push updated IC prices back to the Sales Company's purchase orders, bridging pricing configuration across both sides. The Inbound Sales Order Dates setting (ATP/CTP) works together with BC's standard Order Promising functionality and requires that item availability parameters are set up correctly in the Supply Company. Digital Voucher generation depends on BC's standard Digital Voucher Setup being active in the Supply Company; without that prerequisite the "Generate Digital Voucher" flag has no effect.
User Stories
Configure the web service connection from Supply Company to Sales Company partner
As a Supply Company administrator, I want to connect the IC Partner Card to the Sales Company's Business Central environment using the IC Partner Web Service Setup wizard, so that IC documents can be exchanged over web services in real time without relying on manual inbox file transfers.
The wizard walks through four steps: a welcome screen, an authentication setup screen where both the partner's connection details and the Entra app credentials are entered, a test connection step, and a finish step. Completing the wizard saves all connection credentials securely using isolated storage — no plain-text passwords are stored on the record.
Test the web service connection
As a Supply Company administrator, I want to run "Test Connection" from the IC Partner Card action menu or from within the connection setup wizard, so that I can confirm that OAuth 2.0 authentication is configured correctly and the Supply Company can reach the Sales Company's environment before any live IC documents are processed.
The test calls the Sales Company's web service using the saved credentials. A success message confirms that the connection is working. The test can be run at any time, not just during initial setup.
Update an existing web service connection (Intercompany External Setup)
As a Supply Company administrator, I want to update an existing web service connection without running the full four-step wizard, so that I can efficiently correct or rotate individual connection values such as the Client Secret or Connection URL after the initial setup.
Choosing "Modify External Setup" from the IC Partner menu opens the Intercompany External Setup dialog. This dialog displays the current Connection URL, Web Service Instance, Web Service Tenant, Company ID, Client ID, Client Secret, Token Endpoint, and Redirect URL all on one screen. Changing a field saves the new value immediately. A "Click here to test the connection" link inside the dialog lets the administrator verify the updated credentials without leaving the page.
Configure Auto Release Inbound Sales
As a Supply Company administrator, I want inbound IC sales orders to be released automatically when they are accepted from the inbox, so that no user has to manually release each order before warehouse picking, shipping, and posting processes can start.
When "Auto Release Inbound Sales" is enabled, the app runs the Release Sales Document codeunit immediately after the sales order is created or updated from the IC inbox document. Release only happens if the order is considered ready — it must have at least one non-blank item or G/L account line with a non-zero quantity, and if ATP or CTP date calculation is configured, the availability check must confirm that all lines can be fulfilled.
Configure Auto Create Sales Shipment
As a Supply Company administrator, I want a shipment IC outbox transaction to be created automatically every time a sales shipment is posted for this IC partner, so that the Sales Company receives the shipment notification immediately and can post the corresponding purchase receipt without manual steps.
When "Auto create shipments" is enabled in the Outbox group, posting a sales shipment triggers the creation of an IC outbox sales document transaction. The transaction contains the shipment lines with item references, quantities, variant codes, and line-level cross-references back to the Sales Company's purchase order and sales order numbers, giving the Sales Company everything it needs to match the receipt.
Configure Auto Create Sales Invoice
As a Supply Company administrator, I want an invoice IC outbox transaction to be created automatically every time a sales invoice is posted for this IC partner, so that the Sales Company's purchase invoice is created and ready for matching against the receipt without anyone in the Supply Company having to trigger it manually.
When "Auto create invoices" is enabled in the Outbox group, posting a sales invoice (whether from an order or as a standalone invoice) triggers the standard IC outbox invoice transaction and additionally sends any document-level attachments (including digital voucher PDFs if configured) to the Sales Company's environment.
Configure Auto Create Sales Credit Memo
As a Supply Company administrator, I want a credit memo IC outbox transaction to be created automatically every time a sales credit memo is posted for this IC partner, so that the Sales Company's purchase credit memo is kept in sync with the Supply Company's posted document without any manual export steps.
When "Auto create cr.memos" is enabled in the Outbox group, posting a sales credit memo triggers both the IC outbox credit memo transaction and the transfer of any attachments to the Sales Company. The corresponding field in the Inbox group controls whether an incoming IC credit memo document (sent from the Sales Company) is auto-accepted on the Supply Company side.
Configure Post Sales Order options
As a Supply Company administrator, I want to control whether accepted IC sales orders are posted automatically and to what extent, so that I can choose the right level of automation for my fulfilment process.
The Post Sales Order field offers three options:
- (blank) — no automatic posting; the sales order is created (and optionally released) but posting is left to the warehouse or finance team.
- Ship — the sales order is automatically posted as shipped immediately after creation or update from the IC inbox. A sales shipment is created and posted. The invoice is not posted automatically.
- Ship and Invoice — the sales order is automatically posted as shipped and invoiced in a single step. Both a sales shipment and a sales invoice are created and posted. This option is logged as a feature usage event for telemetry purposes.
Automatic posting only runs when the order is considered ready for release (correct availability and non-empty lines).
Configure IC Unit Price — Use Normal Sales Prices
As a Supply Company administrator, I want inbound IC sales orders to be priced using the Supply Company's standard sales price list, so that intercompany sales use exactly the same pricing rules as any other customer of the Supply Company and no special IC pricing agreement needs to be maintained separately.
When IC Unit Price is set to "Use normal sales prices", no price override is applied when the sales order is created from the IC inbox. The standard BC price calculation resolves the unit price based on the customer, item, quantity, and date — the same way it would for any manually entered sales order.
Configure IC Unit Price — Accept prices from IC customer
As a Supply Company administrator, I want to accept the unit price that the Sales Company sends in the IC document and apply it directly to the sales order lines in the Supply Company, so that the Sales Company controls the transfer price and the Supply Company's sales order reflects exactly the agreed amount.
When IC Unit Price is set to "Accept prices from IC customer", the app calculates the unit price from the "Amount Including VAT" field on the IC inbox sales line. It reverses the VAT percentage to arrive at the net price, accounts for any line discount amount, and divides by quantity. This makes the Supply Company's sales price equal to the price the Sales Company put on its purchase order. Any subsequent order updates from the Sales Company also overwrite the price using the same calculation.
Configure IC Unit Price — Zero Profit
As a Supply Company administrator, I want inbound IC sales orders to be priced at the item's unit cost with no margin, so that goods are transferred between group companies at cost for internal consolidation, eliminating intercompany profit from the group's consolidated accounts.
When IC Unit Price is set to "Zero Profit", the supply-side sales order line unit price is set equal to the item's unit cost. The practical effect is that the Supply Company records zero gross margin on the intercompany sale, which simplifies group consolidation by removing intercompany profit from inventory balances.
Configure IC Discount % and IC Discount Type
As a Supply Company administrator, I want to understand how the IC Discount % and IC Discount Type fields (configured on the Sales Company side) affect the supply-side purchase order that the Sales Company sends, so that I can verify the pricing that arrives on IC documents.
IC Discount % and IC Discount Type are set on the Sales Company's view of the IC Partner Card. They control what is sent from the Sales Company to the Supply Company in the IC purchase order:
- IC Discount Type = Sale Price — the Sales Company sends its own sale price to the Supply Company as the direct unit cost on the purchase line, and applies the IC Discount % as a line discount percentage on top. This requires "Accept prices from IC customer" to be set in the Supply Company for the price to be accepted.
- IC Discount Type = Purchase Price — the Sales Company sends the standard purchase price and applies the IC Discount % as a line discount on the purchase line.
Both options take effect only when IC Discount % is greater than zero.
Configure Allow Remote Synchronization of IC Prices
As a Supply Company administrator, I want to enable the Supply Company to push updated IC prices back to the Sales Company's purchase orders, so that if the Supply Company changes its price list the Sales Company's open purchase orders are updated automatically without anyone on the sales side having to re-enter prices.
When "Allow Remote Synchronization of IC Prices" is enabled on the IC Partner Card in the Supply Company, the app is permitted to synchronize IC prices from the Supply Company ("Inventory Company" in the code) to the Sales Company's IC purchase order. This field works in conjunction with the corresponding setting on the Sales Company side.
Handle ship-to addresses — flow from Sales Company to Supply Company
As a Supply Company administrator, I want ship-to codes and their full address details to be automatically created or updated on my customer record when an IC sales order is accepted from the inbox, so that the correct delivery address is set on every supply-side sales order without any manual data entry.
When the Sales Company creates a purchase order with a ship-to code, that code and the full address (name, name 2, address, address 2, post code, city, county, country/region code, contact, phone, fax, email) are included in the IC inbox document. When the Supply Company accepts the transaction, the app looks up whether a ship-to address with that code already exists on the customer record. If not, it inserts a new record; if it exists, it updates all address fields with the latest values from the IC document. The sales order's ship-to code is then set to the code from the IC document so the delivery address on the order is always current.
Configure Generate Digital Voucher on posted invoices and credit memos
As a Supply Company administrator, I want a PDF digital voucher to be generated and attached to each posted IC sales invoice and credit memo, so that there is always a document-level PDF attached to every intercompany posting for audit and compliance purposes.
When "Generate Digital Voucher" is enabled on the IC Partner Card, the app calls BC's standard Digital Voucher generation logic after posting an IC sales invoice or credit memo. A confirmation message is shown when enabling the field to make the user aware that every subsequent IC posting will generate an attachment. The field has no effect unless BC's standard Digital Voucher Setup is active in the Supply Company.
Configure ATP/CTP date handling (Inbound Sales Order Dates)
As a Supply Company administrator, I want the app to calculate a realistic promised delivery date when a new IC sales order is created from the inbox, so that the date sent back to the Sales Company in the order confirmation reflects actual stock or production availability rather than the date the Sales Company requested.
The "Inbound Sales Order Dates" field controls the date calculation method:
- (blank) — no date recalculation; the requested delivery date from the Sales Company is used as-is.
- Available to Promise (ATP) — BC's availability-to-promise calculation is run on order creation and after each order update. If all lines can be shipped by or before the requested date, the order is considered ready for release; if not, the earliest shipment and planned delivery dates are adjusted to the first date when stock is available.
- Capable to Promise (CTP) — BC's capable-to-promise calculation is run, factoring in production capacity in addition to inventory. This requires that production planning is configured in the Supply Company.
Both ATP and CTP are also run on order updates (when the Sales Company changes the order). The result determines whether "Auto Release Inbound Sales" fires and whether "Post Sales Order" posting proceeds.
Configure Auto import inbox
As a Supply Company administrator, I want to control how the IC inbox is processed for this partner, so that I can choose between manual handling, scheduled background processing, and real-time processing depending on the volume and urgency of IC transactions.
The "Auto import inbox" field on the IC Partner Card has three options:
- No Handling — incoming IC transactions are placed in the inbox and wait for a user to open the IC Inbox Transactions page and manually accept or reject them.
- Handle with Job Queue — when a transaction arrives, the app schedules a job queue entry (category SCBIC) to process it. If a worker entry is already ready or in process, the existing entry is used or its start time is moved forward; otherwise a new non-recurring entry is created. This provides near-real-time processing without requiring a permanently running background session.
- Handle with Web Service — transactions are processed in real time as the Sales Company pushes them through the web service call. This delivers the lowest latency but requires that the web service endpoint is always available.
Field Reference
IC Partner Card — Supply Company-relevant fields
| Caption | Description |
|---|---|
| Auto import inbox | Controls how incoming IC transactions from this partner are processed. Options: No Handling, Handle with Job Queue, Handle with Web Service. |
| Auto Release Inbound Sales | When enabled, IC sales orders created from the inbox are automatically released, provided availability checks (if configured) pass. |
| Post Sales Order | Controls automatic posting of IC sales orders. Options: (blank — no auto-post), Ship, Ship and Invoice. |
| Post Sales Return Order | Controls automatic posting of IC sales return orders. Options: (blank — no auto-post), Receive, Receive and Invoice. |
| Post IC Journal Lines | When enabled, intercompany journal lines created from an accepted inbox transaction are automatically posted. |
| IC General Journal Template Name | Specifies the intercompany journal template used when IC journal lines are created. |
| IC General Journal Batch Name | Specifies the intercompany journal batch used when IC journal lines are created. |
| IC Unit Price | Determines how unit prices are set on the supply-side sales order. Options: Use normal sales prices, Accept prices from IC customer, Zero Profit. |
| Allow Remote Synchronization of IC Prices | When enabled, updated IC prices can be pushed from the Supply Company to the Sales Company's open purchase orders. |
| Inbound Sales Order Dates | Sets the date calculation method for new IC sales orders. Options: (blank), Available to Promise (ATP), Capable to Promise (CTP). Default: ATP. |
| Auto create shipments | When enabled, posting a sales shipment automatically creates an IC outbox transaction to notify the Sales Company. |
| Auto create invoices | When enabled, posting a sales invoice automatically creates an IC outbox transaction and sends any attachments to the Sales Company. |
| Auto create cr.memos | When enabled, posting a sales credit memo automatically creates an IC outbox transaction to notify the Sales Company. |
| Auto create return receipts | When enabled, posting a return receipt automatically creates an IC outbox transaction. |
| Auto create ret.orders | When enabled, incoming IC return orders are processed automatically. |
| Generate Digital Voucher | When enabled, a PDF digital voucher is generated and attached to posted IC invoices and credit memos. Requires Digital Voucher Setup to be active in the company. |
| Edit Variant | When enabled, the Supply Company is permitted to change the variant code on inbound IC sales order lines. |
| Edit Quantity | When enabled, the Supply Company is permitted to change the quantity on inbound IC sales order lines. |
Remote Ship-to Addresses
The ship-to address table stores the Sales Company's customer ship-to codes on the Supply Company side. Records are created or updated automatically when an IC document carrying a ship-to code is accepted from the inbox. The table can also be viewed from the standard Ship-to Addresses list on the customer card.
| Caption | Description |
|---|---|
| Customer No. | The customer number on the Supply Company side that this ship-to address belongs to. |
| Code | Short code identifying the ship-to address, matching the code sent by the Sales Company in the IC document. |
| Name | Delivery address name. |
| Name 2 | Second line of the delivery address name. |
| Address | Street address line 1. |
| Address 2 | Street address line 2. |
| City | City. |
| Post Code | Postal code. |
| County | County or state. |
| Country/Region Code | Country or region. |
| Contact | Contact person at the delivery address. |
| Phone No. | Phone number for the delivery address. |
| Fax No. | Fax number for the delivery address. |
| Email address for the delivery contact. | |
| Home Page | Website for the delivery address. |
| Location Code | Inventory location associated with this ship-to address on the Supply Company side. |
| Shipment Method Code | Default shipment method for deliveries to this address. |
| Shipping Agent Code | Default shipping agent for deliveries to this address. |
| Shipping Agent Service Code | Default shipping agent service level for deliveries to this address. |
| Service Zone Code | Service zone for the delivery address. |
| Tax Area Code | Tax area code applicable to this delivery address. |
| Tax Liable | Indicates whether this ship-to address is subject to tax. |
| Last Date Modified | Date the record was last changed. |
Feature Overview
On the IC Partner Card in the Supply Company, each Sales Company partner has its own set of automation, pricing, and fulfilment settings. These settings decide what happens the moment an IC sales order arrives from the Sales Company: whether it is released automatically, whether shipments and invoices are created and posted without human intervention, and which prices the Supply Company applies to the resulting sales order. Because everything is configured per partner, a Supply Company that trades with multiple Sales Companies can apply different fulfilment rules to each one. The web service connection — configured through the IC Partner Web Service Setup wizard using OAuth 2.0 via a Microsoft Entra application — is also managed on this card.
Inbox automation covers the full order-to-cash flow for inbound IC sales orders. When an IC order arrives in the Supply Company's inbox, the app can release it immediately, post a shipment, post and invoice in a single step, or hold it for manual review. Credit memo handling follows the same pattern: when a credit memo arrives the Supply Company can accept it automatically. The Post Sales Order field drives the posting step and offers three choices — no automatic posting, post shipment only, or post shipment and invoice together. The Auto import inbox field controls whether the inbox is processed on a job queue, in real time via web service, or left for manual handling. All of these flags work independently, so a Supply Company can, for example, auto-release and auto-ship but still review and post invoices manually.
Pricing gives the Supply Company control over how unit prices are set on the created sales order. Three options are available on the IC Unit Price field: use the Supply Company's own normal sales prices, accept the price as sent in the IC document from the Sales Company, or apply zero-profit pricing where the unit price is set equal to the item's unit cost. The IC Discount % and IC Discount Type fields (configured on the Sales Company side) determine whether a discount is sent as a percentage on the purchase price or the sale price. Ship-to address handling completes the picture: when the Sales Company includes a ship-to code on an IC purchase order, that code and its full address are automatically created or updated on the Supply Company's customer record the moment the inbox document is accepted, ensuring that the correct delivery address is set on the supply-side sales order without any manual data entry.
Key Facts
| Item | Detail |
|---|---|
| Where to configure | IC Partner Card, opened in the Supply Company |
| Which partner to select | The Sales Company partner record |
| Web service setup wizard | IC Partner Web Service Setup (launched from "Connect Externally" action) |
| Update existing connection | Intercompany External Setup (launched from "Modify External Setup" action) |
| Authentication method | OAuth 2.0 via Microsoft Entra application |
| Inbox automation scope | New sales orders, order updates, credit memos, return orders |
| Post Sales Order options | (blank — no auto-post), Ship, Ship and Invoice |
| Post Sales Return Order options | (blank — no auto-post), Receive, Receive and Invoice |
| Pricing options | Use normal sales prices / Accept prices from IC customer / Zero Profit |
| Auto import inbox options | No Handling / Handle with Job Queue / Handle with Web Service |
| Ship-to address flow | Code + full address travel in the IC document; created/updated automatically on acceptance |
| Digital voucher | Optional PDF attachment generated on posted invoices and credit memos |
| Date calculation | Available to Promise (ATP) or Capable to Promise (CTP) applied on order creation |
Getting Started
Step 1 — Open the IC Partner Card for the Sales Company partner.
In the Supply Company, search for IC Partners and open the card for the partner that represents the Sales Company. All automation, pricing, and connection settings described in this article are configured on this card.
Step 2 — Run the Connection Setup Guide.
Choose the "Connect Externally" action (or select "Connection Setup Guide" from the IC Partner menu). This launches the IC Partner Web Service Setup wizard. The wizard displays your own company's Connection URL, Web Service Instance, Web Service Tenant, and Company Name at the top — have these ready to share with the Sales Company administrator if this is a new connection.
Step 3 — Enter the Sales Company's connection details.
In the wizard, provide the Sales Company's Connection URL, Web Service Instance, Web Service Tenant, IC Partner Intercompany ID, and Company Name. These values are available from the same wizard when opened in the Sales Company.
Step 4 — Enter the Microsoft Entra authentication details.
Provide the Client ID, Client Secret, Token Endpoint, and Redirect URL for the Microsoft Entra application registered for this IC connection. The Token Endpoint typically follows the pattern https://login.microsoftonline.com/<tenantID>/oauth2/v2.0/token and the Redirect URL is typically https://businesscentral.dynamics.com/OAuthLanding.htm.
Step 5 — Test the connection and finish.
On the Test Connection step of the wizard, choose "Test Connection". The app calls the Sales Company's web service and confirms that authentication succeeds. After a successful test, choose Next and then Finish to save the connection. To update an existing connection without running the full wizard, choose "Modify External Setup" from the IC Partner menu — this opens the Intercompany External Setup dialog where individual fields such as the Connection URL, Client ID, or Client Secret can be updated and tested in place.
Step 6 — Configure inbox automation flags.
In the Inbox group on the IC Partner Card, set the options that control what happens when an IC sales order or credit memo arrives:
- Auto Release Inbound Sales — switches the created sales order to Released status automatically so warehouse and shipping processes can start without manual intervention.
- Post Sales Order — choose blank (no automatic posting), "Ship" (post shipment only), or "Ship and Invoice" (post shipment and invoice in one step).
- Auto create cr.memos — when enabled, posting a sales credit memo automatically creates an IC outbox transaction to notify the Sales Company.
Step 7 — Configure Auto import inbox.
Set "Auto import inbox" to control how the inbox is processed:
- No Handling — incoming transactions wait for a user to process them manually.
- Handle with Job Queue — a job queue entry processes inbox transactions on a schedule.
- Handle with Web Service — transactions are processed in real time as the Sales Company pushes them through the web service.
Step 8 — Configure IC Unit Price.
In the Inbox group, set "IC Unit Price" to one of:
- Use normal sales prices — the Supply Company's standard sales price list is applied to each line.
- Accept prices from IC customer — the unit price sent in the IC document from the Sales Company is applied directly to the sales order lines. The app calculates the unit price from the amount including VAT sent in the IC document, taking the Sales Company's discount into account.
- Zero Profit — the unit price on the sales order is set equal to the item's unit cost, resulting in no margin for the Supply Company.
Step 9 — Configure outbox automation (shipments and invoices).
In the Outbox group on the IC Partner Card, set the flags that control what the Supply Company pushes back to the Sales Company after fulfilment:
- Auto create shipments — automatically creates an IC outbox transaction when a sales shipment is posted.
- Auto create invoices — automatically creates an IC outbox transaction when a sales invoice is posted, and sends any attachments to the Sales Company.
- Auto create cr.memos — automatically creates an IC outbox transaction when a sales credit memo is posted.
Step 10 — Configure ship-to address handling.
No special configuration is required on the Supply Company side. When the Sales Company includes a ship-to code on the IC purchase order, the app automatically creates or updates the matching ship-to address on the Supply Company's customer record when the inbox document is accepted. The address details (name, street, city, post code, country, contact, phone, email) all travel with the IC document. Review created addresses on the customer's Ship-to Addresses list.
Step 11 — Configure Inbound Sales Order Dates (optional).
In the Inbox group, set "Inbound Sales Order Dates" if you want the app to calculate a realistic promised delivery date when a new IC sales order is created. "Available to Promise (ATP)" uses inventory availability; "Capable to Promise (CTP)" includes production capacity. The default is ATP.
Step 12 — Configure Generate Digital Voucher (optional).
Enable "Generate Digital Voucher" if you want a PDF representation of each posted IC sales invoice and credit memo to be generated and attached as an incoming document. A confirmation message is displayed when enabling this field. This setting requires the standard Digital Voucher Setup to be enabled in the Supply Company.
Related Features
The IC Partner Card in the Sales Company mirrors several settings that affect what reaches the Supply Company. Fields such as IC Discount %, IC Discount Type, and Auto Release Outbound Purch are configured on the Sales Company side and influence what is sent in the IC document; these are covered in the article "Configuring an IC Partner (Sales Company)". The "Allow Remote Synchronization of IC Prices" flag on the Supply Company's IC Partner Card enables the Supply Company to push updated IC prices back to the Sales Company's purchase orders, bridging pricing configuration across both sides. The Inbound Sales Order Dates setting (ATP/CTP) works together with BC's standard Order Promising functionality and requires that item availability parameters are set up correctly in the Supply Company. Digital Voucher generation depends on BC's standard Digital Voucher Setup being active in the Supply Company; without that prerequisite the "Generate Digital Voucher" flag has no effect.
User Stories
Configure the web service connection from Supply Company to Sales Company partner
As a Supply Company administrator, I want to connect the IC Partner Card to the Sales Company's Business Central environment using the IC Partner Web Service Setup wizard, so that IC documents can be exchanged over web services in real time without relying on manual inbox file transfers.
The wizard walks through four steps: a welcome screen, an authentication setup screen where both the partner's connection details and the Entra app credentials are entered, a test connection step, and a finish step. Completing the wizard saves all connection credentials securely using isolated storage — no plain-text passwords are stored on the record.
Test the web service connection
As a Supply Company administrator, I want to run "Test Connection" from the IC Partner Card action menu or from within the connection setup wizard, so that I can confirm that OAuth 2.0 authentication is configured correctly and the Supply Company can reach the Sales Company's environment before any live IC documents are processed.
The test calls the Sales Company's web service using the saved credentials. A success message confirms that the connection is working. The test can be run at any time, not just during initial setup.
Update an existing web service connection (Intercompany External Setup)
As a Supply Company administrator, I want to update an existing web service connection without running the full four-step wizard, so that I can efficiently correct or rotate individual connection values such as the Client Secret or Connection URL after the initial setup.
Choosing "Modify External Setup" from the IC Partner menu opens the Intercompany External Setup dialog. This dialog displays the current Connection URL, Web Service Instance, Web Service Tenant, Company ID, Client ID, Client Secret, Token Endpoint, and Redirect URL all on one screen. Changing a field saves the new value immediately. A "Click here to test the connection" link inside the dialog lets the administrator verify the updated credentials without leaving the page.
Configure Auto Release Inbound Sales
As a Supply Company administrator, I want inbound IC sales orders to be released automatically when they are accepted from the inbox, so that no user has to manually release each order before warehouse picking, shipping, and posting processes can start.
When "Auto Release Inbound Sales" is enabled, the app runs the Release Sales Document codeunit immediately after the sales order is created or updated from the IC inbox document. Release only happens if the order is considered ready — it must have at least one non-blank item or G/L account line with a non-zero quantity, and if ATP or CTP date calculation is configured, the availability check must confirm that all lines can be fulfilled.
Configure Auto Create Sales Shipment
As a Supply Company administrator, I want a shipment IC outbox transaction to be created automatically every time a sales shipment is posted for this IC partner, so that the Sales Company receives the shipment notification immediately and can post the corresponding purchase receipt without manual steps.
When "Auto create shipments" is enabled in the Outbox group, posting a sales shipment triggers the creation of an IC outbox sales document transaction. The transaction contains the shipment lines with item references, quantities, variant codes, and line-level cross-references back to the Sales Company's purchase order and sales order numbers, giving the Sales Company everything it needs to match the receipt.
Configure Auto Create Sales Invoice
As a Supply Company administrator, I want an invoice IC outbox transaction to be created automatically every time a sales invoice is posted for this IC partner, so that the Sales Company's purchase invoice is created and ready for matching against the receipt without anyone in the Supply Company having to trigger it manually.
When "Auto create invoices" is enabled in the Outbox group, posting a sales invoice (whether from an order or as a standalone invoice) triggers the standard IC outbox invoice transaction and additionally sends any document-level attachments (including digital voucher PDFs if configured) to the Sales Company's environment.
Configure Auto Create Sales Credit Memo
As a Supply Company administrator, I want a credit memo IC outbox transaction to be created automatically every time a sales credit memo is posted for this IC partner, so that the Sales Company's purchase credit memo is kept in sync with the Supply Company's posted document without any manual export steps.
When "Auto create cr.memos" is enabled in the Outbox group, posting a sales credit memo triggers both the IC outbox credit memo transaction and the transfer of any attachments to the Sales Company. The corresponding field in the Inbox group controls whether an incoming IC credit memo document (sent from the Sales Company) is auto-accepted on the Supply Company side.
Configure Post Sales Order options
As a Supply Company administrator, I want to control whether accepted IC sales orders are posted automatically and to what extent, so that I can choose the right level of automation for my fulfilment process.
The Post Sales Order field offers three options:
- (blank) — no automatic posting; the sales order is created (and optionally released) but posting is left to the warehouse or finance team.
- Ship — the sales order is automatically posted as shipped immediately after creation or update from the IC inbox. A sales shipment is created and posted. The invoice is not posted automatically.
- Ship and Invoice — the sales order is automatically posted as shipped and invoiced in a single step. Both a sales shipment and a sales invoice are created and posted. This option is logged as a feature usage event for telemetry purposes.
Automatic posting only runs when the order is considered ready for release (correct availability and non-empty lines).
Configure IC Unit Price — Use Normal Sales Prices
As a Supply Company administrator, I want inbound IC sales orders to be priced using the Supply Company's standard sales price list, so that intercompany sales use exactly the same pricing rules as any other customer of the Supply Company and no special IC pricing agreement needs to be maintained separately.
When IC Unit Price is set to "Use normal sales prices", no price override is applied when the sales order is created from the IC inbox. The standard BC price calculation resolves the unit price based on the customer, item, quantity, and date — the same way it would for any manually entered sales order.
Configure IC Unit Price — Accept prices from IC customer
As a Supply Company administrator, I want to accept the unit price that the Sales Company sends in the IC document and apply it directly to the sales order lines in the Supply Company, so that the Sales Company controls the transfer price and the Supply Company's sales order reflects exactly the agreed amount.
When IC Unit Price is set to "Accept prices from IC customer", the app calculates the unit price from the "Amount Including VAT" field on the IC inbox sales line. It reverses the VAT percentage to arrive at the net price, accounts for any line discount amount, and divides by quantity. This makes the Supply Company's sales price equal to the price the Sales Company put on its purchase order. Any subsequent order updates from the Sales Company also overwrite the price using the same calculation.
Configure IC Unit Price — Zero Profit
As a Supply Company administrator, I want inbound IC sales orders to be priced at the item's unit cost with no margin, so that goods are transferred between group companies at cost for internal consolidation, eliminating intercompany profit from the group's consolidated accounts.
When IC Unit Price is set to "Zero Profit", the supply-side sales order line unit price is set equal to the item's unit cost. The practical effect is that the Supply Company records zero gross margin on the intercompany sale, which simplifies group consolidation by removing intercompany profit from inventory balances.
Configure IC Discount % and IC Discount Type
As a Supply Company administrator, I want to understand how the IC Discount % and IC Discount Type fields (configured on the Sales Company side) affect the supply-side purchase order that the Sales Company sends, so that I can verify the pricing that arrives on IC documents.
IC Discount % and IC Discount Type are set on the Sales Company's view of the IC Partner Card. They control what is sent from the Sales Company to the Supply Company in the IC purchase order:
- IC Discount Type = Sale Price — the Sales Company sends its own sale price to the Supply Company as the direct unit cost on the purchase line, and applies the IC Discount % as a line discount percentage on top. This requires "Accept prices from IC customer" to be set in the Supply Company for the price to be accepted.
- IC Discount Type = Purchase Price — the Sales Company sends the standard purchase price and applies the IC Discount % as a line discount on the purchase line.
Both options take effect only when IC Discount % is greater than zero.
Configure Allow Remote Synchronization of IC Prices
As a Supply Company administrator, I want to enable the Supply Company to push updated IC prices back to the Sales Company's purchase orders, so that if the Supply Company changes its price list the Sales Company's open purchase orders are updated automatically without anyone on the sales side having to re-enter prices.
When "Allow Remote Synchronization of IC Prices" is enabled on the IC Partner Card in the Supply Company, the app is permitted to synchronize IC prices from the Supply Company ("Inventory Company" in the code) to the Sales Company's IC purchase order. This field works in conjunction with the corresponding setting on the Sales Company side.
Handle ship-to addresses — flow from Sales Company to Supply Company
As a Supply Company administrator, I want ship-to codes and their full address details to be automatically created or updated on my customer record when an IC sales order is accepted from the inbox, so that the correct delivery address is set on every supply-side sales order without any manual data entry.
When the Sales Company creates a purchase order with a ship-to code, that code and the full address (name, name 2, address, address 2, post code, city, county, country/region code, contact, phone, fax, email) are included in the IC inbox document. When the Supply Company accepts the transaction, the app looks up whether a ship-to address with that code already exists on the customer record. If not, it inserts a new record; if it exists, it updates all address fields with the latest values from the IC document. The sales order's ship-to code is then set to the code from the IC document so the delivery address on the order is always current.
Configure Generate Digital Voucher on posted invoices and credit memos
As a Supply Company administrator, I want a PDF digital voucher to be generated and attached to each posted IC sales invoice and credit memo, so that there is always a document-level PDF attached to every intercompany posting for audit and compliance purposes.
When "Generate Digital Voucher" is enabled on the IC Partner Card, the app calls BC's standard Digital Voucher generation logic after posting an IC sales invoice or credit memo. A confirmation message is shown when enabling the field to make the user aware that every subsequent IC posting will generate an attachment. The field has no effect unless BC's standard Digital Voucher Setup is active in the Supply Company.
Configure ATP/CTP date handling (Inbound Sales Order Dates)
As a Supply Company administrator, I want the app to calculate a realistic promised delivery date when a new IC sales order is created from the inbox, so that the date sent back to the Sales Company in the order confirmation reflects actual stock or production availability rather than the date the Sales Company requested.
The "Inbound Sales Order Dates" field controls the date calculation method:
- (blank) — no date recalculation; the requested delivery date from the Sales Company is used as-is.
- Available to Promise (ATP) — BC's availability-to-promise calculation is run on order creation and after each order update. If all lines can be shipped by or before the requested date, the order is considered ready for release; if not, the earliest shipment and planned delivery dates are adjusted to the first date when stock is available.
- Capable to Promise (CTP) — BC's capable-to-promise calculation is run, factoring in production capacity in addition to inventory. This requires that production planning is configured in the Supply Company.
Both ATP and CTP are also run on order updates (when the Sales Company changes the order). The result determines whether "Auto Release Inbound Sales" fires and whether "Post Sales Order" posting proceeds.
Configure Auto import inbox
As a Supply Company administrator, I want to control how the IC inbox is processed for this partner, so that I can choose between manual handling, scheduled background processing, and real-time processing depending on the volume and urgency of IC transactions.
The "Auto import inbox" field on the IC Partner Card has three options:
- No Handling — incoming IC transactions are placed in the inbox and wait for a user to open the IC Inbox Transactions page and manually accept or reject them.
- Handle with Job Queue — when a transaction arrives, the app schedules a job queue entry (category SCBIC) to process it. If a worker entry is already ready or in process, the existing entry is used or its start time is moved forward; otherwise a new non-recurring entry is created. This provides near-real-time processing without requiring a permanently running background session.
- Handle with Web Service — transactions are processed in real time as the Sales Company pushes them through the web service call. This delivers the lowest latency but requires that the web service endpoint is always available.
Field Reference
IC Partner Card — Supply Company-relevant fields
| Caption | Description |
|---|---|
| Auto import inbox | Controls how incoming IC transactions from this partner are processed. Options: No Handling, Handle with Job Queue, Handle with Web Service. |
| Auto Release Inbound Sales | When enabled, IC sales orders created from the inbox are automatically released, provided availability checks (if configured) pass. |
| Post Sales Order | Controls automatic posting of IC sales orders. Options: (blank — no auto-post), Ship, Ship and Invoice. |
| Post Sales Return Order | Controls automatic posting of IC sales return orders. Options: (blank — no auto-post), Receive, Receive and Invoice. |
| Post IC Journal Lines | When enabled, intercompany journal lines created from an accepted inbox transaction are automatically posted. |
| IC General Journal Template Name | Specifies the intercompany journal template used when IC journal lines are created. |
| IC General Journal Batch Name | Specifies the intercompany journal batch used when IC journal lines are created. |
| IC Unit Price | Determines how unit prices are set on the supply-side sales order. Options: Use normal sales prices, Accept prices from IC customer, Zero Profit. |
| Allow Remote Synchronization of IC Prices | When enabled, updated IC prices can be pushed from the Supply Company to the Sales Company's open purchase orders. |
| Inbound Sales Order Dates | Sets the date calculation method for new IC sales orders. Options: (blank), Available to Promise (ATP), Capable to Promise (CTP). Default: ATP. |
| Auto create shipments | When enabled, posting a sales shipment automatically creates an IC outbox transaction to notify the Sales Company. |
| Auto create invoices | When enabled, posting a sales invoice automatically creates an IC outbox transaction and sends any attachments to the Sales Company. |
| Auto create cr.memos | When enabled, posting a sales credit memo automatically creates an IC outbox transaction to notify the Sales Company. |
| Auto create return receipts | When enabled, posting a return receipt automatically creates an IC outbox transaction. |
| Auto create ret.orders | When enabled, incoming IC return orders are processed automatically. |
| Generate Digital Voucher | When enabled, a PDF digital voucher is generated and attached to posted IC invoices and credit memos. Requires Digital Voucher Setup to be active in the company. |
| Edit Variant | When enabled, the Supply Company is permitted to change the variant code on inbound IC sales order lines. |
| Edit Quantity | When enabled, the Supply Company is permitted to change the quantity on inbound IC sales order lines. |
Remote Ship-to Addresses
The ship-to address table stores the Sales Company's customer ship-to codes on the Supply Company side. Records are created or updated automatically when an IC document carrying a ship-to code is accepted from the inbox. The table can also be viewed from the standard Ship-to Addresses list on the customer card.
| Caption | Description |
|---|---|
| Customer No. | The customer number on the Supply Company side that this ship-to address belongs to. |
| Code | Short code identifying the ship-to address, matching the code sent by the Sales Company in the IC document. |
| Name | Delivery address name. |
| Name 2 | Second line of the delivery address name. |
| Address | Street address line 1. |
| Address 2 | Street address line 2. |
| City | City. |
| Post Code | Postal code. |
| County | County or state. |
| Country/Region Code | Country or region. |
| Contact | Contact person at the delivery address. |
| Phone No. | Phone number for the delivery address. |
| Fax No. | Fax number for the delivery address. |
| Email address for the delivery contact. | |
| Home Page | Website for the delivery address. |
| Location Code | Inventory location associated with this ship-to address on the Supply Company side. |
| Shipment Method Code | Default shipment method for deliveries to this address. |
| Shipping Agent Code | Default shipping agent for deliveries to this address. |
| Shipping Agent Service Code | Default shipping agent service level for deliveries to this address. |
| Service Zone Code | Service zone for the delivery address. |
| Tax Area Code | Tax area code applicable to this delivery address. |
| Tax Liable | Indicates whether this ship-to address is subject to tax. |
| Last Date Modified | Date the record was last changed. |
