Data entity
LedgerInterCompanyAccountEntity
Holds intercompany accounting setup between an originating company and a destination company. It shows the debit and credit accounts for each side. It also has flags for posting cash discount, exchange gain or loss, fines and interest, and a journal. The key is the two legal entity IDs.
- Entity name
LedgerInterCompanyAccountEntity- Public entity name
LedgerInterCompanyAccount- OData collection
LedgerInterCompanyAccounts- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerAdvIntercompanyAccounting- Keys
OriginatingLegalEntityId, DestinationLegalEntityId- Staging table
LedgerInterCompanyAccountStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LedgerInterCompanyAccounts- Dataverse virtual table
mserp_ledgerintercompanyaccountentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
LedgerInterCompany· rootOriginatingCreditAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerInterCompany· read-onlyOriginatingDebitAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerInterCompany· read-onlyDestinationDebitAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerInterCompany· read-onlyDestinationCreditAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerInterCompany· read-only
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
OriginatingLegalEntityIdCompany that starts the intercompany transaction. | StringSelectableDataArea | Yes | Yes | LedgerInterCompany.OriginatingCompany | |
DestinationLegalEntityIdCompany that receives the intercompany transaction. It also identifies the company of the journal name. | StringSelectableDataArea | Yes | Yes | LedgerInterCompany.DestinationCompany | |
PostCashDiscountFor customers, sets whether cash discount is posted in the invoice company or the payment company. | Enum
| No | Yes | LedgerInterCompany.CustCashDiscPostOption | |
PostCurrencyExchangeGainOrLossFor customers, sets whether currency exchange gain or loss is posted in the invoice company or the payment company. | Enum
| No | Yes | LedgerInterCompany.CustCurrencyExchPostOption | |
PostFineFor customers, sets which company posts the fine; used for Brazil. | Enum
| No | Yes | LedgerInterCompany.CustPostFineOption_BR | |
PostInterestFor customers, sets which company posts the interest; used for Brazil. | Enum
| No | Yes | LedgerInterCompany.CustPostFinInterestOption_BR | |
JournalJournal name to use for the intercompany entries, taken from the destination company. | StringLedgerJournalNameIdIntercompany | Yes | Yes | LedgerJournalName.JournalName | LedgerInterCompany.JournalName |
OriginatingCreditAccountCredit account used in the originating company. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerInterCompany.OriginatingCreditLedgerDimension |
OriginatingDebitAccountDebit account used in the originating company. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerInterCompany.OriginatingDebitLedgerDimension |
OriginatingCreditAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
OriginatingDebitAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DestinationCreditAccountCredit account used in the destination company. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerInterCompany.DestinationCreditLedgerDimension |
DestinationDebitAccountDebit account used in the destination company. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerInterCompany.DestinationDebitLedgerDimension |
DestinationCreditAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DestinationDebitAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
VendorPaymentPostFineFor vendors, sets which company posts the fine; used for Brazil. | Enum
| No | Yes | LedgerInterCompany.VendPostFineOption_BR | |
VendorPaymentPostFinancialInterestFor vendors, sets which company posts the interest; used for Brazil. | Enum
| No | Yes | LedgerInterCompany.VendPostFinInterestOption_BR |
Foreign keys (5)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
Journal→LedgerJournalName.JournalName(key of LedgerJournalName)Join on all of:
Journal=LedgerJournalName.JournalName,DestinationLegalEntityId=LedgerJournalName.dataAreaIdMany LedgerInterCompany records → exactly one LedgerJournalName record
LedgerJournalName details: see LedgerJournalNameEntity
OriginatingCreditAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
OriginatingDebitAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
DestinationCreditAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
DestinationDebitAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerInterCompany records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with LedgerInterCompanyAccountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.