Table
LedgerInterCompany
Intercompany accounting
Sets up intercompany accounting between a pair of companies. The key is the originating and destination company. It stores the ledger accounts for each side, the journal to use, and which company posts items such as cash discount and exchange gain or loss.
- Table name
LedgerInterCompany- Module
General ledger- Table group
Group- Table type
Regular- Data per company
No- Configuration key
LedgerAdvIntercompanyAccounting- Primary index
CompanyIdx- Replacement key
None- Key fields
OriginatingCompany, DestinationCompany- Model
Foundation
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OriginatingCompanyCompany that starts the intercompany transaction. | StringSelectableDataArea | Yes | LedgerInterCompanyAccountEntity | |
DestinationCompanyCompany that receives the intercompany transaction. It also identifies the company of the journal name. | StringSelectableDataArea | Yes | LedgerJournalName.dataAreaId | LedgerInterCompanyAccountEntity |
AssetDestinationClearingCreditLedgerDimensionClearing credit account for fixed assets in the destination company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetDestinationClearingDebitLedgerDimensionClearing debit account for fixed assets in the destination company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetDestinationCreditLedgerDimensionCredit account for fixed assets in the destination company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetDestinationDebitLedgerDimensionDebit account for fixed assets in the destination company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetOriginatingClearingCreditLedgerDimensionClearing credit account for fixed assets in the originating company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetOriginatingClearingDebitLedgerDimensionClearing debit account for fixed assets in the originating company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetOriginatingCreditLedgerDimensionCredit account for fixed assets in the originating company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
AssetOriginatingDebitLedgerDimensionDebit account for fixed assets in the originating company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
CompanyCompany (legal entity) identifier for the record.low confidence | StringSelectableDataArea | No | None | |
CreditLedgerDimensionCredit account, stored as a dimension combination.low confidence | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
CustCashDiscPostOptionFor customers, sets whether cash discount is posted in the invoice company or the payment company. | EnumCustVendSettleCompanyPostOption (enum) | No | LedgerInterCompanyAccountEntity | |
CustCurrencyExchPostOptionFor customers, sets whether currency exchange gain or loss is posted in the invoice company or the payment company. | EnumCustVendSettleCompanyPostOption (enum) | No | LedgerInterCompanyAccountEntity | |
CustPostFineOption_BRFor customers, sets which company posts the fine; used for Brazil. | EnumCustVendSettleCompanyPostOption (enum) | No | LedgerInterCompanyAccountEntity | |
CustPostFinInterestOption_BRFor customers, sets which company posts the interest; used for Brazil. | EnumCustVendSettleCompanyPostOption (enum) | No | LedgerInterCompanyAccountEntity | |
DebitLedgerDimensionDebit account, stored as a dimension combination.low confidence | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
DestinationCreditLedgerDimensionCredit account used in the destination company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerInterCompanyAccountEntity |
DestinationDebitLedgerDimensionDebit account used in the destination company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerInterCompanyAccountEntity |
JournalNameJournal name to use for the intercompany entries, taken from the destination company. | StringLedgerJournalNameIdIntercompany | Yes | LedgerJournalName.JournalName | LedgerInterCompanyAccountEntity |
OriginatingCreditLedgerDimensionCredit account used in the originating company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerInterCompanyAccountEntity |
OriginatingDebitLedgerDimensionDebit account used in the originating company. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerInterCompanyAccountEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendCashDiscPostOptionFor vendors, sets whether cash discount is posted in the invoice company or the payment company. | EnumCustVendSettleCompanyPostOption (enum) | No | None | |
VendCurrencyExchPostOptionFor vendors, sets whether currency exchange gain or loss is posted in the invoice company or the payment company. | EnumCustVendSettleCompanyPostOption (enum) | No | None | |
VendPostFineOption_BRFor vendors, sets which company posts the fine; used for Brazil. | EnumCustVendSettleCompanyPostOption (enum) | No | LedgerInterCompanyAccountEntity | |
VendPostFinInterestOption_BRFor vendors, sets which company posts the interest; used for Brazil. | EnumCustVendSettleCompanyPostOption (enum) | No | LedgerInterCompanyAccountEntity |
Indexes (5)
CompanyIdxPrimary indexOriginatingCompany,DestinationCompanyUnique, alternate key.
OriginatingCreditLedgerDimensionIdxOriginatingCreditLedgerDimensionNot unique.
OriginatingDebitLedgerDimensionIdxOriginatingDebitLedgerDimensionNot unique.
DestinationCreditLedgerDimensionIdxDestinationCreditLedgerDimensionNot unique.
DestinationDebitLedgerDimensionIdxDestinationDebitLedgerDimensionNot unique.
Relations (17)
Each relation joins LedgerInterCompany to another table on the fields shown.
OriginatingCreditLedgerDimension→DimensionAttributeValueCombinationJoin on
OriginatingCreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
OriginatingDebitLedgerDimension→DimensionAttributeValueCombinationJoin on
OriginatingDebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DestinationCreditLedgerDimension→DimensionAttributeValueCombinationJoin on
DestinationCreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DestinationDebitLedgerDimension→DimensionAttributeValueCombinationJoin on
DestinationDebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
JournalName→LedgerJournalNameJoin on
DestinationCompany = LedgerJournalName.dataAreaId,JournalName = LedgerJournalName.JournalNameMany LedgerInterCompany records → exactly one LedgerJournalName record
OriginatingCompany→DataAreaJoin on
OriginatingCompany = DataArea.id,DataArea.isVirtual = nullZero or one LedgerInterCompany record → exactly one DataArea record
DestinationCompany→DataAreaJoin on
DestinationCompany = DataArea.id,DataArea.isVirtual = nullZero or one LedgerInterCompany record → exactly one DataArea record
CreditLedgerDimension→DimensionAttributeValueCombinationJoin on
CreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DebitLedgerDimension→DimensionAttributeValueCombinationJoin on
DebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetOriginatingCreditLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetOriginatingCreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetOriginatingDebitLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetOriginatingDebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetDestinationCreditLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetDestinationCreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetDestinationDebitLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetDestinationDebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetOriginatingClearingCreditLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetOriginatingClearingCreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetOriginatingClearingDebitLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetOriginatingClearingDebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetDestinationClearingCreditLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetDestinationClearingCreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
AssetDestinationClearingDebitLedgerDimension→DimensionAttributeValueCombinationJoin on
AssetDestinationClearingDebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
Get this data out
Tables are not exposed directly. These public entities read from LedgerInterCompany; use one of them in Power BI, Power Platform or a data management project.
LedgerInterCompanyAccountEntity· 13 fields from this table
Need help with LedgerInterCompany in a report, an integration or a migration? Talk to Dr Dynamics.