Data entity

ExpenseJournalLineEntity

Lines of project expense journals, identified by journal batch number and line number. Each line holds account and offset account details, quantity, currency, tax fields and the voucher. It also holds project details such as project ID, activity, category, resource, cost price and sales price.

Entity name
ExpenseJournalLineEntity
Public entity name
ExpenseJournalLine
OData collection
ExpenseJournalLines
Category
Document
Module
Project management and accounting
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
JournalBatchNumber, LineNumber
Staging table
ExpenseJournalLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ExpenseJournalLines
Dataverse virtual table
mserp_expensejournallineentity. 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 · root
  • AccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerJournalTrans · read-only
  • OffsetAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerJournalTrans · read-only
  • LedgerJournalTrans_Project · OuterJoin to LedgerJournalTrans
  • ResourceView · OuterJoin to LedgerJournalTrans_Project · read-only
  • DimensionSetEntity · OuterJoin to LedgerJournalTrans · read-only
  • HcmWorker · OuterJoin to LedgerJournalTrans · read-only
  • LedgerJournalTable · InnerJoin to LedgerJournalTrans · read-only
  • LedgerVoucherType_CN · OuterJoin to LedgerJournalTrans · read-only
  • OffsetDimensionSetEntity (table DimensionSetEntity) · OuterJoin to LedgerJournalTrans · read-only
  • LedgerJournalTransTaxExtension · OuterJoin to LedgerJournalTrans

Fields (69)

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
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
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
OffsetTransactionTextText for the offset transaction.String (512)
LedgerJournalTransTxt
NoYesLedgerJournalTrans.OffsetTxt
QuantityQuantity on the line.Real
QtyStatistical
NoYesLedgerJournalTrans.Qty
VoucherDateTransaction 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
AccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ResourcePoints to the resource linked to the line.Int64
ResourceRecId
NoNo (private)ResourceView.RecIdLedgerJournalTrans_Project.Resource
DelayTaxCalculationYes or no flag that postpones sales tax calculation on journal lines.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.DelayTaxCalculation
ProjectCostQuantityQuantity on the line.Real
Qty
NoYesLedgerJournalTrans_Project.Qty
ProjectCategoryProject category of the line.String (30)
ProjCategoryCostId
NoYesProjCategory.CategoryIdLedgerJournalTrans_Project.CategoryId
ProjectCostPriceCost price per unit.Real
CostPrice
NoYesLedgerJournalTrans_Project.CostPrice
ProjectLinePropertyProject line property assigned to the line.String
ProjLinePropertyId
NoYesProjLineProperty.LinePropertyIdLedgerJournalTrans_Project.LinePropertyId
ProjIdProject that the line is posted to.String (20)
LedgerJournalAC
NoYesProjTable.ProjIdLedgerJournalTrans_Project.ProjId
ActivityNumberNumber of the activity linked to the journal line.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberLedgerJournalTrans_Project.ActivityNumber
ResourceIdUnique code that identifies the resource.String
WrkCtrIdBase
NoYesWrkCtrTable.WrkCtrId
ResourceCompanyIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesWrkCtrTable.DataAreaId
ProjectSalesCurrencyCodeCurrency of the sales price.String (3)
ProjSalesCurrencyCode
NoYesCurrency.CurrencyCodeLedgerJournalTrans_Project.SalesCurrencyId
DimensionDefault financial dimension values for the line, as a dimension set record.Int64
LedgerDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerJournalTrans.DefaultDimension
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ProjectDateDate of the project transaction.Date
ProjTransDate
YesYesLedgerJournalTrans_Project.ProjTransDate
ProjectSalesPriceSales price per unit.Real
SalesPrice
NoYesLedgerJournalTrans_Project.SalesPrice
InvoiceInvoice number.String (50)
InvoiceId
NoYesLedgerJournalTrans.Invoice
DueDateDue date of the payment.Date
DueDate
NoYesLedgerJournalTrans.Due
PaymentPayment terms code.String (100)
PaymTermId
NoYesPaymTerm.PaymTermIdLedgerJournalTrans.Payment
PaymentIdPayment ID.String (200)
PaymId
NoYesLedgerJournalTrans.PaymId
TaxExcemptNumberTax 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
CashDiscountAmountCash discount amount.Real
DiscAmount
NoYesLedgerJournalTrans.CashDiscAmount
CashDiscountDateDate linked to the cash discount.Date
TransDate
NoYesLedgerJournalTrans.DateCashDisc
PurchaseOrderPurchase order number or range.String (250)
PurchIdRange
NoYesLedgerJournalTrans.PurchIdRange
DocumentNumber of the source document.String (20)
DocumentNum
NoYesLedgerJournalTrans.DocumentNum
DocumentDateDate of the source document.Date
DocumentDate
NoYesLedgerJournalTrans.DocumentDate
PaymentMethodMethod of payment for the line.String
PaymMode
NoYesCustPaymModeTable.PaymModeVendPaymModeTable.PaymModeLedgerJournalTrans.PaymMode
PaymentSpecificationPayment specification linked to the method of payment.String
PaymSpec
NoYesCustPaymModeSpec.SpecificationVendPaymModeSpec.SpecificationLedgerJournalTrans.PaymSpec
ApproverWorker who approved the line.Int64
HcmApprover
NoNo (private)HcmWorker.RecIdLedgerJournalTrans.Approver
ApprovedByNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
PostingProfilePosting profile used for the account on the line.String
PostingProfile
NoYesEmplLedger_RU.PostingProfileRCashLedger.PostingProfileVendLedger.PostingProfileAssetLedger.PostingProfileCustLedger.PostingProfileVendLedger.PostingProfileLedgerJournalTrans.PostingProfile
CreditAmountCredit amount in the transaction currency.Real
AmountCurCredit
NoYesLedgerJournalTrans.AmountCurCredit
DebitAmountDebit amount in the transaction currency.Real
AmountCurDebit
NoYesLedgerJournalTrans.AmountCurDebit
ApprovedYes or no flag showing whether the line has been approved.Enum
Approved
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.Approved
ChineseVoucherTypeIdPoints 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
LedgerJournalTrans_ProjectPoints to the journal line that these project details belong to. It is the key.Int64
LedgerJournalTransRefRecId
YesNo (private)LedgerJournalTrans.RecIdLedgerJournalTrans_Project.RefRecId
ProjectTaxGroupSalesSales tax group for the line.String
TaxGroupJournal
NoYesTaxGroupHeading.TaxGroupLedgerJournalTrans_Project.TaxGroupSales
ProjectTaxItemGroupSalesItem sales tax group for the line.String
TaxGroupJournal
NoYesTaxItemGroupHeading.TaxItemGroupLedgerJournalTrans_Project.TaxItemGroupSales
ProjectPriceGroupIDPrice group used for the project line.String
ProjPriceGroupID
NoNo (private)LedgerJournalTrans_Project.ProjPriceGroupID
AccountCompanyCompany (legal entity) that the account on the line belongs to.String
SelectableDataArea
NoYesLedgerJournalTrans.Company
OffsetCompanyCompany of the offset account.String
SelectableDataArea
NoYesLedgerJournalTrans.OffsetCompany
IsReversingEntryYes or no flag showing that the entry is a reversing entry.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.ReverseEntry
ReversingDateDate on which the entry is reversed.Date
TransDate
NoYesLedgerJournalTrans.ReverseDate
SalesTaxGroupSales tax group for the line.String
TaxGroupJournal
NoYesTaxGroupHeading.TaxGroupLedgerJournalTrans.TaxGroup
ExchangeRateExchange rate applied to the line.Real
ExchRate
NoYesLedgerJournalTrans.ExchRate
SecondaryExchangeRateSecondary exchange rate applied to the line.Real
ExchrateSecondary
NoYesLedgerJournalTrans.ExchRateSecond
ActualSalesTaxAmountSales tax amount recorded on the journal line; the currency is not stated in the metadata.Real
TaxAmountJournal
NoYesvirtual
TransactionTypeType of transaction, such as sales order, purchase order, inventory or project.Enum
LedgerTransType
  • None 0
  • Transfer 1
  • Sales 2
  • Purch 3
  • Invent 4
  • Production 5
  • Project 6
  • Interest 7
  • Cust 8
  • ExchAdjustment 9
  • SummedUp 10
  • Payroll 11
  • FixedAssets 12
  • CollectionLetter 13
  • Vend 14
  • Payment 15
  • Tax 16
  • Bank 17
  • Conversion 18
  • BillOfExchange 19
  • PromissoryNote 20
  • Cost 21
  • Work 22
  • Fee 23
  • Settlement 24
  • Allocation 25
  • Elimination 26
  • CashDiscount 27
  • OverUnder 28
  • PennyDifference 29
  • CrossCompanySettlement 30
  • PurchReq 31
  • InflationAdjustment_MX 32
  • PurchAdvanceApplication 33
  • ConversionReporting 34
  • FixedAssets_RU 79
  • RTax25_BadDebtDebitAmortisation 80
  • RDeferrals 81
  • RTax25_BadDebtCreditAmortisation 82
  • AdvanceAdjustment_RU 83
  • VATTaxAgent_RU 84
  • GainLossCurrencyDeal_RU 85
  • PdsRebateCreditNote 100
  • PdsRebatePassToAP 101
  • WriteOff 35
  • GeneralJournal 36
  • MCRUnderpayWriteOff 250
  • CustVendNetting 188
  • SalesPrepayment 251
  • AssetLeaseLeaseIR
  • AssetLeaseLeaseInterest
  • AssetLeaseLeasePayment
  • AssetLeaseLeaseAdjustment
  • AssetLeaseLeaseIRReversal
  • AssetLeaseLeaseInterestReversal
  • AssetLeaseLeasePaymentReversal
  • AssetLeaseLeaseROUDepreciation
  • AssetLeaseLeaseROUDepreciationReversal
  • AssetLeaseLeaseAdjustmentIncrease
  • AssetLeaseLeaseAdjustmentDecrease
  • AssetLeaseReversePriorLeaseClassification
  • AssetLeaseRecordNewLeaseClassification
  • AssetLeaseLeaseAdjustmentReversal
  • AssetLeaseLeaseAdjustmentIncreaseReversal
  • AssetLeaseLeaseAdjustmentDecreaseReversal
  • AssetLeaseReversePriorLeaseClassificationReversal
  • AssetLeaseRecordNewLeaseClassificationReversal
  • AssetLeaseLeaseExpense
  • AssetLeaseLeaseExpenseReversal
  • AssetLeaseLeaseLiabilityShortTermReclass
  • AssetLeaseLeaseLiabilityShortTermReclassReversal
  • AssetLeaseAssetImpairment
  • AssetLeaseLeaseAssetImpairmentReversal
  • AssetLeaseLeaseTermination
  • AssetLeaseLeaseTerminationReversal
  • ReportingCurrencyAdjustment
  • LedgerSettlement
  • LedgerSettlementReversal
  • LTMInflationAdjustment_AR
  • RevRecSalesOrderRevenueAdjustment
NoYesLedgerJournalTrans.TransactionType
OffsetDefaultDimensionDefault financial dimension values for the offset account.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerJournalTrans.OffsetDefaultDimension
OffsetDefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OverrideSalesTaxYes/No setting that lets the user replace the sales tax found by the tax calculation.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTransTaxExtension.OverrideSalesTax

Foreign keys (37)

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

Email sales@drdynamics.co.uk