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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdSystem record ID of the customer, project or vendor invoice journal. | Int64RefRecId | No | CustInvoiceJour.RecIdProjInvoiceJour.RecIdVendInvoiceJour.RecId | None |
LedgerJournalACTypeType of account, such as ledger, customer, vendor, project, fixed assets, bank, advance holder, deferrals or petty cash. | EnumLedgerJournalACType (enum) | No | None | |
DocumentDateDate of the document. | DateDocumentDate | No | None | |
InvoiceIdInvoice number. | String (50)InvoiceId | No | None | |
VoucherVoucher number. | String (20)Voucher | No | None | |
AmountMSTAmount in the accounting currency. | RealAmountMST | No | None | |
CurrencyCodeCurrency code of the origin document. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentNumDocument number. | String (20)DocumentNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
OriginIdxReplacement keyRefRecId,LedgerJournalACType,DocumentDate,InvoiceId,VoucherUnique, alternate key.
Relations (3)
Each relation joins LTMEntryVoucherOriginV2 to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
RefRecId = CustInvoiceJour.RecId,LedgerJournalACType = LedgerJournalACType::CustMany LTMEntryVoucherOriginV2 records → zero or one CustInvoiceJour record
VendInvoiceJour→VendInvoiceJourJoin on
RefRecId = VendInvoiceJour.RecId,LedgerJournalACType = LedgerJournalACType::VendMany LTMEntryVoucherOriginV2 records → zero or one VendInvoiceJour record
ProjInvoiceJour→ProjInvoiceJourJoin on
RefRecId = ProjInvoiceJour.RecId,LedgerJournalACType = LedgerJournalACType::ProjectMany 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.