Table

LTMLedgerJournalTrans

LATAM journal lines

Holds LATAM extra data for a ledger journal line. It links to the standard journal line through journal number, voucher and line number. It stores document details, tax identification, sales point, withholding tax, payment document (CPD) data and reference list fields.

Table name
LTMLedgerJournalTrans
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMLedgerJournalTransIdx
Replacement key
LTMLedgerJournalTransIdx
Key fields
LineNum, Voucher, JournalNum
Model
GlobalizationLTM

Fields (83)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LineNumLine number within the journal.Real
LineNum
YesLedgerJournalTrans.LineNumLTMLedgerJournalTransEntityLedgerJournalLineEntity
VoucherVoucher number of the journal line.String (20)
Voucher
YesLedgerJournalTrans.VoucherLTMLedgerJournalTransEntity
JournalNumNumber of the journal batch that holds the line.String (20)
LedgerJournalId
YesLedgerJournalTable.JournalNumLTMLedgerJournalTransEntityLedgerJournalLineEntity
AccountNumAccount number of the journal line.String (20)
AccountNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
AmountCURLine amount in the transaction currency.Real
AmountCur
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
AmountMSTLine amount in the company's accounting currency.Real
AmountMST
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
BankAccountNumBank account of the issuing bank.String
BankAccountID
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
BankChequeNumCheck number.String (20)
BankChequeNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
BankGroupIdBank group linked to the line.String
BankGroupId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
BeneficiaryName of the person or company that receives the document.String (60)
LTMBeneficiary
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
BussinessNameName of the person or company that issues the document.String (60)
Name
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CAICAEAuthorisation number given for a group of invoices or a single invoice.String (50)
LTMCaiCae
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CAICAEDueDateDate until which the authorisation number is valid.Date
SysDate
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CompleteDocumentNumFull document number, shown without the prefix and point of sale part.low confidenceString (50)
LTMCompleteDocumentNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
Concept1First free text field for extra information on the line.String (250)
LTMConcept1
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
Concept2Second free text field for extra information on the line.String (250)
LTMConcept2
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
Concept3Third free text field for extra information on the line.String (250)
LTMConcept3
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ControlCodeControl code attached to the document.String (50)
LTMControlCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CountryDocTypeIdType of document behind the country identification number.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMLedgerJournalTransEntityLedgerJournalLineEntity
CountryRegionIdCountry or region where the settlement is based.String
AddressCountryRegionId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CPDActionAction done on the payment document, such as entry, exit, re-entry, emission, accrual or cancellation.Enum
LTMCollectPaymDocAction (enum)
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CPDCustPostingProfileCustomer posting profile linked to the payment document line.String
PostingProfile
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CPDSourceShows whether the check is the company's own or from a third party.Enum
LTMCheckSource (enum)
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CPDTRXHistoryIDSystem record ID of a related payment document history transaction.low confidenceInt64
RefRecId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CPDTRXOpenIDSystem record ID of a related open payment document transaction.low confidenceInt64
RefRecId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency of the line.String (3)
CurrencyCode
NoCurrency.CurrencyCodeLTMLedgerJournalTransEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationIdDocument class that the line's document belongs to.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMLedgerJournalTransEntityLedgerJournalLineEntity
DocumentDateDate of the document, repeated here for convenience.Date
DocumentDate
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
DocumentNumDocument number, shown without the prefix and point of sale part.String (20)
DocumentNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
DueDateDue date, repeated here for convenience.Date
DueDate
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ExchRateExchange rate used on the line.Real
ExchRate
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
HolderAccountNumBank account number of the holder of the issued security.String (30)
LTMHolderAccountNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
IsCollectPaymDocYes/no flag showing if the document class is a value document rather than a standard document.Enum
NoYes (enum)
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
IsConceptYes/no flag for whether the line is a concept line.low confidenceEnum
NoYes (enum)
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
LedgerJournalTransIdSystem record ID of the standard journal line this record extends.Int64
RefRecId
NoLedgerJournalTrans.RecIdLTMLedgerJournalTransEntityLedgerJournalLineEntity
LedgerJournalTypeType of account on the line, such as ledger, customer, vendor, bank or project.Enum
LedgerJournalACType (enum)
NoLedgerJournalLineEntity
ListField01Description for the first reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField02Description for the second reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField03Description for the third reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField04Description for the fourth reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField05Description for the fifth reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField06Description for the sixth reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField07Description for the seventh reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField08Description for the eighth reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField09Description for the ninth reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListField10Description for the tenth reference list value.String (60)
LTMListFieldCodeDescription
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode01Reference code chosen from the first list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode02Reference code chosen from the second list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode03Reference code chosen from the third list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode04Reference code chosen from the fourth list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode05Reference code chosen from the fifth list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode06Reference code chosen from the sixth list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode07Reference code chosen from the seventh list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode08Reference code chosen from the eighth list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode09Reference code chosen from the ninth list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ListFieldCode10Reference code chosen from the tenth list.String (30)
LTMListFieldCode
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OrigExchRateExchange rate of the original (source) transaction.Real
ExchRate
NoLedgerJournalLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermIdTerms of payment code.String (100)
PaymTermId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
PreserveNumYes/no flag about preserving the number.low confidenceEnum
NoYes (enum)
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesPointIdSales point, a legal numbering prefix, used for the document.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdLTMLedgerJournalTransEntityLedgerJournalLineEntity
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
ShiftIDIdentifier of the shift.low confidenceString (20)
LTMShiftID
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
StateDocNumIdentification number issued at state level.String (30)
LTMStateDocNum
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
StateDocTypeIdType of document behind the state identification number.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMLedgerJournalTransEntityLedgerJournalLineEntity
StateIdState or jurisdiction where the party is registered.String
LogisticsAddressStateId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdCode of the taxpayer type.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdLTMLedgerJournalTransEntityLedgerJournalLineEntity
TreasuryActualSales point code for the treasury that currently holds the item.low confidenceString
LTMSalesPointId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
TreasuryEnterSales point code for the treasury where the item is entered.low confidenceString
LTMSalesPointId
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
WithholdAccruedAmountMSTCumulative amount used for withholding tax, in accounting currency.Real
Amount
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
WithholdAccruedBaseMSTCumulative tax base used for withholding tax, in accounting currency.Real
Amount
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
WithholdingBaseMSTTaxable amount for withholding tax.Real
LTMWithholdingAmount
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
WithholdingEffectiveRateEffective withholding tax rate.Real
LTMEffectiveTaxRate
NoLTMLedgerJournalTransEntityLedgerJournalLineEntity
WithholdingSetIDWithholding tax group used on the line.String (30)
LTMWithholdingSetID
NoTaxWithholdGroupHeading.TaxWithholdGroupLTMLedgerJournalTransEntityLedgerJournalLineEntity

Indexes (5)

Relations (12)

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

  • LTMFiscalRegister → LTMFiscalRegisterV2

    Join on CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    One or more LTMLedgerJournalTrans records → zero or one LTMFiscalRegisterV2 record

  • LTMFiscalRegisterState → LTMFiscalRegisterV2

    Join on StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    One or more LTMLedgerJournalTrans records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    One or more LTMLedgerJournalTrans records → zero or one LTMSalesPoint record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMLedgerJournalTrans records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    One or more LTMLedgerJournalTrans records → zero or one LTMDocumentClassification record

  • LTMWithholdingSet → TaxWithholdGroupHeading

    Join on WithholdingSetID = TaxWithholdGroupHeading.TaxWithholdGroup

    One or more LTMLedgerJournalTrans records → zero or one TaxWithholdGroupHeading record

  • CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more LTMLedgerJournalTrans records → zero or one Currency record

  • CustInvoiceJour → CustInvoiceJour

    Join on Voucher = CustInvoiceJour.LedgerVoucher, CompleteDocumentNum = CustInvoiceJour.InvoiceId

    One or more LTMLedgerJournalTrans records → zero or one CustInvoiceJour record

  • LedgerJournalTable → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    One or more LTMLedgerJournalTrans records → zero or one LedgerJournalTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on LineNum = LedgerJournalTrans.LineNum, Voucher = LedgerJournalTrans.Voucher, JournalNum = LedgerJournalTrans.JournalNum

    Zero or one LTMLedgerJournalTrans record → exactly one LedgerJournalTrans record

  • VendInvoiceJour → VendInvoiceJour

    Join on CompleteDocumentNum = VendInvoiceJour.InvoiceId, Voucher = VendInvoiceJour.LedgerVoucher

    One or more LTMLedgerJournalTrans records → zero or one VendInvoiceJour record

  • LedgerJournalTrans1 → LedgerJournalTrans

    Join on LedgerJournalTransId = LedgerJournalTrans.RecId

    Zero or one LTMLedgerJournalTrans record → exactly one LedgerJournalTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk