Table
LTMCustTrans
Customer transaction
Stores extra LATAM information for a customer transaction, such as document numbers, sales point prefix, tax identifiers and free text. It is linked to the standard customer transaction through RefRecId. It also holds withholding figures and fields for value documents such as cheques. The key is the full document number, document date and RefRecId.
- Table name
LTMCustTrans- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
CustTrans- Replacement key
CustTrans- Key fields
CompleteDocumentNum, DocumentDate, RefRecId- Model
GlobalizationLTM
Fields (80)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompleteDocumentNumFull document number, shown as the document. | String (20)DocumentNum | Yes | None | |
DocumentDateDate of the document. | DateDocumentDate | Yes | None | |
RefRecIdSystem record ID of the related customer transaction. | Int64RefRecId | Yes | CustTrans.RecId | None |
AmountCURTransaction amount, shown as a 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 identifier. | StringBankGroupId | No | None | |
BeneficiaryName of the person or company that receives the document. | String (60)LTMBeneficiary | No | None | |
BussinessNameName of the person or company that issued the document. | String (60)Name | No | None | |
CaiCaeAuthorisation number given to the company for its invoices. | String (50)LTMCaiCae | No | None | |
CAICAEDueDateDate on which the authorisation 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 of 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 where the party is based, linked to a state record. | StringAddressCountryRegionId | No | LogisticsAddressState.CountryRegionId | None |
CPDActionAction taken on a collected payment document, such as entry, exit, re-entry, emission, accrual or cancellation. | EnumLTMCollectPaymDocAction (enum) | No | None | |
CPDSourceShows whether the cheque is the company's own or from a third party. | EnumLTMCheckSource (enum) | No | None | |
CPDTRXHistoryIDSystem record ID of a related history transaction.low confidence | Int64RefRecId | No | None | |
CPDTRXOpenIDSystem record ID of a related open transaction.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 of the transaction. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | None |
DocumentNumDocument number without the prefix and sales point. | String (20)DocumentNum | No | None | |
DueDateDate on which payment is due. | DateDueDate | No | None | |
ExchRateExchange rate for the transaction. | RealExchRate | No | None | |
HolderAccountNumBank account number of the holder of the security. | String (30)LTMHolderAccountNum | No | None | |
IsCollectPaymDocYes/no flag that tells a value document from a standard document. | EnumNoYes (enum) | No | None | |
IsConceptYes/no flag for a concept.low confidence | EnumNoYes (enum) | No | None | |
LedgerJournalTransIdSystem record ID of a related ledger journal line.low confidence | Int64RefRecId | No | None | |
ListField01Description text for list field 01. | String (60)LTMListFieldCodeDescription | No | None | |
ListField02Description text for list field 02. | String (60)LTMListFieldCodeDescription | No | None | |
ListField03Description text for list field 03. | String (60)LTMListFieldCodeDescription | No | None | |
ListField04Description text for list field 04. | String (60)LTMListFieldCodeDescription | No | None | |
ListField05Description text for list field 05. | String (60)LTMListFieldCodeDescription | No | None | |
ListField06Description text for list field 06. | String (60)LTMListFieldCodeDescription | No | None | |
ListField07Description text for list field 07. | String (60)LTMListFieldCodeDescription | No | None | |
ListField08Description text for list field 08. | String (60)LTMListFieldCodeDescription | No | None | |
ListField09Description text for list field 09. | String (60)LTMListFieldCodeDescription | No | None | |
ListField10Description text for list field 10. | String (60)LTMListFieldCodeDescription | No | None | |
ListFieldCode01Reference code for list field 01. | String (30)LTMListFieldCode | No | None | |
ListFieldCode02Reference code for list field 02. | String (30)LTMListFieldCode | No | None | |
ListFieldCode03Reference code for list field 03. | String (30)LTMListFieldCode | No | None | |
ListFieldCode04Reference code for list field 04. | String (30)LTMListFieldCode | No | None | |
ListFieldCode05Reference code for list field 05. | String (30)LTMListFieldCode | No | None | |
ListFieldCode06Reference code for list field 06. | String (30)LTMListFieldCode | No | None | |
ListFieldCode07Reference code for list field 07. | String (30)LTMListFieldCode | No | None | |
ListFieldCode08Reference code for list field 08. | String (30)LTMListFieldCode | No | None | |
ListFieldCode09Reference code for list field 09. | String (30)LTMListFieldCode | No | None | |
ListFieldCode10Reference code for list field 10. | String (30)LTMListFieldCode | No | None | |
NameName of the party on the transaction. | String (60)Name | No | None | |
OrigRecIdSystem record ID of the original record.low confidence | Int64RecId | No | None | |
OrigTableIdID of the table that the original record comes from. | IntegerRefTableId | No | None | |
ParmIdIdentifier of the parameter set.low confidence | String (20)ParmId | No | 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 for the transaction. | String (100)PaymTermId | No | None | |
PreserveNumYes/no flag about keeping the number.low confidence | EnumNoYes (enum) | No | None | |
PSEnableYes/no flag to show packing slip information. | EnumNoYes (enum) | 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 | |
RefNumSource type of the transaction: sales order, project, customer, interest or complementary invoice. | EnumRefNum (enum) | No | None | |
SalesIdSales order number. | String (20)SalesId | No | None | |
SalesPointIdSales point whose prefix is used in the document numbering. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | None |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | None | |
SalesTypeOrder type, such as journal, subscription, sales order, returned order, item requirements or customer prepayment. | EnumSalesType (enum) | No | None | |
ShiftIDIdentifier of the shift. | String (20)LTMShiftID | No | None | |
StateDocNumState identification number of the party. | 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 party is registered. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdTaxpayer type of the party. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | None |
TreasuryActualSales point code for the current treasury. | StringLTMSalesPointId | No | None | |
TreasuryEnterSales point code for the treasury entry. | StringLTMSalesPointId | No | None | |
VoucherVoucher number of the transaction. | String (20)Voucher | No | None | |
WithholdAccruedAmountMSTCumulative withholding amount in the accounting currency. | RealAmount | No | None | |
WithholdAccruedBaseMSTCumulative tax base for withholding in the accounting currency. | RealAmount | No | None | |
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency. | RealLTMWithholdingAmount | No | None | |
WithholdingEffectiveRateEffective tax rate for the withholding. | RealLTMEffectiveTaxRate | No | None |
Indexes (1)
CustTransPrimary indexReplacement keyCompleteDocumentNum,DocumentDate,RefRecIdUnique, alternate key.
Relations (7)
Each relation joins LTMCustTrans to another table on the fields shown.
LTMCountryFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.CountryDocType = null,CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMCustTrans records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdOne or more LTMCustTrans records → zero or one LTMSalesPoint record
LTMStateFiscalRegister→LTMFiscalRegisterV2Join on
LTMFiscalRegisterV2.StateDocType = null,StateDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMCustTrans records → zero or one LTMFiscalRegisterV2 record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdOne or more LTMCustTrans records → zero or one LTMTaxPayerType record
LTMDocumentClassification→LTMDocumentClassificationJoin on
DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdOne or more LTMCustTrans records → zero or one LTMDocumentClassification record
CustTrans→CustTransJoin on
RefRecId = CustTrans.RecIdOne or more LTMCustTrans records → zero or one CustTrans record
LogisticsAddressState→LogisticsAddressStateJoin on
CountryRegionId = LogisticsAddressState.CountryRegionId,StateId = LogisticsAddressState.StateIdOne or more LTMCustTrans records → zero or one LogisticsAddressState record
Get this data out
No public entity reads from LTMCustTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with LTMCustTrans in a report, an integration or a migration? Talk to Dr Dynamics.