Table
TaxBranch
Tax branch
Holds tax branches, identified by a tax branch code. Each has a name, a location and a head office flag. It is available only when the Thailand government certification configuration key is on.
- Table name
TaxBranch- Module
Tax- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
TaxThailandGovCertification- Primary index
None- Replacement key
TaxBranchCodeIdx- Key fields
Code- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CodeUnique code of the tax branch. | String (20)TaxBranchCode | Yes | TaxBranchEntityDimAttributeTaxBranchEntityInventOperationalSiteV2Entityand 1 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
HeadOfficeShows whether this branch is the head office. | EnumTaxBranchHeadOfficeSelectedNoYes (enum) | No | TaxBranchEntity | |
LogisticsLocationThe address location of the branch. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | TaxBranchEntity |
NameName of the tax branch. | String (60)Name | No | TaxBranchEntityDimAttributeTaxBranchEntity | |
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 |
Indexes (2)
TaxBranchCodeIdxReplacement keyUnique, alternate key.
HeadOfficeIdxNot unique.
Relations (1)
Each relation joins TaxBranch to another table on the fields shown.
LogisticsLocation→LogisticsLocationJoin on
LogisticsLocation = LogisticsLocation.RecIdMany TaxBranch records → zero or one LogisticsLocation record
Get this data out
Tables are not exposed directly. These public entities read from TaxBranch; use one of them in Power BI, Power Platform or a data management project.
TaxBranchEntity· 4 fields from this tableDimAttributeTaxBranchEntity· 2 fields from this tableInventOperationalSiteV2Entity· 1 field from this tableInventOperationalSiteEntity· 1 field from this table
Need help with TaxBranch in a report, an integration or a migration? Talk to Dr Dynamics.