---
id: object/xmlport/12
type: object
title: XMLport 12 "IC Outbox Imp/Exp"
summary: XMLport 12 "IC Outbox Imp/Exp" in Base Application (Microsoft.Intercompany.Outbox). 14 public procedures. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - xmlport
  - base application
versions:
  introduced: null
  last_changed: null
  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: 0687a93756283609aeebf8b35060cc8f3b9c987861015c0394401c808235c2cb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Intercompany/Outbox/ICOutboxImpExp.XmlPort.al
    title: src/Layers/W1/BaseApp/Finance/Intercompany/Outbox/ICOutboxImpExp.XmlPort.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: xmlport
object_id: 12
name: IC Outbox Imp/Exp
namespace: Microsoft.Intercompany.Outbox
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 15
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# XMLport 12 "IC Outbox Imp/Exp"

> XMLport 12 "IC Outbox Imp/Exp" in Base Application (Microsoft.Intercompany.Outbox). 14 public procedures. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | IC Outbox Imp/Exp |

## Procedures

- `SetICOutboxTrans(var NewICOutboxTrans: Record "IC Outbox Transaction")`: Sets up the XmlPort for export by copying outbox transaction data to internal tables. Prepares all related transaction data including journal lines, sales documents, purchase documents, and dimensions.
- `GetICOutboxTrans(var NewICOutboxTrans: Record "IC Outbox Transaction")`: Retrieves all IC outbox transaction records and inserts them into the provided record variable.
- `GetICOutBoxJnlLine(var NewICOutBoxJnlLine: Record "IC Outbox Jnl. Line")`: Retrieves all IC outbox journal line records and inserts them into the provided record variable.
- `GetICIOBoxJnlDim(var NewICIOBoxJnlDim: Record "IC Inbox/Outbox Jnl. Line Dim.")`: Retrieves all IC inbox/outbox journal line dimension records and inserts them into the provided record variable.
- `GetICOutBoxSalesHdr(var NewICOutBoxSalesHdr: Record "IC Outbox Sales Header")`: Retrieves all IC outbox sales header records and inserts them into the provided record variable.
- `GetICOutBoxSalesLine(var NewICOutBoxSalesLine: Record "IC Outbox Sales Line")`: Retrieves all IC outbox sales line records and inserts them into the provided record variable.
- `GetICOutBoxPurchHdr(var NewICOutBoxPurchHdr: Record "IC Outbox Purchase Header")`: Retrieves all IC outbox purchase header records and inserts them into the provided record variable.
- `GetICOutBoxPurchLine(var NewICOutBoxPurchLine: Record "IC Outbox Purchase Line")`: Retrieves all IC outbox purchase line records and inserts them into the provided record variable.
- `GetICSalesDocDim(var NewICDocDim: Record "IC Document Dimension")`: Retrieves IC sales document dimension records and transfers them to the provided record variable.
- `GetICSalesDocLineDim(var NewICDocDim: Record "IC Document Dimension")`: Retrieves IC sales document line dimension records and transfers them to the provided record variable.
- `GetICPurchDocDim(var NewICDocDim: Record "IC Document Dimension")`: Retrieves IC purchase document dimension records and transfers them to the provided record variable.
- `GetICPurchDocLineDim(var NewICDocDim: Record "IC Document Dimension")`: Retrieves IC purchase document line dimension records and transfers them to the provided record variable.
- `GetFromICPartnerCode(): Code[20]`: Returns the source IC partner code for the import/export operation.
- `GetToICPartnerCode(): Code[20]`: Returns the destination IC partner code for the import/export operation.

Plus 1 local procedures.

## Triggers

OnPreXmlPort

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

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). 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: "xmlport", object_name: "IC Outbox Imp/Exp")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
