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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentNumDocument number.String (20)
DocumentNum
YesNone
InvoiceIdInvoice number.String (50)
InvoiceId
YesNone
LedgerJournalACTypeType of account, such as ledger, customer, vendor, project, fixed assets, bank, advance holder, deferrals or petty cash.Enum
LedgerJournalACType (enum)
YesNone
VoucherVoucher number.String (20)
Voucher
YesNone
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
DocumentDateDate of the document.Date
DocumentDate
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
RefRecIdSystem record ID of the customer or vendor transaction.Int64
RefRecId
YesCustTrans.RecIdVendTrans.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • RelCustTrans → CustTrans

    Join on RefRecId = CustTrans.RecId

    One or more LTMEntryVoucherOrigin records → zero or one CustTrans record

  • RelVendTrans → VendTrans

    Join on RefRecId = VendTrans.RecId

    One or more LTMEntryVoucherOrigin records → zero or one VendTrans record

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.

Email sales@drdynamics.co.uk