Table

LTMVendTrans

Vendor transactions

Extra LATAM fiscal and document data for a vendor transaction. It is keyed by complete document number, document date and the reference to the vendor transaction. It carries amounts, document types, taxpayer type, withholding figures, bank details and value-document (cheque) information.

Table name
LTMVendTrans
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
VendTrans
Key fields
CompleteDocumentNum, DocumentDate, RefRecId
Model
GlobalizationLTM

Fields (79)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CompleteDocumentNumFull document number, including the prefix and sales point.String (20)
DocumentNum
YesNone
DocumentDateDate of the document.Date
DocumentDate
YesNone
RefRecIdSystem record ID of the vendor transaction this row extends.Int64
RefRecId
YesVendTrans.RecIdNone
AmountCURTransaction amount, shown as debit or credit, in the transaction currency.Real
AmountCurDebCred
NoNone
AmountMSTTransaction amount in the accounting currency.Real
AmountMST
NoNone
BankAccountNumBank account identification.String
BankAccountID
NoNone
BankGroupIdBank group the account belongs to.String
BankGroupId
NoNone
BeneficiaryName of the person or company that receives the document.String (60)
LTMBeneficiary
NoNone
BussinessNameName or company name of the party issuing the document.String (60)
Name
NoNone
CaiCaeAuthorisation number (CAI/CAE) given to the document or to a group of documents.String (50)
LTMCaiCae
NoNone
CAICAEDueDateDate on which the CA number expires.Date
SysDate
NoNone
Concept1First free-text field for extra information.String (250)
LTMConcept1
NoNone
Concept2Second free-text field for extra information.String (250)
LTMConcept2
NoNone
Concept3Third free-text field for extra information.String (250)
LTMConcept3
NoNone
ControlCodeControl code stored with the document.String (50)
LTMControlCode
NoNone
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoNone
CountryDocTypeIdCountry document type, pointing to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
CountryRegionIdCountry or region of the jurisdiction; used with the state to find the state record.String
AddressCountryRegionId
NoLogisticsAddressState.CountryRegionIdNone
CPDActionAction on a value document, such as entry, exit, re-entry, emission, accrual or cancellation.Enum
LTMCollectPaymDocAction (enum)
NoNone
CPDSourceWhether the cheque is the company's own or from a third party.Enum
LTMCheckSource (enum)
NoNone
CPDTRXHistoryIDRecord ID reference; the target table is not stated in the metadata.low confidenceInt64
RefRecId
NoNone
CPDTRXOpenIDRecord ID reference; the target table is not stated in the metadata.low confidenceInt64
RefRecId
NoNone
CurrencyCodeCurrency code of the transaction.String (3)
CurrencyCode
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationIdDocument class the document belongs to.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
DocumentNumDocument number alone, without the prefix or sales point.String (20)
DocumentNum
NoNone
DueDateDue date of the document.Date
DueDate
NoNone
ExchRateExchange rate stored with the transaction.Real
ExchRate
NoNone
HolderAccountNumAccount number of the holder at the bank that issued the securities.String (30)
LTMHolderAccountNum
NoNone
IsCollectPaymDocYes/No flag showing whether the document is a value document rather than a standard one.Enum
NoYes (enum)
NoNone
IsConceptYes/No flag for a concept; its exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
LedgerJournalTransIdRecord ID reference to a ledger journal line; the target table is not stated in the metadata.low confidenceInt64
RefRecId
NoNone
ListField01Description text for the first reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField02Description text for the second reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField03Description text for the third reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField04Description text for the fourth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField05Description text for the fifth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField06Description text for the sixth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField07Description text for the seventh reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField08Description text for the eighth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField09Description text for the ninth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListField10Description text for the tenth reference code.String (60)
LTMListFieldCodeDescription
NoNone
ListFieldCode01First reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode02Second reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode03Third reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode04Fourth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode05Fifth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode06Sixth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode07Seventh reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode08Eighth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode09Ninth reference code.String (30)
LTMListFieldCode
NoNone
ListFieldCode10Tenth reference code.String (30)
LTMListFieldCode
NoNone
NameName of the person or company on the document.String (60)
Name
NoNone
OrigRecIdSystem record ID of the original record; the table is given by OrigTableId.Int64
RecId
NoNone
OrigTableIdID of the table that holds the original record.Integer
RefTableId
NoNone
ParmIdParameter ID of the related update.String (20)
ParmId
YesNone
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
NoNone
PreserveNumYes/No flag for preserving the number; its exact effect is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
PurchaseTypeKind of purchase: journal, purchase order or returned order.Enum
PurchaseType (enum)
NoNone
PurchIdPurchase order the transaction relates to.String (20)
PurchId
NoPurchTable.PurchIdNone
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 whose legal prefix is used in the document numbering.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdNone
SalesPointPrefixPrefix text taken from the sales point.String
LTMSalesPointPrefix
NoNone
ShiftIDIdentifier of a shift.String (20)
LTMShiftID
NoNone
StateDocNumIdentification number issued at state level for the chosen document type.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdState document type, pointing to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
StateIdState or jurisdiction where the document is registered; used with the country or region.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type, pointing to the taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdNone
TreasuryActualSales point code for the treasury where the value currently is.low confidenceString
LTMSalesPointId
NoNone
TreasuryEnterSales point code for the treasury where the value was entered.low confidenceString
LTMSalesPointId
NoNone
VoucherVoucher number of the transaction.String (20)
Voucher
NoNone
WithholdAccruedAmountMSTCumulative withholding amount, with currency not stated in the metadata.low confidenceReal
Amount
NoNone
WithholdAccruedBaseMSTCumulative tax base amount for withholding, with currency not stated in the metadata.low confidenceReal
Amount
NoNone
WithholdingBaseMSTTaxable amount used for withholding.Real
LTMWithholdingAmount
NoNone
WithholdingEffectiveRateEffective withholding tax rate.Real
LTMEffectiveTaxRate
NoNone
WithholdingSetIDWithholding tax group applied to the transaction.String (30)
LTMWithholdingSetID
NoNone

Indexes (1)

Relations (8)

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

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.CountryDocType = null, CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    One or more LTMVendTrans records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    One or more LTMVendTrans records → zero or one LTMSalesPoint record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.StateDocType = null, StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    One or more LTMVendTrans records → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    One or more LTMVendTrans records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    One or more LTMVendTrans records → zero or one LTMDocumentClassification record

  • LogisticsAddressState → LogisticsAddressState

    Join on CountryRegionId = LogisticsAddressState.CountryRegionId, StateId = LogisticsAddressState.StateId

    One or more LTMVendTrans records → zero or one LogisticsAddressState record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    One or more LTMVendTrans records → zero or one PurchTable record

  • VendTrans → VendTrans

    Join on RefRecId = VendTrans.RecId

    One or more LTMVendTrans records → exactly one VendTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk