Table

LTMCustTable

Customer table

Holds extra tax and identification details for a customer, one row per customer account. It extends the main customer record with taxpayer type, country and state document numbers, registration jurisdiction and free notes. It can also link a customer to a customer set.

Table name
LTMCustTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMCustTableIdx
Replacement key
LTMCustTableIdx
Key fields
AccountNum
Model
GlobalizationLTM

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumCustomer account that this row extends. Points to the customer record.String (20)
CustAccount
YesCustTable.AccountNumLTMCustTableEntity
AccountTypeGroupIdCustomer set that the account belongs to.String (20)
LTMAccountTypeGroupId
NoLTMCustTableEntity
Concept1First free text field for extra information.String (250)
LTMConcept1
NoLTMCustTableEntity
Concept2Second free text field for extra information.String (250)
LTMConcept2
NoLTMCustTableEntity
Concept3Third free text field for extra information.String (250)
LTMConcept3
NoLTMCustTableEntity
CountryDocNumIdentification number of the customer issued at country level.String (40)
LTMCountryDocNum
NoLTMCustTableEntity
CountryDocTypeIdType of document that identifies the customer at country level. Points to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMCustTableEntity
CountryRegionIdCountry or region where the customer is based. Points to a country/region record.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdLTMCustTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
Note1First free-form note.String (-1)
LTMNote
NoLTMCustTableEntity
Note2Second free-form note.String (-1)
LTMNote
NoLTMCustTableEntity
Note3Third free-form note.String (-1)
LTMNote
NoLTMCustTableEntity
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
StateDocNumIdentification number of the customer issued at state level.String (30)
LTMStateDocNum
NoLTMCustTableEntity
StateDocTypeIdType of the state identification document. Points to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMCustTableEntity
StateIdJurisdiction where the customer is registered. Together with the country, it points to a state record.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdLTMCustTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the customer. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdLTMCustTableEntity

Indexes (1)

  • LTMCustTableIdxPrimary indexReplacement key

    AccountNum

    Unique, alternate key.

Relations (7)

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

  • LTMAccountTypeGroup → LTMAccountTypeGroup

    Join on AccountTypeGroupId = LTMAccountTypeGroup.AccountTypeGroupId

    Exactly one LTMCustTable record → zero or one LTMAccountTypeGroup record

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

    Join on CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Zero or one LTMCustTable record → zero or one LTMFiscalRegisterV2 record

  • LTMCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Exactly one LTMCustTable record → zero or one LogisticsAddressCountryRegion record

  • LTMState → LogisticsAddressState

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

    Exactly one LTMCustTable record → zero or one LogisticsAddressState record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

    Join on StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Zero or one LTMCustTable record → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Exactly one LTMCustTable record → zero or one LTMTaxPayerType record

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Zero or one LTMCustTable record → exactly one CustTable record

Get this data out

Tables are not exposed directly. These public entities read from LTMCustTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk