Table

LTMTaxWithholdingBaseDef

Calculation basis

Defines a calculation basis for a withholding tax code within a set of taxes. Each row states the amount type used, whether it is added or subtracted, and what it is calculated over. Its structure matches LTMTaxWithholdingBaseBalance; the metadata does not say how the two differ.

Table name
LTMTaxWithholdingBaseDef
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
LTMTaxWithholdingBaseDefIdx
Key fields
TaxGroupId, TaxWithholdCode
Model
GlobalizationLTM

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxGroupIdSet of taxes the row belongs to.String (15)
LTMTaxGroupId
NoLTMTaxGroup.TaxGroupIdLTMTaxWithholdingBaseDefEntity
TaxWithholdCodeWithholding tax code the basis applies to.String (30)
LTMWithholdingCode
YesLTMWithholdingTable.WithholdingCodeLTMTaxWithholdingBaseDefEntity
CalculateOverSays whether the basis is calculated over the total payment or the document class.Enum
LTMCalculateOver (enum)
NoLTMTaxWithholdingBaseDefEntity
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
SignSays whether the amount is summed or subtracted.Enum
LTMSign (enum)
NoLTMTaxWithholdingBaseDefEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxWithholdAmountTypeKind of amount used: tax amount, tax base amount or document total amount.Enum
LTMWithholdingAmountType (enum)
NoLTMTaxWithholdingBaseDefEntity

Indexes (1)

Relations (2)

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

  • LTMTaxGroup → LTMTaxGroup

    Join on TaxGroupId = LTMTaxGroup.TaxGroupId

    Many LTMTaxWithholdingBaseDef records → zero or one LTMTaxGroup record

  • LTMTaxWithholdingTable → LTMWithholdingTable

    Join on TaxWithholdCode = LTMWithholdingTable.WithholdingCode

    Many LTMTaxWithholdingBaseDef records → zero or one LTMWithholdingTable record

Get this data out

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

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

Email sales@drdynamics.co.uk