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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompleteDocumentNumFull document number, including the prefix and sales point. | String (20)DocumentNum | Yes | None | |
DocumentDateDate of the document. | DateDocumentDate | Yes | None | |
RefRecIdSystem record ID of the vendor transaction this row extends. | Int64RefRecId | Yes | VendTrans.RecId | None |
AmountCURTransaction amount, shown as debit or credit, in the transaction currency. | RealAmountCurDebCred | No | None | |
AmountMSTTransaction amount in the accounting currency. | RealAmountMST | No | None | |
BankAccountNumBank account identification. | StringBankAccountID | No | None | |
BankGroupIdBank group the account belongs to. | StringBankGroupId | No | None | |
BeneficiaryName of the person or company that receives the document. | String (60)LTMBeneficiary | No | None | |
BussinessNameName or company name of the party issuing the document. | String (60)Name | No | None | |
CaiCaeAuthorisation number (CAI/CAE) given to the document or to a group of documents. | String (50)LTMCaiCae | No | None | |
CAICAEDueDateDate on which the CA number expires. | DateSysDate | No | None | |
Concept1First free-text field for extra information. | String (250)LTMConcept1 | No | None | |
Concept2Second free-text field for extra information. | String (250)LTMConcept2 | No | None | |
Concept3Third free-text field for extra information. | String (250)LTMConcept3 | No | None | |
ControlCodeControl code stored with the document. | String (50)LTMControlCode | No | None | |
CountryDocNumIdentification number issued at country level. | String (40)LTMCountryDocNum | No | None | |
CountryDocTypeIdCountry document type, pointing to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | None |
CountryRegionIdCountry or region of the jurisdiction; used with the state to find the state record. | StringAddressCountryRegionId | No | LogisticsAddressState.CountryRegionId | None |
CPDActionAction on a value document, such as entry, exit, re-entry, emission, accrual or cancellation. | EnumLTMCollectPaymDocAction (enum) | No | None | |
CPDSourceWhether the cheque is the company's own or from a third party. | EnumLTMCheckSource (enum) | No | None | |
CPDTRXHistoryIDRecord ID reference; the target table is not stated in the metadata.low confidence | Int64RefRecId | No | None | |
CPDTRXOpenIDRecord ID reference; the target table is not stated in the metadata.low confidence | Int64RefRecId | No | None | |
CurrencyCodeCurrency code of the transaction. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentClassificationIdDocument class the document belongs to. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | None |
DocumentNumDocument number alone, without the prefix or sales point. | String (20)DocumentNum | No | None | |
DueDateDue date of the document. | DateDueDate | No | None | |
ExchRateExchange rate stored with the transaction. | RealExchRate | No | None | |
HolderAccountNumAccount number of the holder at the bank that issued the securities. | String (30)LTMHolderAccountNum | No | None | |
IsCollectPaymDocYes/No flag showing whether the document is a value document rather than a standard one. | EnumNoYes (enum) | No | None | |
IsConceptYes/No flag for a concept; its exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
LedgerJournalTransIdRecord ID reference to a ledger journal line; the target table is not stated in the metadata.low confidence | Int64RefRecId | No | None | |
ListField01Description text for the first reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField02Description text for the second reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField03Description text for the third reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField04Description text for the fourth reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField05Description text for the fifth reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField06Description text for the sixth reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField07Description text for the seventh reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField08Description text for the eighth reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField09Description text for the ninth reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListField10Description text for the tenth reference code. | String (60)LTMListFieldCodeDescription | No | None | |
ListFieldCode01First reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode02Second reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode03Third reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode04Fourth reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode05Fifth reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode06Sixth reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode07Seventh reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode08Eighth reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode09Ninth reference code. | String (30)LTMListFieldCode | No | None | |
ListFieldCode10Tenth reference code. | String (30)LTMListFieldCode | No | None | |
NameName of the person or company on the document. | String (60)Name | No | None | |
OrigRecIdSystem record ID of the original record; the table is given by OrigTableId. | Int64RecId | No | None | |
OrigTableIdID of the table that holds the original record. | IntegerRefTableId | No | None | |
ParmIdParameter ID of the related update. | String (20)ParmId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTermIdTerms of payment code. | String (100)PaymTermId | No | None | |
PreserveNumYes/No flag for preserving the number; its exact effect is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
PurchaseTypeKind of purchase: journal, purchase order or returned order. | EnumPurchaseType (enum) | No | None | |
PurchIdPurchase order the transaction relates to. | String (20)PurchId | No | PurchTable.PurchId | 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 | |
SalesPointIdSales point whose legal prefix is used in the document numbering. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | None |
SalesPointPrefixPrefix text taken from the sales point. | StringLTMSalesPointPrefix | No | None | |
ShiftIDIdentifier of a shift. | String (20)LTMShiftID | No | None | |
StateDocNumIdentification number issued at state level for the chosen document type. | String (30)LTMStateDocNum | No | None | |
StateDocTypeIdState document type, pointing to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | None |
StateIdState or jurisdiction where the document is registered; used with the country or region. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdTaxpayer type, pointing to the taxpayer type record. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | None |
TreasuryActualSales point code for the treasury where the value currently is.low confidence | StringLTMSalesPointId | No | None | |
TreasuryEnterSales point code for the treasury where the value was entered.low confidence | StringLTMSalesPointId | No | None | |
VoucherVoucher number of the transaction. | String (20)Voucher | No | None | |
WithholdAccruedAmountMSTCumulative withholding amount, with currency not stated in the metadata.low confidence | RealAmount | No | None | |
WithholdAccruedBaseMSTCumulative tax base amount for withholding, with currency not stated in the metadata.low confidence | RealAmount | No | None | |
WithholdingBaseMSTTaxable amount used for withholding. | RealLTMWithholdingAmount | No | None | |
WithholdingEffectiveRateEffective withholding tax rate. | RealLTMEffectiveTaxRate | No | None | |
WithholdingSetIDWithholding tax group applied to the transaction. | String (30)LTMWithholdingSetID | No | None |
Indexes (1)
VendTransReplacement keyCompleteDocumentNum,DocumentDate,RefRecIdUnique, alternate key.
Relations (8)
Each relation joins LTMVendTrans to another table on the fields shown.
LTMCountryFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.CountryDocType = null,CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdOne or more LTMVendTrans records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdOne or more LTMVendTrans records → zero or one LTMSalesPoint record
LTMStateFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.StateDocType = null,StateDocTypeId = LTMFiscalRegisterV2.DocTypeIdOne or more LTMVendTrans records → zero or one LTMFiscalRegisterV2 record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdOne or more LTMVendTrans records → zero or one LTMTaxPayerType record
LTMDocumentClassification→LTMDocumentClassificationJoin on
DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdOne or more LTMVendTrans records → zero or one LTMDocumentClassification record
LogisticsAddressState→LogisticsAddressStateJoin on
CountryRegionId = LogisticsAddressState.CountryRegionId,StateId = LogisticsAddressState.StateIdOne or more LTMVendTrans records → zero or one LogisticsAddressState record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdOne or more LTMVendTrans records → zero or one PurchTable record
VendTrans→VendTransJoin on
RefRecId = VendTrans.RecIdOne 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.