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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CodeUnique code of the tax branch.String (20)
TaxBranchCode
YesTaxBranchEntityDimAttributeTaxBranchEntityInventOperationalSiteV2Entityand 1 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
HeadOfficeShows whether this branch is the head office.Enum
TaxBranchHeadOfficeSelected
NoYes (enum)
NoTaxBranchEntity
LogisticsLocationThe address location of the branch.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdTaxBranchEntity
NameName of the tax branch.String (60)
Name
NoTaxBranchEntityDimAttributeTaxBranchEntity
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

Indexes (2)

  • TaxBranchCodeIdxReplacement key

    Code

    Unique, alternate key.

  • HeadOfficeIdx

    HeadOffice

    Not unique.

Relations (1)

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

  • LogisticsLocation → LogisticsLocation

    Join on LogisticsLocation = LogisticsLocation.RecId

    Many 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.

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

Email sales@drdynamics.co.uk