Table
LTMEntryVoucherOrigin
Entry voucher origin
Records the origin of an entry voucher, with its document, invoice, amount and currency. RefRecId points to a customer or vendor transaction. The account type shows which kind of account the voucher relates to.
- Table name
LTMEntryVoucherOrigin- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RefRecIdIdx- Replacement key
OriginIdx- Key fields
DocumentNum, InvoiceId, LedgerJournalACType, Voucher- Model
GlobalizationLTM
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocumentNumDocument number. | String (20)DocumentNum | Yes | None | |
InvoiceIdInvoice number. | String (50)InvoiceId | Yes | None | |
LedgerJournalACTypeType of account, such as ledger, customer, vendor, project, fixed assets, bank, advance holder, deferrals or petty cash. | EnumLedgerJournalACType (enum) | Yes | None | |
VoucherVoucher number. | String (20)Voucher | Yes | 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 | |
DocumentDateDate of the document. | DateDocumentDate | 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 | |
RefRecIdSystem record ID of the customer or vendor transaction. | Int64RefRecId | Yes | CustTrans.RecIdVendTrans.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
OriginIdxReplacement keyDocumentNum,InvoiceId,LedgerJournalACType,VoucherUnique, alternate key.
RefRecIdIdxPrimary indexUnique, alternate key.
Relations (2)
Each relation joins LTMEntryVoucherOrigin to another table on the fields shown.
Get this data out
No public entity reads from LTMEntryVoucherOrigin. Its data is only reachable through the application, a custom entity or a database export.
Need help with LTMEntryVoucherOrigin in a report, an integration or a migration? Talk to Dr Dynamics.