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 · root
  • OriginatingCreditAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerInterCompany · read-only
  • OriginatingDebitAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerInterCompany · read-only
  • DestinationDebitAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerInterCompany · read-only
  • DestinationCreditAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerInterCompany · read-only

Fields (17)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
OriginatingLegalEntityIdCompany that starts the intercompany transaction.String
SelectableDataArea
YesYesLedgerInterCompany.OriginatingCompany
DestinationLegalEntityIdCompany that receives the intercompany transaction. It also identifies the company of the journal name.String
SelectableDataArea
YesYesLedgerInterCompany.DestinationCompany
PostCashDiscountFor customers, sets whether cash discount is posted in the invoice company or the payment company.Enum
CustVendSettleCompanyPostOption
  • InvoiceCompany 0
  • PaymentCompany 1
NoYesLedgerInterCompany.CustCashDiscPostOption
PostCurrencyExchangeGainOrLossFor customers, sets whether currency exchange gain or loss is posted in the invoice company or the payment company.Enum
CustVendSettleCompanyPostOption
  • InvoiceCompany 0
  • PaymentCompany 1
NoYesLedgerInterCompany.CustCurrencyExchPostOption
PostFineFor customers, sets which company posts the fine; used for Brazil.Enum
CustVendSettleCompanyPostOption
  • InvoiceCompany 0
  • PaymentCompany 1
NoYesLedgerInterCompany.CustPostFineOption_BR
PostInterestFor customers, sets which company posts the interest; used for Brazil.Enum
CustVendSettleCompanyPostOption
  • InvoiceCompany 0
  • PaymentCompany 1
NoYesLedgerInterCompany.CustPostFinInterestOption_BR
JournalJournal name to use for the intercompany entries, taken from the destination company.String
LedgerJournalNameIdIntercompany
YesYesLedgerJournalName.JournalNameLedgerInterCompany.JournalName
OriginatingCreditAccountCredit account used in the originating company.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerInterCompany.OriginatingCreditLedgerDimension
OriginatingDebitAccountDebit account used in the originating company.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerInterCompany.OriginatingDebitLedgerDimension
OriginatingCreditAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OriginatingDebitAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
DestinationCreditAccountCredit account used in the destination company.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerInterCompany.DestinationCreditLedgerDimension
DestinationDebitAccountDebit account used in the destination company.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerInterCompany.DestinationDebitLedgerDimension
DestinationCreditAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
DestinationDebitAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
VendorPaymentPostFineFor vendors, sets which company posts the fine; used for Brazil.Enum
CustVendSettleCompanyPostOption
  • InvoiceCompany 0
  • PaymentCompany 1
NoYesLedgerInterCompany.VendPostFineOption_BR
VendorPaymentPostFinancialInterestFor vendors, sets which company posts the interest; used for Brazil.Enum
CustVendSettleCompanyPostOption
  • InvoiceCompany 0
  • PaymentCompany 1
NoYesLedgerInterCompany.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.

Need help with LedgerInterCompanyAccountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk