Table

LTMSalesTable

Sales table

Holds LATAM tax and identification details for a sales order. Each row is keyed by sales order number and links to the standard sales order and to taxpayer type.

Table name
LTMSalesTable
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
SalesIdx
Key fields
SalesId
Model
GlobalizationLTM

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesIdSales order that this row extends. Points to a sales order record.String (20)
SalesIdBase
YesSalesTable.SalesIdLTMSalesTableEntity
BussinessNameName of the person or company on the document.String (60)
Name
NoLTMSalesTableEntity
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoLTMSalesTableEntity
CountryDocTypeIdCode for the type of country-level identification document.String (15)
LTMDocTypeId
NoLTMSalesTableEntity
CountryRegionIdCountry or region where the party is based.String
AddressCountryRegionId
NoLTMSalesTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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 issued at state level.String (30)
LTMStateDocNum
NoLTMSalesTableEntity
StateDocTypeIdCode for the type of state-level identification document.String (15)
LTMDocTypeId
NoLTMSalesTableEntity
StateIdRegistered state or jurisdiction.String
LogisticsAddressStateId
NoLTMSalesTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type for the order. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdLTMSalesTableEntity

Indexes (2)

Relations (2)

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

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMSalesTable records → zero or one LTMTaxPayerType record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Zero or one LTMSalesTable record → zero or one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk