Table

LTMWithholdingTable

Withholding code

Holds the setup of a withholding code. This includes its name, its minimum amounts, the period it works over and options for how it is calculated. The key is the withholding code, which also links to the withholding tax codes. Records can also point to a document class and a country document type.

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

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WithholdingCodeThe unique code that identifies the withholding tax code.String (30)
LTMWithholdingCode
YesTaxWithholdTable.TaxWithholdCodeLTMWithholdingTableEntity
CalcAccumulatedChooses whether accumulated amounts are used. The values are: do not calculate, calculate on withholding, or calculate on invoices and credit notes.Enum
LTMCalcAccumulated (enum)
NoLTMWithholdingTableEntity
CalculateOverSets what the calculation is based on: the total payment or the document class.Enum
LTMCalculateOver (enum)
NoLTMWithholdingTableEntity
CalFirstPaymentYes/no flag showing whether the calculation is done on the first payment.Enum
NoYes (enum)
NoLTMWithholdingTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocNumA document number stored with the withholding code.low confidenceString (30)
String30
NoLTMWithholdingTableEntity
DocTypeIdThe country document type linked to this code. It points to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMWithholdingTableEntity
DocumentClassificationIdThe document class this code relates to. It points to a document class record.String (15)
LTMDocumentClassificationId
YesLTMDocumentClassification.DocumentClassificationIdLTMWithholdingTableEntity
FiscalCalendarShows whether the period follows the fiscal calendar or the normal calendar.Enum
LTMFiscalCalendar (enum)
NoLTMWithholdingTableEntity
InterPeriodThe unit of the period used: days, months or years.Enum
LTMInterPeriod (enum)
NoLTMWithholdingTableEntity
MinAccumAmntToWithholdThe smallest accumulated amount needed before withholding is calculated.Real
Amount
NoLTMWithholdingTableEntity
MinAmountSRestaYes/no flag showing whether the minimum subject amount is subtracted.Enum
NoYes (enum)
NoLTMWithholdingTableEntity
MMinimunThe minimum amount that is subject to withholding.Real
Amount
NoLTMWithholdingTableEntity
MWithholdingThe minimum withholding amount.Real
Amount
NoLTMWithholdingTableEntity
NumberUnitsThe number of period units (days, months or years) that the setup covers.low confidenceInteger
Integer
NoLTMWithholdingTableEntity
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
RetroactiveYes/no flag showing whether the code is retroactive.Enum
NoYes (enum)
NoLTMWithholdingTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WithholdingNameThe descriptive name of the withholding code.String (60)
Str60
NoLTMWithholdingTableEntity

Indexes (1)

  • LTMWithholdingTableIdxPrimary indexReplacement key

    WithholdingCode

    Unique, alternate key.

Relations (3)

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

  • LTMFiscalRegister → LTMFiscalRegisterV2

    Join on DocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMWithholdingTable records → zero or one LTMFiscalRegisterV2 record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Zero or one LTMWithholdingTable record → zero or one LTMDocumentClassification record

  • TaxWithholdTable → TaxWithholdTable

    Join on WithholdingCode = TaxWithholdTable.TaxWithholdCode

    Zero or one LTMWithholdingTable record → exactly one TaxWithholdTable record

Get this data out

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

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

Email sales@drdynamics.co.uk