Table

LTMWithholdingDocument

Withholding document

Pairs a document class with a withholding tax code. Each row says that a withholding code is tied to a document class. It is keyed by both values.

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

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentClassificationIdDocument class, pointing to the document class record.String (15)
LTMDocumentClassificationId
YesLTMDocumentClassification.DocumentClassificationIdNone
WithholdingCodeWithholding tax code, pointing to the withholding code record.String (30)
LTMWithholdingCode
YesLTMWithholdingTable.WithholdingCodeNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • LTMVoucherTable → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMWithholdingDocument records → zero or one LTMDocumentClassification record

  • LTMWithholdingTable → LTMWithholdingTable

    Join on WithholdingCode = LTMWithholdingTable.WithholdingCode

    Many LTMWithholdingDocument records → zero or one LTMWithholdingTable record

Get this data out

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

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

Email sales@drdynamics.co.uk