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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WithholdingCodeThe unique code that identifies the withholding tax code. | String (30)LTMWithholdingCode | Yes | TaxWithholdTable.TaxWithholdCode | LTMWithholdingTableEntity |
CalcAccumulatedChooses whether accumulated amounts are used. The values are: do not calculate, calculate on withholding, or calculate on invoices and credit notes. | EnumLTMCalcAccumulated (enum) | No | LTMWithholdingTableEntity | |
CalculateOverSets what the calculation is based on: the total payment or the document class. | EnumLTMCalculateOver (enum) | No | LTMWithholdingTableEntity | |
CalFirstPaymentYes/no flag showing whether the calculation is done on the first payment. | EnumNoYes (enum) | No | LTMWithholdingTableEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocNumA document number stored with the withholding code.low confidence | String (30)String30 | No | LTMWithholdingTableEntity | |
DocTypeIdThe country document type linked to this code. It points to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | LTMWithholdingTableEntity |
DocumentClassificationIdThe document class this code relates to. It points to a document class record. | String (15)LTMDocumentClassificationId | Yes | LTMDocumentClassification.DocumentClassificationId | LTMWithholdingTableEntity |
FiscalCalendarShows whether the period follows the fiscal calendar or the normal calendar. | EnumLTMFiscalCalendar (enum) | No | LTMWithholdingTableEntity | |
InterPeriodThe unit of the period used: days, months or years. | EnumLTMInterPeriod (enum) | No | LTMWithholdingTableEntity | |
MinAccumAmntToWithholdThe smallest accumulated amount needed before withholding is calculated. | RealAmount | No | LTMWithholdingTableEntity | |
MinAmountSRestaYes/no flag showing whether the minimum subject amount is subtracted. | EnumNoYes (enum) | No | LTMWithholdingTableEntity | |
MMinimunThe minimum amount that is subject to withholding. | RealAmount | No | LTMWithholdingTableEntity | |
MWithholdingThe minimum withholding amount. | RealAmount | No | LTMWithholdingTableEntity | |
NumberUnitsThe number of period units (days, months or years) that the setup covers.low confidence | IntegerInteger | No | LTMWithholdingTableEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetroactiveYes/no flag showing whether the code is retroactive. | EnumNoYes (enum) | No | LTMWithholdingTableEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WithholdingNameThe descriptive name of the withholding code. | String (60)Str60 | No | LTMWithholdingTableEntity |
Indexes (1)
LTMWithholdingTableIdxPrimary indexReplacement keyUnique, alternate key.
Relations (3)
Each relation joins LTMWithholdingTable to another table on the fields shown.
LTMFiscalRegister→LTMFiscalRegisterV2Join on
DocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMWithholdingTable records → zero or one LTMFiscalRegisterV2 record
LTMDocumentClassification→LTMDocumentClassificationJoin on
DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdZero or one LTMWithholdingTable record → zero or one LTMDocumentClassification record
TaxWithholdTable→TaxWithholdTableJoin on
WithholdingCode = TaxWithholdTable.TaxWithholdCodeZero 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.
LTMWithholdingTableEntity· 16 fields from this table
Need help with LTMWithholdingTable in a report, an integration or a migration? Talk to Dr Dynamics.