Table

LedgerJournalTrans_W

Order line information for other country contexts

Extra journal line information for country or region specific needs. Each record points to one journal line. It holds payment format codes, address details and fields for Mexico (CFDI withholding), India, Russia and others.

Table name
LedgerJournalTrans_W
Module
General ledger
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (34)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CashRegisterTerminalPoints to the cash register terminal.Int64
CashRegisterTerminalRecId_W
NoCashRegisterTerminal_W.RecIdLedgerJournalTransWBiEntity
CategoryPurposePoints to a payment format code that gives the category purpose.Int64
CategoryPurposeRecId_W
NoPaymentFormatCodeSets_W.RecIdLedgerJournalTransWBiEntityVendorPaymentJournalLineEntity
CFDIBeneficiaryRetains_MXYes/No flag showing whether the payment beneficiary is the one who retains the tax; used for Mexico.Enum
CFDIBeneficiaryRetains_MX
NoYes (enum)
NoLedgerJournalTransWBiEntity
CFDIFinancialSystem_MXYes/No flag for financial system in CFDI withholding; used for Mexico.Enum
CFDIFinancialSystem_MX
NoYes (enum)
NoLedgerJournalTransWBiEntity
CFDIInterestBelongsDerivedFinOp_MXYes/No flag showing whether interest relates to derived financial operations; used for Mexico.Enum
CFDIInterestBelongsDerivedFinOp_MX
NoYes (enum)
NoLedgerJournalTransWBiEntity
CFDIInterestCashedInTheCurrentPeriod_MXYes/No flag showing whether interest was cashed in the current period; used for Mexico.Enum
CFDIInterestCashedInTheCurrentPeriod_MX
NoYes (enum)
NoLedgerJournalTransWBiEntity
CFDIInterestLossAmount_MXAmount of interest loss; used for Mexico.Real
CFDIInterestLossAmount_MX
NoLedgerJournalTransWBiEntity
CFDIInterestNominalAmount_MXNominal amount of interest; used for Mexico.Real
CFDIInterestNominalAmount_MX
NoLedgerJournalTransWBiEntity
CFDIInterestRealAmount_MXReal amount of interest; used for Mexico.Real
CFDIInterestRealAmount_MX
NoLedgerJournalTransWBiEntity
ChargeBearerPoints to a payment format code that says who bears the charges.Int64
ChargeBearerRecId_W
NoPaymentFormatCodeSets_W.RecIdLedgerJournalTransWBiEntityVendorPaymentJournalLineEntity
CustomerDeliveryAddressPoints to the customer's delivery address.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdLedgerJournalTransWBiEntity
CustomerDeliveryAddressNameName linked to the customer's delivery address.String (160)
CustName
NoLedgerJournalTransWBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoLedgerJournalTransWBiEntity
EPaymCFDIConfirmNumber_MXConfirmation number returned by the provider when a CFDI is over the limit; used for Mexico.String (5)
EInvoiceCFDIConfirmNumber_MX
NoLedgerJournalTransWBiEntity
EstablishmentPoints to the operating unit used as the establishment.Int64
OMOperatingUnitRefRecId
NoOMOperatingUnit.RecIdLedgerJournalTransWBiEntity
LedgerJournalTransPoints to the journal line this record extends.Int64
LedgerJournalTransRefRecId
YesLedgerJournalTrans.RecIdLedgerJournalTransWBiEntity
LocalInstrumentPoints to a payment format code for the local instrument.Int64
LocalInstrumentRecId_W
NoPaymentFormatCodeSets_W.RecIdLedgerJournalTransWBiEntityVendorPaymentJournalLineEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoLedgerJournalTransWBiEntity
OrigPaymRefRecId_RURecord reference to the original prepayment; used for Russia.Int64
RefRecId
NoLedgerJournalTransWBiEntity
OrigPaymRefTableId_RUID of the table that the original prepayment reference points to; used for Russia.Integer
RefTableId
NoLedgerJournalTransWBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PSPrefixTRPrefix of the e-invoice serial number, showing the document type or category.String
PSPrefixTR
NoLedgerJournalTransWBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoLedgerJournalTransWBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoLedgerJournalTransWBiEntity
RefPurchInvoiceDate_INDate of the referenced purchase invoice; used for India.Date
TransDate
NoLedgerJournalTransWBiEntity
RefPurchInvoiceId_INNumber of the referenced purchase invoice; used for India.String (50)
InvoiceId
NoLedgerJournalTransWBiEntity
RefSalesInvoiceDate_INDate of the referenced sales invoice; used for India.Date
TransDate
NoLedgerJournalTransWBiEntity
RefSalesInvoiceId_INNumber of the referenced sales invoice; used for India.String (50)
InvoiceId
NoLedgerJournalTransWBiEntity
ServiceLevelPoints to a payment format code for the service level.Int64
ServiceLevelRecId_W
NoPaymentFormatCodeSets_W.RecIdLedgerJournalTransWBiEntityVendorPaymentJournalLineEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendorShipFromAddressPoints to the address the vendor ships from.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdLedgerJournalTransWBiEntity
VendorShipFromAddressNameName linked to the vendor's ship-from address.String (160)
VendName
NoLedgerJournalTransWBiEntity
WithholdingTypeCode_MXCode of the withholding type; used for Mexico.String (5)
CFDIWithholdingTypeCode_MX
NoCFDIWithholdingType_MX.CodeLedgerJournalTransWBiEntity

Indexes (2)

Relations (13)

Each relation joins LedgerJournalTrans_W to another table on the fields shown.

  • LedgerJournalTrans → LedgerJournalTrans

    Join on LedgerJournalTrans = LedgerJournalTrans.RecId

    Zero or one LedgerJournalTrans_W record → exactly one LedgerJournalTrans record

  • PaymentFormatCodeSets_CategoryPurpose → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::CategoryPurpose, CategoryPurpose = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTrans_W records → zero or one PaymentFormatCodeSets_W record

  • PaymentFormatCodeSets_ChargeBearer → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::ChargeBearer, ChargeBearer = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTrans_W records → zero or one PaymentFormatCodeSets_W record

  • PaymentFormatCodeSets_LocalInstrument → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::LocalInstrument, LocalInstrument = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTrans_W records → zero or one PaymentFormatCodeSets_W record

  • PaymentFormatCodeSets_ServiceLevel → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::ServiceLevel, ServiceLevel = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTrans_W records → zero or one PaymentFormatCodeSets_W record

  • CashRegisterTerminal_W → CashRegisterTerminal_W

    Join on CashRegisterTerminal = CashRegisterTerminal_W.RecId

    Many LedgerJournalTrans_W records → zero or one CashRegisterTerminal_W record

  • CFDIWithholdingType_MX → CFDIWithholdingType_MX

    Join on WithholdingTypeCode_MX = CFDIWithholdingType_MX.Code

    Many LedgerJournalTrans_W records → zero or one CFDIWithholdingType_MX record

  • CustTrans → CustTrans

    Join on OrigPaymRefTableId_RU = CustTrans.TableId, OrigPaymRefRecId_RU = CustTrans.RecId

    Zero or one LedgerJournalTrans_W record → zero or one CustTrans record

  • VendTrans → VendTrans

    Join on OrigPaymRefTableId_RU = VendTrans.TableId, OrigPaymRefRecId_RU = VendTrans.RecId

    Zero or one LedgerJournalTrans_W record → zero or one VendTrans record

  • PSSerialTableTR → PSSerialTableTR

    Join on PSPrefixTR = PSSerialTableTR.Prefix

    Many LedgerJournalTrans_W records → zero or one PSSerialTableTR record

  • VendorShipFromAddress_FK → LogisticsPostalAddress

    Join on VendorShipFromAddress = LogisticsPostalAddress.RecId

    Many LedgerJournalTrans_W records → zero or one LogisticsPostalAddress record

  • Establishment_FK → OMOperatingUnit

    Join on Establishment = OMOperatingUnit.RecId

    Cardinality not set in the metadata.

  • CustomerDeliveryAddress_FK → LogisticsPostalAddress

    Join on CustomerDeliveryAddress = LogisticsPostalAddress.RecId

    Many LedgerJournalTrans_W records → zero or one LogisticsPostalAddress record

Get this data out

Tables are not exposed directly. These public entities read from LedgerJournalTrans_W; use one of them in Power BI, Power Platform or a data management project.

Need help with LedgerJournalTrans_W in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk