Data entity

AssetLeaseLedgerJournalLineEntity

Holds the lines of ledger journals for asset leases. Each row is identified by journal batch number and line number. It has about 50 fields for account, offset account, amounts, currency, voucher, tax and dimensions, plus Thailand withholding tax and China voucher fields.

Entity name
AssetLeaseLedgerJournalLineEntity
Public entity name
AssetLeaseLedgerJournalLine
OData collection
AssetLeaseLedgerJournalLines
Category
Document
Module
Asset lease
Read-only
No
Data management enabled
No
Configuration key
LedgerBasic
Keys
JournalBatchNumber, LineNumber
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/AssetLeaseLedgerJournalLines
Dataverse virtual table
mserp_assetleaseledgerjournallineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • LedgerJournalTrans · root
  • DimensionCombinationEntity · OuterJoin to LedgerJournalTrans · read-only
  • OffsetDimensionCombinationEntity (table DimensionCombinationEntity) · OuterJoin to LedgerJournalTrans · read-only
  • TaxWithholdItemGroupHeading_TH · OuterJoin to LedgerJournalTrans · read-only
  • LedgerVoucherType_CN · OuterJoin to LedgerJournalTrans · read-only
  • DefaultDimension (table DimensionSetEntity) · OuterJoin to LedgerJournalTrans · read-only
  • OffsetDefaultDimension (table DimensionSetEntity) · OuterJoin to LedgerJournalTrans · read-only

Fields (50)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountTypeKind of account on the line, such as ledger, customer, vendor, bank or fixed asset.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesBankPaymentOrderJour_RU.LedgerACTypeLedgerJournalTrans.AccountType
CreditAmountCredit amount in the transaction currency.Real
AmountCurCredit
NoYesLedgerJournalTrans.AmountCurCredit
DebitAmountDebit amount in the transaction currency.Real
AmountCurDebit
NoYesLedgerJournalTrans.AmountCurDebit
CurrencyCodeCurrency of the transaction amounts on the line.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeLedgerJournalTrans.CurrencyCode
JournalBatchNumberNumber of the journal batch that the line belongs to.String (20)
LedgerJournalId
YesYesLedgerJournalTable.JournalNumLedgerJournalTrans.JournalNum
AccountAccount of the line, held as a dimension combination record.Int64
DimensionDynamicAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerJournalTrans.LedgerDimension
AccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
LineNumberLine number within the journal.Real
LineNum
NoYesBankPaymentOrderJour_RU.JournalLineNumLedgerJournalTrans.LineNum
OffsetAccountTypeKind of offset account, such as ledger, customer, vendor or bank.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesLedgerJournalTrans.OffsetAccountType
OffsetAccountOffset account of the line, held as a dimension combination record.Int64
DimensionDynamicAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerJournalTrans.OffsetLedgerDimension
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetTextText for the offset transaction.String (512)
LedgerJournalTransTxt
NoYesLedgerJournalTrans.OffsetTxt
QuantityQuantity on the line.Real
QtyStatistical
NoYesLedgerJournalTrans.Qty
TransDateTransaction date of the line.Date
TransDate
NoYesBankPaymentOrderJour_RU.JournalTransDateLedgerJournalTrans.TransDate
TextDescription text of the line.String (512)
LedgerJournalTransTxt
NoYesLedgerJournalTrans.Txt
VoucherVoucher number that groups the lines of one posting.String (20)
Voucher
NoYesBankPaymentOrderJour_RU.VoucherTaxEngineLedgerJournalTransHeader.VoucherLedgerJournalTrans.Voucher
DelayTaxCalculationYes or no flag that postpones sales tax calculation on journal lines.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.DelayTaxCalculation
CompanyCompany (legal entity) that the account on the line belongs to.String
SelectableDataArea
NoYesLedgerJournalTrans.Company
OffsetCompanyCompany of the offset account.String
SelectableDataArea
NoYesLedgerJournalTrans.OffsetCompany
IsWithholdingCalculationEnabledYes or no flag for calculating withholding tax, used for Thailand.Enum
TaxWithholdCalculate_TH
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.TaxWithholdCalculate_TH
ItemWithholdingTaxGroupCodeIdentifier of the item withholding tax group. It is the key of the table.String
TaxWithholdItemGroup_TH
NoYesTaxWithholdItemGroupHeading_TH.TaxWithholdItemGroup
ChineseVoucherTypeRecIdPoints to the voucher type, used for China.Int64
LedgerVoucherTypeRefRecId_CN
NoNo (private)LedgerVoucherType_CN.RecIdLedgerJournalTrans.LedgerVoucherType_CN
ChineseVoucherTypeID of the voucher type. It is the key of the table.String
LedgerVoucherTypeId_CN
NoYesLedgerVoucherType_CN.Id
ChineseVoucherChinese voucher number, used for China.String (20)
Voucher_CN
NoYesLedgerJournalTrans.Voucher_CN
DiscountPercentageCash discount as a percentage.Real
DiscPct
NoYesLedgerJournalTrans.CashDiscPercent
CashDiscountAmountCash discount amount.Real
DiscAmount
NoYesLedgerJournalTrans.CashDiscAmount
InvoiceInvoice number.String (50)
InvoiceId
NoYesLedgerJournalTrans.Invoice
DueDateDue date of the payment.Date
DueDate
NoYesLedgerJournalTrans.Due
PaymentIdPayment ID.String (200)
PaymId
NoYesLedgerJournalTrans.PaymId
TaxExemptNumberTax exempt number.String (20)
VATNumJournal
NoYesLedgerJournalTrans.VATNumJournal
SalesTaxCodeSales tax code for the line.String
TaxCode
NoYesTaxTable.TaxCodeLedgerJournalTrans.TaxCode
ItemSalesTaxGroupItem sales tax group for the line.String
TaxGroupJournal
NoYesTaxItemGroupHeading.TaxItemGroupLedgerJournalTrans.TaxItemGroup
CashDiscountCash discount code applied to the line.String
CashDiscCode
NoYesCashDisc.CashDiscCodeLedgerJournalTrans.CashDiscCode
CashDiscountDateDate linked to the cash discount.Date
TransDate
NoYesLedgerJournalTrans.DateCashDisc
DocumentNumber of the source document.String (20)
DocumentNum
NoYesLedgerJournalTrans.DocumentNum
PaymentMethodMethod of payment for the line.String
PaymMode
NoYesCustPaymModeTable.PaymModeVendPaymModeTable.PaymModeLedgerJournalTrans.PaymMode
PostingProfilePosting profile used for the account on the line.String
PostingProfile
NoYesEmplLedger_RU.PostingProfileRCashLedger.PostingProfileVendLedger.PostingProfileAssetLedger.PostingProfileCustLedger.PostingProfileVendLedger.PostingProfileLedgerJournalTrans.PostingProfile
SalesTaxGroupSales tax group for the line.String
TaxGroupJournal
NoYesTaxGroupHeading.TaxGroupLedgerJournalTrans.TaxGroup
PaymentReferencePayment reference text.String (35)
PaymReference
NoYesLedgerJournalTrans.PaymReference
DefaultDimensionDefault financial dimension values for the line, as a dimension set record.Int64
LedgerDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerJournalTrans.DefaultDimension
OffsetDefaultDimensionDefault financial dimension values for the offset account.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerJournalTrans.OffsetDefaultDimension
DefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetDefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
DocumentDateDate of the source document.Date
DocumentDate
NoYesLedgerJournalTrans.DocumentDate
ReverseDateDate on which the entry is reversed.Date
TransDate
NoYesLedgerJournalTrans.ReverseDate
ReverseEntryYes or no flag showing that the entry is a reversing entry.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.ReverseEntry
ExchRateExchange rate applied to the line.Real
ExchRate
NoYesLedgerJournalTrans.ExchRate
ExchRateSecondSecondary exchange rate applied to the line.Real
ExchrateSecondary
NoYesLedgerJournalTrans.ExchRateSecond
ReportingCurrencyExchRateExchange rate for the reporting currency.Real
ReportingCurrencyExchRate
NoYesLedgerJournalTrans.ReportingCurrencyExchRate
ReportingCurrencyExchRateSecondarySecondary exchange rate for the reporting currency.Real
ReportingCurrencyExchRateSecondary
NoYesLedgerJournalTrans.ReportingCurrencyExchRateSecondary

Foreign keys (24)

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.Voucher

    Many 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.Voucher

    Many 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.Voucher

    Many 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.JournalNum

    Many 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.JournalNum

    One or more LedgerJournalTrans records → exactly one TaxEngineLedgerJournalTransHeader record

    Not exposed by a public entity.

  • ChineseVoucherTypeRecId → LedgerVoucherType_CN.RecId (key of LedgerVoucherType_CN)

    Many LedgerJournalTrans records → zero or one LedgerVoucherType_CN record

    LedgerVoucherType_CN details: see LedgerVoucherTypeAccountRestrictionEntity, LedgerVoucherTypeAccountRestrictionV2Entity, LedgerVoucherTypeEntity

  • SalesTaxCode → TaxTable.TaxCode (key of TaxTable)

    Join on all of: SalesTaxCode = TaxTable.TaxCode, Company = TaxTable.dataAreaId

    Many 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.dataAreaId

    Many 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.dataAreaId

    Relation 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.dataAreaId

    Relation 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.dataAreaId

    Relation 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.dataAreaId

    Many 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 AssetLeaseLedgerJournalLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk