Data entity
LedgerJournalLineCDSEntity
Holds ledger journal lines for Dataverse integration. Each line has an account type and account, debit and credit amounts, a currency, a date and a voucher. It also has offset account details, dimensions, and invoice, payment, cash discount and sales tax details. The key is the integration key and the line number.
- Entity name
LedgerJournalLineCDSEntity- Public entity name
LedgerJournalCDSLine- OData collection
LedgerJournalCDSLines- Category
Document- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasic- Keys
IntegrationComputedKey, LineNumber- Staging table
LedgerJournalLineCDSStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LedgerJournalCDSLines- Dataverse virtual table
mserp_ledgerjournallinecdsentity. 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
LedgerJournalTrans· rootDimensionCombinationEntity· OuterJoin toLedgerJournalTrans· read-onlyOffsetDimensionCombinationEntity(tableDimensionCombinationEntity) · OuterJoin toLedgerJournalTrans· read-onlyDefaultDimension(tableDimensionSetEntity) · OuterJoin toLedgerJournalTrans· read-onlyOffsetDefaultDimension(tableDimensionSetEntity) · OuterJoin toLedgerJournalTrans· read-onlyLedgerJournalTable· OuterJoin toLedgerJournalTrans· read-only
Fields (46)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountTypeKind of account on the line, such as ledger, customer, vendor, bank or fixed asset. | Enum
| No | Yes | BankPaymentOrderJour_RU.LedgerACType | LedgerJournalTrans.AccountType |
CreditAmountCredit amount in the transaction currency. | RealAmountCurCredit | No | Yes | LedgerJournalTrans.AmountCurCredit | |
DebitAmountDebit amount in the transaction currency. | RealAmountCurDebit | No | Yes | LedgerJournalTrans.AmountCurDebit | |
CurrencyCodeCurrency of the transaction amounts on the line. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | LedgerJournalTrans.CurrencyCode |
JournalBatchNumberNumber of the journal batch that the line belongs to. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | LedgerJournalTrans.JournalNum |
AccountAccount of the line, held as a dimension combination record. | Int64DimensionDynamicAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerJournalTrans.LedgerDimension |
AccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
LineNumberLine number within the journal. | RealLineNum | No | Yes | BankPaymentOrderJour_RU.JournalLineNum | LedgerJournalTrans.LineNum |
OffsetAccountTypeKind of offset account, such as ledger, customer, vendor or bank. | Enum
| No | Yes | LedgerJournalTrans.OffsetAccountType | |
OffsetAccountOffset account of the line, held as a dimension combination record. | Int64DimensionDynamicAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerJournalTrans.OffsetLedgerDimension |
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
OffsetTextText for the offset transaction. | String (512)LedgerJournalTransTxt | No | Yes | LedgerJournalTrans.OffsetTxt | |
QuantityQuantity on the line. | RealQtyStatistical | No | Yes | LedgerJournalTrans.Qty | |
TransDateTransaction date of the line. | DateTransDate | No | Yes | BankPaymentOrderJour_RU.JournalTransDate | LedgerJournalTrans.TransDate |
TextDescription text of the line. | String (512)LedgerJournalTransTxt | No | Yes | LedgerJournalTrans.Txt | |
VoucherVoucher number that groups the lines of one posting. | String (20)Voucher | No | Yes | BankPaymentOrderJour_RU.VoucherTaxEngineLedgerJournalTransHeader.Voucher | LedgerJournalTrans.Voucher |
DelayTaxCalculationYes or no flag that postpones sales tax calculation on journal lines. | Enum
| No | Yes | LedgerJournalTrans.DelayTaxCalculation | |
CompanyCompany (legal entity) that the account on the line belongs to. | StringSelectableDataArea | No | Yes | LedgerJournalTrans.Company | |
OffsetCompanyCompany of the offset account. | StringSelectableDataArea | No | Yes | LedgerJournalTrans.OffsetCompany | |
DiscountPercentageCash discount as a percentage. | RealDiscPct | No | Yes | LedgerJournalTrans.CashDiscPercent | |
CashDiscountAmountCash discount amount. | RealDiscAmount | No | Yes | LedgerJournalTrans.CashDiscAmount | |
InvoiceInvoice number. | String (50)InvoiceId | No | Yes | LedgerJournalTrans.Invoice | |
DueDateDue date of the payment. | DateDueDate | No | Yes | LedgerJournalTrans.Due | |
PaymentIdPayment ID. | String (200)PaymId | No | Yes | LedgerJournalTrans.PaymId | |
TaxExemptNumberTax exempt number. | String (20)VATNumJournal | No | Yes | LedgerJournalTrans.VATNumJournal | |
SalesTaxCodeSales tax code for the line. | StringTaxCode | No | Yes | TaxTable.TaxCode | LedgerJournalTrans.TaxCode |
ItemSalesTaxGroupItem sales tax group for the line. | StringTaxGroupJournal | No | Yes | TaxItemGroupHeading.TaxItemGroup | LedgerJournalTrans.TaxItemGroup |
CashDiscountCash discount code applied to the line. | StringCashDiscCode | No | Yes | CashDisc.CashDiscCode | LedgerJournalTrans.CashDiscCode |
CashDiscountDateDate linked to the cash discount. | DateTransDate | No | Yes | LedgerJournalTrans.DateCashDisc | |
DocumentNumber of the source document. | String (20)DocumentNum | No | Yes | LedgerJournalTrans.DocumentNum | |
PaymentMethodMethod of payment for the line. | StringPaymMode | No | Yes | CustPaymModeTable.PaymModeVendPaymModeTable.PaymMode | LedgerJournalTrans.PaymMode |
PostingProfilePosting profile used for the account on the line. | StringPostingProfile | No | Yes | EmplLedger_RU.PostingProfileRCashLedger.PostingProfileVendLedger.PostingProfileAssetLedger.PostingProfileCustLedger.PostingProfileVendLedger.PostingProfile | LedgerJournalTrans.PostingProfile |
SalesTaxGroupSales tax group for the line. | StringTaxGroupJournal | No | Yes | TaxGroupHeading.TaxGroup | LedgerJournalTrans.TaxGroup |
PaymentReferencePayment reference text. | String (35)PaymReference | No | Yes | LedgerJournalTrans.PaymReference | |
DefaultDimensionDefault financial dimension values for the line, as a dimension set record. | Int64LedgerDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | LedgerJournalTrans.DefaultDimension |
OffsetDefaultDimensionDefault financial dimension values for the offset account. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | LedgerJournalTrans.OffsetDefaultDimension |
DefaultDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
OffsetDefaultDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DocumentDateDate of the source document. | DateDocumentDate | No | Yes | LedgerJournalTrans.DocumentDate | |
ReverseDateDate on which the entry is reversed. | DateTransDate | No | Yes | LedgerJournalTrans.ReverseDate | |
ReverseEntryYes or no flag showing that the entry is a reversing entry. | Enum
| No | Yes | LedgerJournalTrans.ReverseEntry | |
ExchRateExchange rate applied to the line. | RealExchRate | No | Yes | LedgerJournalTrans.ExchRate | |
ExchRateSecondSecondary exchange rate applied to the line. | RealExchrateSecondary | No | Yes | LedgerJournalTrans.ExchRateSecond | |
ReportingCurrencyExchRateExchange rate for the reporting currency. | RealReportingCurrencyExchRate | No | Yes | LedgerJournalTrans.ReportingCurrencyExchRate | |
ReportingCurrencyExchRateSecondarySecondary exchange rate for the reporting currency. | RealReportingCurrencyExchRateSecondary | No | Yes | LedgerJournalTrans.ReportingCurrencyExchRateSecondary | |
IntegrationComputedKeyKey built to identify the parent journal in Dataverse integration. | String (100)CDSIntegrationKey | No | Yes | computed |
Foreign keys (23)
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.
AccountType→BankPaymentOrderJour_RU.LedgerACType(key of BankPaymentOrderJour_RU)Join on all of:
AccountType=BankPaymentOrderJour_RU.LedgerACType,TransDate=BankPaymentOrderJour_RU.JournalTransDate,LineNumber=BankPaymentOrderJour_RU.JournalLineNum,JournalBatchNumber=BankPaymentOrderJour_RU.JournalNum,Voucher=BankPaymentOrderJour_RU.VoucherMany LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record
BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many LedgerJournalTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
JournalBatchNumber→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Many LedgerJournalTrans records → exactly one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
Account→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerJournalTrans records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
LineNumber→BankPaymentOrderJour_RU.JournalLineNum(key of BankPaymentOrderJour_RU)Join on all of:
LineNumber=BankPaymentOrderJour_RU.JournalLineNum,TransDate=BankPaymentOrderJour_RU.JournalTransDate,AccountType=BankPaymentOrderJour_RU.LedgerACType,JournalBatchNumber=BankPaymentOrderJour_RU.JournalNum,Voucher=BankPaymentOrderJour_RU.VoucherMany LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record
BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity
OffsetAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerJournalTrans records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
TransDate→BankPaymentOrderJour_RU.JournalTransDate(key of BankPaymentOrderJour_RU)Join on all of:
TransDate=BankPaymentOrderJour_RU.JournalTransDate,LineNumber=BankPaymentOrderJour_RU.JournalLineNum,AccountType=BankPaymentOrderJour_RU.LedgerACType,JournalBatchNumber=BankPaymentOrderJour_RU.JournalNum,Voucher=BankPaymentOrderJour_RU.VoucherMany LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record
BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity
Voucher→BankPaymentOrderJour_RU.Voucher(key of BankPaymentOrderJour_RU)Join on all of:
Voucher=BankPaymentOrderJour_RU.Voucher,TransDate=BankPaymentOrderJour_RU.JournalTransDate,LineNumber=BankPaymentOrderJour_RU.JournalLineNum,AccountType=BankPaymentOrderJour_RU.LedgerACType,JournalBatchNumber=BankPaymentOrderJour_RU.JournalNumMany LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record
BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity
Voucher→TaxEngineLedgerJournalTransHeader.Voucher(key of TaxEngineLedgerJournalTransHeader)Join on all of:
Voucher=TaxEngineLedgerJournalTransHeader.Voucher,JournalBatchNumber=TaxEngineLedgerJournalTransHeader.JournalNumOne or more LedgerJournalTrans records → exactly one TaxEngineLedgerJournalTransHeader record
Not exposed by a public entity.
SalesTaxCode→TaxTable.TaxCode(key of TaxTable)Join on all of:
SalesTaxCode=TaxTable.TaxCode,Company=TaxTable.dataAreaIdMany LedgerJournalTrans records → zero or one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
ItemSalesTaxGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Join on all of:
ItemSalesTaxGroup=TaxItemGroupHeading.TaxItemGroup,Company=TaxItemGroupHeading.dataAreaIdMany LedgerJournalTrans records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
CashDiscount→CashDisc.CashDiscCode(key of CashDisc)Many LedgerJournalTrans records → zero or one CashDisc record
CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscBiEntity
PaymentMethod→CustPaymModeTable.PaymMode(key of CustPaymModeTable)Relation also requires AccountType = LedgerJournalACType::Cust.
Many LedgerJournalTrans records → zero or one CustPaymModeTable record
CustPaymModeTable details: see CustomerPaymentMethodEntity, BankCustPaymModeBankAccountsEntity, CustPaymModeTableBiEntity
PaymentMethod→VendPaymModeTable.PaymMode(key of VendPaymModeTable)Relation also requires AccountType = LedgerJournalACType::Vend.
Many LedgerJournalTrans records → zero or one VendPaymModeTable record
VendPaymModeTable details: see VendorPaymentMethodEntity, BankVendPaymModeBankAccountsEntity, VendPaymModeTableCDREntity
PostingProfile→EmplLedger_RU.PostingProfile(key of EmplLedger_RU)Relation also requires AccountType = LedgerJournalACType::Employee_RU.
Many LedgerJournalTrans records → zero or one EmplLedger_RU record
EmplLedger_RU details: see EmplPostingEntity_W
PostingProfile→RCashLedger.PostingProfile(key of RCashLedger)Relation also requires AccountType = LedgerJournalACType::RCash.
Many LedgerJournalTrans records → zero or one RCashLedger record
RCashLedger details: see CashLedgerEntity
PostingProfile→VendLedger.PostingProfile(key of VendLedger)Relation also requires AccountType = LedgerJournalACType::Project, OffsetAccountType = LedgerJournalACType::Vend.
Many LedgerJournalTrans records → zero or one VendLedger record
VendLedger details: see VendorPostingProfileHeaderEntity, VendorPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
PostingProfile→AssetLedger.PostingProfile(key of AssetLedger)Join on all of:
PostingProfile=AssetLedger.PostingProfile,Company=AssetLedger.dataAreaIdRelation also requires AccountType = LedgerJournalACType::FixedAssets.
Many LedgerJournalTrans records → zero or one AssetLedger record
AssetLedger details: see AssetPostingProfileEntity, AssetParametersEntity, AssetPostingProfileDisposalEntity
PostingProfile→CustLedger.PostingProfile(key of CustLedger)Join on all of:
PostingProfile=CustLedger.PostingProfile,Company=CustLedger.dataAreaIdRelation also requires AccountType = LedgerJournalACType::Cust.
Many LedgerJournalTrans records → zero or one CustLedger record
CustLedger details: see CustCustomerPostingProfileHeaderEntity, CustCustomerPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
PostingProfile→VendLedger.PostingProfile(key of VendLedger)Join on all of:
PostingProfile=VendLedger.PostingProfile,Company=VendLedger.dataAreaIdRelation also requires AccountType = LedgerJournalACType::Vend.
Many LedgerJournalTrans records → zero or one VendLedger record
VendLedger details: see VendorPostingProfileHeaderEntity, VendorPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
SalesTaxGroup→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Join on all of:
SalesTaxGroup=TaxGroupHeading.TaxGroup,Company=TaxGroupHeading.dataAreaIdMany LedgerJournalTrans records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
DefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many LedgerJournalTrans records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
OffsetDefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many LedgerJournalTrans records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
Need help with LedgerJournalLineCDSEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.