Table

TaxWithholdLedgerAccountGroup_TH

Withholding tax ledger posting groups

Holds ledger posting groups for withholding tax, used for Thailand. Each group is identified by a code and names the ledger accounts for expense, settlement, withholding tax and offset. The accounts are dimension combinations.

Table name
TaxWithholdLedgerAccountGroup_TH
Module
Tax
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
TaxWithholdAccountGroupIdx
Key fields
TaxWithholdAccountGroup
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxWithholdAccountGroupCode that identifies the ledger posting group.String
TaxWithholdAccountGroup_TH
YesTaxWithholdLedgerAccountGroupEntityTaxWithholdingTaxCodeEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpenseLedgerDimensionPoints to the ledger account combination used as the expense account.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdLedgerAccountGroupEntity
NameShort text describing the posting group.String (60)
Description
NoTaxWithholdLedgerAccountGroupEntity
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxWithhodlSettlementLedgerDimensionPoints to the ledger account combination used as the settlement account.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdLedgerAccountGroupEntity
TaxWithholdLedgerDimensionPoints to the ledger account combination used for the withholding tax.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdLedgerAccountGroupEntity
TaxWithholdOffsetLedgerDimensionPoints to the ledger account combination used as the withholding tax offset.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxWithholdLedgerAccountGroupEntity

Indexes (5)

Relations (4)

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

  • TaxWithhodlSettlementLedgerDimension → DimensionAttributeValueCombination

    Join on TaxWithhodlSettlementLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record

  • TaxWithholdExpenseLedgerDimension → DimensionAttributeValueCombination

    Join on ExpenseLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record

  • TaxWithholdLedgerDimension → DimensionAttributeValueCombination

    Join on TaxWithholdLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record

  • TaxWithholdOffsetLedgerDimension → DimensionAttributeValueCombination

    Join on TaxWithholdOffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk