Table

LTMCustTaxesAreaDetail_TMP

Taxes

Holds tax detail lines for a customer taxes area, shown under the label Taxes. The _TMP suffix suggests a temporary working table. Each line links to a customer taxes area record through RefRecId and covers a tax code, a validity period and a value or reduction. It also carries an operation type (add, modify or delete).

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

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdSystem record ID of the customer taxes area record this line belongs to.Int64
RefRecId
NoNone
StateIdState of the customer taxes area.String
LogisticsAddressStateId
NoNone
CountyIdCounty of the customer taxes area.String (30)
AddressCountyId
NoNone
CountryRegionIdCountry or region of the customer taxes area.String
AddressCountryRegionId
NoNone
AccountNumCustomer account number for the taxes area record.String (20)
AccountNum
NoNone
ToDateLast date on which the line is valid.Date
SysDate
NoNone
TaxCodeSales tax code the line applies to.String
TaxCode
NoNone
FromDateFirst date on which the line is valid.Date
SysDate
NoNone
AddressRecIdSystem record ID of the address the line refers to.low confidenceInt64
RefRecId
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentClassificationIdIdentifier of the document class linked to the line.String (15)
LTMDocumentClassificationId
NoNone
EnableReductionYes/no switch that says whether a reduction value can be entered.Enum
NoYes (enum)
NoNone
EnableValueYes/no switch that says whether a tax value can be entered.Enum
NoYes (enum)
NoNone
OperationTypeAction to apply to the line: add, modify or delete.Enum
LTMTaxOperationType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PublicationDateDate on which the tax information was published.Date
SysDate
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
SessionIDIdentifier of the session that created the temporary record.Integer
SessionId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxesFilterFilter choice showing either all taxes or only the assigned ones.Enum
LTMTaxesFilter (enum)
NoNone
TaxReductionReduction amount or rate applied for the tax code.Real
Amount
NoNone
TaxValueTax value for the tax code.Real
TaxValue
NoNone
VoucherSelectionYes/no switch that allows documents to be selected for this tax code.Enum
NoYes (enum)
NoNone

Indexes (1)

Relations (2)

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

  • LTMCustTaxesAreaV2 → LTMCustTaxesAreaV2

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

    Exactly one LTMCustTaxesAreaDetail_TMP record → exactly one LTMCustTaxesAreaV2 record

  • LTMCustTaxesArea → LTMCustTaxesArea

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

    Exactly one LTMCustTaxesAreaDetail_TMP record → exactly one LTMCustTaxesArea record

Get this data out

No public entity reads from LTMCustTaxesAreaDetail_TMP. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk