Table
TaxTransExtensionTH
Posted sales tax for Thailand
Extra posted sales tax data used for Thailand. It adds to a posted tax transaction (TaxTrans) with tax invoice details, dates, branch code and tax type. It also holds a link to an unrealised tax transaction.
- Table name
TaxTransExtensionTH- Module
Tax- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExcludeFromReportsYes/No flag to leave this transaction out of reports. | EnumTaxTransExcludeFromReportsNoYes (enum) | No | TaxTransTHBiEntity | |
InvoiceDateDate of the invoice. | DateTaxUnrealizedPurchInvoiceDate | No | TaxTransTHBiEntity | |
InvoiceReceiptDateDate the invoice was received. | DateTaxUnrealizedPurchInvoiceReceiptDate | No | TaxTransTHBiEntity | |
IsReversalGainLossYes/No flag. The label is empty, but the name suggests it relates to a reversal of gain or loss.low confidence | EnumNoYesIdNoYes (enum) | No | TaxTransTHBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTaxCodeSales tax code for the payment, linked to the sales tax codes table. | StringTaxUnrealizedPaymTaxCode | No | TaxTable.TaxCode | TaxTransTHBiEntity |
RealVendNameName of the actual vendor. | String (160)TaxUnrealizedPurchRealVendName | No | TaxTransTHBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | TaxTransTHBiEntity | |
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 | |
TaxBranchCode of the tax branch, linked to the tax branch table. | String (20)TaxBranchCode | No | TaxBranch.Code | TaxTransTHBiEntity |
TaxInvoiceDateDate of the tax invoice. | DateTaxUnrealizedPurchTaxInvoiceDate | No | TaxTransTHBiEntity | |
TaxInvoiceIdNumber of the tax invoice. | String (20)TaxUnrealizedPurchTaxInvoiceId | No | TaxTransTHBiEntity | |
TaxInvoiceReceiptDateDate the tax invoice was received. | DateTaxUnrealizedPurchTaxInvoiceRcptDate | No | TaxTransTHBiEntity | |
TaxTransPoints to the posted sales tax transaction that these Thai details belong to. | Int64RefRecId | Yes | TaxTrans.RecId | TaxTransTHBiEntity |
TaxTypeKind of tax: normal, average unrealised or average realised. | EnumTaxType_TH (enum) | No | TaxTransTHBiEntity | |
TaxUnrealizedRefRecIdPoints to the posted tax transaction that holds the unrealised tax. | Int64TaxUnrealizedRefRecId | No | TaxTrans.RecId | TaxTransTHBiEntity |
Indexes (4)
TaxTransIdxUnique, alternate key.
TaxBranchIdxNot unique.
TaxTransUnrealizedIdxNot unique.
TaxInvoiceIdIdxNot unique.
Relations (4)
Each relation joins TaxTransExtensionTH to another table on the fields shown.
TaxBranch→TaxBranchJoin on
TaxBranch = TaxBranch.CodeMany TaxTransExtensionTH records → zero or one TaxBranch record
TaxTable→TaxTableJoin on
PaymTaxCode = TaxTable.TaxCodeMany TaxTransExtensionTH records → zero or one TaxTable record
TaxTrans→TaxTransJoin on
TaxTrans = TaxTrans.RecIdZero or one TaxTransExtensionTH record → exactly one TaxTrans record
TaxTrans_Unrealized→TaxTransJoin on
TaxUnrealizedRefRecId = TaxTrans.RecIdMany TaxTransExtensionTH records → zero or one TaxTrans record
Get this data out
Tables are not exposed directly. These public entities read from TaxTransExtensionTH; use one of them in Power BI, Power Platform or a data management project.
TaxTransTHBiEntity· 14 fields from this table
Need help with TaxTransExtensionTH in a report, an integration or a migration? Talk to Dr Dynamics.