Table

LTMEntryVoucherOriginV2

Entry voucher origin

A second version of the entry voucher origin table. RefRecId points to a customer, project or vendor invoice journal instead of a transaction. It holds the document, invoice, amount and currency of the origin.

Table name
LTMEntryVoucherOriginV2
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
OriginIdx
Key fields
RefRecId, LedgerJournalACType, DocumentDate, InvoiceId, Voucher
Model
GlobalizationLTM

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdSystem record ID of the customer, project or vendor invoice journal.Int64
RefRecId
NoCustInvoiceJour.RecIdProjInvoiceJour.RecIdVendInvoiceJour.RecIdNone
LedgerJournalACTypeType of account, such as ledger, customer, vendor, project, fixed assets, bank, advance holder, deferrals or petty cash.Enum
LedgerJournalACType (enum)
NoNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
InvoiceIdInvoice number.String (50)
InvoiceId
NoNone
VoucherVoucher number.String (20)
Voucher
NoNone
AmountMSTAmount in the accounting currency.Real
AmountMST
NoNone
CurrencyCodeCurrency code of the origin document.String (3)
CurrencyCode
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentNumDocument number.String (20)
DocumentNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • CustInvoiceJour → CustInvoiceJour

    Join on RefRecId = CustInvoiceJour.RecId, LedgerJournalACType = LedgerJournalACType::Cust

    Many LTMEntryVoucherOriginV2 records → zero or one CustInvoiceJour record

  • VendInvoiceJour → VendInvoiceJour

    Join on RefRecId = VendInvoiceJour.RecId, LedgerJournalACType = LedgerJournalACType::Vend

    Many LTMEntryVoucherOriginV2 records → zero or one VendInvoiceJour record

  • ProjInvoiceJour → ProjInvoiceJour

    Join on RefRecId = ProjInvoiceJour.RecId, LedgerJournalACType = LedgerJournalACType::Project

    Many LTMEntryVoucherOriginV2 records → zero or one ProjInvoiceJour record

Get this data out

No public entity reads from LTMEntryVoucherOriginV2. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk