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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxWithholdAccountGroupCode that identifies the ledger posting group. | StringTaxWithholdAccountGroup_TH | Yes | TaxWithholdLedgerAccountGroupEntityTaxWithholdingTaxCodeEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpenseLedgerDimensionPoints to the ledger account combination used as the expense account. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | TaxWithholdLedgerAccountGroupEntity |
NameShort text describing the posting group. | String (60)Description | No | TaxWithholdLedgerAccountGroupEntity | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxWithhodlSettlementLedgerDimensionPoints to the ledger account combination used as the settlement account. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | TaxWithholdLedgerAccountGroupEntity |
TaxWithholdLedgerDimensionPoints to the ledger account combination used for the withholding tax. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | TaxWithholdLedgerAccountGroupEntity |
TaxWithholdOffsetLedgerDimensionPoints to the ledger account combination used as the withholding tax offset. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | TaxWithholdLedgerAccountGroupEntity |
Indexes (5)
TaxWithholdLedgerDimensionIdxNot unique.
TaxWithholdOffsetLedgerDimensionIdxTaxWithholdOffsetLedgerDimensionNot unique.
TaxWithhodlSettlementLedgerDimensionIdxTaxWithhodlSettlementLedgerDimensionNot unique.
TaxWithholdAccountGroupIdxReplacement keyUnique, alternate key.
ExpenseLedgerDimensionIdxNot unique.
Relations (4)
Each relation joins TaxWithholdLedgerAccountGroup_TH to another table on the fields shown.
TaxWithhodlSettlementLedgerDimension→DimensionAttributeValueCombinationJoin on
TaxWithhodlSettlementLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record
TaxWithholdExpenseLedgerDimension→DimensionAttributeValueCombinationJoin on
ExpenseLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record
TaxWithholdLedgerDimension→DimensionAttributeValueCombinationJoin on
TaxWithholdLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxWithholdLedgerAccountGroup_TH records → zero or one DimensionAttributeValueCombination record
TaxWithholdOffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
TaxWithholdOffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.
TaxWithholdLedgerAccountGroupEntity· 6 fields from this tableTaxWithholdingTaxCodeEntity· 1 field from this table
Need help with TaxWithholdLedgerAccountGroup_TH in a report, an integration or a migration? Talk to Dr Dynamics.