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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CompleteDocumentNumFull document number, shown as the document.String (20)
DocumentNum
YesNone
DocumentDateDate of the document.Date
DocumentDate
YesNone
RefRecIdSystem record ID of the related customer transaction.Int64
RefRecId
YesCustTrans.RecIdNone
AmountCURTransaction amount, shown as a 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 identifier.String
BankGroupId
NoNone
BeneficiaryName of the person or company that receives the document.String (60)
LTMBeneficiary
NoNone
BussinessNameName of the person or company that issued the document.String (60)
Name
NoNone
CaiCaeAuthorisation number given to the company for its invoices.String (50)
LTMCaiCae
NoNone
CAICAEDueDateDate on which the authorisation 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 of 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 where the party is based, linked to a state record.String
AddressCountryRegionId
NoLogisticsAddressState.CountryRegionIdNone
CPDActionAction taken on a collected payment document, such as entry, exit, re-entry, emission, accrual or cancellation.Enum
LTMCollectPaymDocAction (enum)
NoNone
CPDSourceShows whether the cheque is the company's own or from a third party.Enum
LTMCheckSource (enum)
NoNone
CPDTRXHistoryIDSystem record ID of a related history transaction.low confidenceInt64
RefRecId
NoNone
CPDTRXOpenIDSystem record ID of a related open transaction.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 of the transaction.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdNone
DocumentNumDocument number without the prefix and sales point.String (20)
DocumentNum
NoNone
DueDateDate on which payment is due.Date
DueDate
NoNone
ExchRateExchange rate for the transaction.Real
ExchRate
NoNone
HolderAccountNumBank account number of the holder of the security.String (30)
LTMHolderAccountNum
NoNone
IsCollectPaymDocYes/no flag that tells a value document from a standard document.Enum
NoYes (enum)
NoNone
IsConceptYes/no flag for a concept.low confidenceEnum
NoYes (enum)
NoNone
LedgerJournalTransIdSystem record ID of a related ledger journal line.low confidenceInt64
RefRecId
NoNone
ListField01Description text for list field 01.String (60)
LTMListFieldCodeDescription
NoNone
ListField02Description text for list field 02.String (60)
LTMListFieldCodeDescription
NoNone
ListField03Description text for list field 03.String (60)
LTMListFieldCodeDescription
NoNone
ListField04Description text for list field 04.String (60)
LTMListFieldCodeDescription
NoNone
ListField05Description text for list field 05.String (60)
LTMListFieldCodeDescription
NoNone
ListField06Description text for list field 06.String (60)
LTMListFieldCodeDescription
NoNone
ListField07Description text for list field 07.String (60)
LTMListFieldCodeDescription
NoNone
ListField08Description text for list field 08.String (60)
LTMListFieldCodeDescription
NoNone
ListField09Description text for list field 09.String (60)
LTMListFieldCodeDescription
NoNone
ListField10Description text for list field 10.String (60)
LTMListFieldCodeDescription
NoNone
ListFieldCode01Reference code for list field 01.String (30)
LTMListFieldCode
NoNone
ListFieldCode02Reference code for list field 02.String (30)
LTMListFieldCode
NoNone
ListFieldCode03Reference code for list field 03.String (30)
LTMListFieldCode
NoNone
ListFieldCode04Reference code for list field 04.String (30)
LTMListFieldCode
NoNone
ListFieldCode05Reference code for list field 05.String (30)
LTMListFieldCode
NoNone
ListFieldCode06Reference code for list field 06.String (30)
LTMListFieldCode
NoNone
ListFieldCode07Reference code for list field 07.String (30)
LTMListFieldCode
NoNone
ListFieldCode08Reference code for list field 08.String (30)
LTMListFieldCode
NoNone
ListFieldCode09Reference code for list field 09.String (30)
LTMListFieldCode
NoNone
ListFieldCode10Reference code for list field 10.String (30)
LTMListFieldCode
NoNone
NameName of the party on the transaction.String (60)
Name
NoNone
OrigRecIdSystem record ID of the original record.low confidenceInt64
RecId
NoNone
OrigTableIdID of the table that the original record comes from.Integer
RefTableId
NoNone
ParmIdIdentifier of the parameter set.low confidenceString (20)
ParmId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermIdTerms of payment for the transaction.String (100)
PaymTermId
NoNone
PreserveNumYes/no flag about keeping the number.low confidenceEnum
NoYes (enum)
NoNone
PSEnableYes/no flag to show packing slip information.Enum
NoYes (enum)
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
RefNumSource type of the transaction: sales order, project, customer, interest or complementary invoice.Enum
RefNum (enum)
NoNone
SalesIdSales order number.String (20)
SalesId
NoNone
SalesPointIdSales point whose prefix is used in the document numbering.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdNone
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoNone
SalesTypeOrder type, such as journal, subscription, sales order, returned order, item requirements or customer prepayment.Enum
SalesType (enum)
NoNone
ShiftIDIdentifier of the shift.String (20)
LTMShiftID
NoNone
StateDocNumState identification number of the party.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdState document type, pointing to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
StateIdState or jurisdiction where the party is registered.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the party.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdNone
TreasuryActualSales point code for the current treasury.String
LTMSalesPointId
NoNone
TreasuryEnterSales point code for the treasury entry.String
LTMSalesPointId
NoNone
VoucherVoucher number of the transaction.String (20)
Voucher
NoNone
WithholdAccruedAmountMSTCumulative withholding amount in the accounting currency.Real
Amount
NoNone
WithholdAccruedBaseMSTCumulative tax base for withholding in the accounting currency.Real
Amount
NoNone
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency.Real
LTMWithholdingAmount
NoNone
WithholdingEffectiveRateEffective tax rate for the withholding.Real
LTMEffectiveTaxRate
NoNone

Indexes (1)

Relations (7)

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

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

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

    Many LTMCustTrans records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    One or more LTMCustTrans records → zero or one LTMSalesPoint record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

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

    Many LTMCustTrans records → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    One or more LTMCustTrans records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    One or more LTMCustTrans records → zero or one LTMDocumentClassification record

  • CustTrans → CustTrans

    Join on RefRecId = CustTrans.RecId

    One or more LTMCustTrans records → zero or one CustTrans record

  • LogisticsAddressState → LogisticsAddressState

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

    One 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.

Email sales@drdynamics.co.uk