Table

LTMCustTaxesAreaDetail

Customer taxes area detail

Holds dated tax detail lines for a customer taxes area. Each line is for one sales tax code and a validity period. It stores values such as the tax value, reduction and publication date. It relates to the customer taxes area through the reference, account, country, state and county.

Table name
LTMCustTaxesAreaDetail
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMCustTaxesAreaDetailIdx
Replacement key
LTMCustTaxesAreaDetailIdx
Key fields
RefRecId, StateId, CountyId, CountryRegionId, AccountNum, ToDate, FromDate, TaxCode
Model
GlobalizationLTM

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdRecord ID that relates the line to the customer taxes area.Int64
RefRecId
YesLTMCustTaxesAreaDetailEntity
StateIdState of the tax area. Relates to the customer taxes area.String
LogisticsAddressStateId
YesLTMCustTaxesAreaDetailEntity
CountyIdCounty of the tax area. Relates to the customer taxes area.String (30)
AddressCountyId
YesLTMCustTaxesAreaDetailEntity
CountryRegionIdCountry or region of the tax area. Relates to the customer taxes area.String
AddressCountryRegionId
YesLTMCustTaxesAreaDetailEntity
AccountNumCustomer account number. Relates to the customer taxes area.String (20)
AccountNum
YesLTMCustTaxesAreaDetailEntity
ToDateEnd date of the validity period.Date
SysDate
YesLTMCustTaxesAreaDetailEntity
FromDateStart date of the validity period.Date
SysDate
YesLTMCustTaxesAreaDetailEntity
TaxCodeSales tax code. Points to a tax code record.String
TaxCode
YesTaxTable.TaxCodeLTMCustTaxesAreaDetailEntity
AddressRecIdReference to an address record, stored as a record ID.low confidenceInt64
RefRecId
NoLTMCustTaxesAreaDetailEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EnableReductionYes/no flag that allows a reduction value to be entered.Enum
NoYes (enum)
NoLTMCustTaxesAreaDetailEntity
EnableValueYes/no flag that allows a value to be entered.Enum
NoYes (enum)
NoLTMCustTaxesAreaDetailEntity
OperationTypeKind of change for the line: add, modify or delete.Enum
LTMTaxOperationType (enum)
NoLTMCustTaxesAreaDetailEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PublicationDateDate when the tax detail was published.Date
SysDate
NoLTMCustTaxesAreaDetailEntity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxesFilterTax filter option: all taxes or only assigned taxes.Enum
LTMTaxesFilter (enum)
YesLTMCustTaxesAreaDetailEntity
TaxReductionReduction amount for the tax code.Real
Amount
NoLTMCustTaxesAreaDetailEntity
TaxValueTax value for the tax code.Real
TaxValue
NoLTMCustTaxesAreaDetailEntity
VoucherSelectionYes/no flag that allows vouchers to be selected for this tax code.Enum
NoYes (enum)
NoLTMCustTaxesAreaDetailEntity

Indexes (1)

Relations (3)

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

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Zero or one LTMCustTaxesAreaDetail record → zero or one TaxTable record

  • LTMCustTaxesAreaV2 → LTMCustTaxesAreaV2

    Join on RefRecId = LTMCustTaxesAreaV2.RecId, CountyId = LTMCustTaxesAreaV2.CountyId, StateId = LTMCustTaxesAreaV2.StateId, CountryRegionId = LTMCustTaxesAreaV2.CountryRegionId, AccountNum = LTMCustTaxesAreaV2.AccountNum

    Many LTMCustTaxesAreaDetail records → zero or one LTMCustTaxesAreaV2 record

  • LTMCustTaxesArea → LTMCustTaxesArea

    Join on RefRecId = LTMCustTaxesArea.RecId, CountyId = LTMCustTaxesArea.CountyId, StateId = LTMCustTaxesArea.StateId, CountryRegionId = LTMCustTaxesArea.CountryRegionId, AccountNum = LTMCustTaxesArea.AccountNum

    Many LTMCustTaxesAreaDetail records → zero or one LTMCustTaxesArea record

Get this data out

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

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

Email sales@drdynamics.co.uk