Table

TaxAgent

Tax agent

Holds tax agents, identified by a tax agent ID. Each agent points to a party in the global address book and has a tax registration number. It is available only when the Thailand government certification configuration key is on.

Table name
TaxAgent
Module
Tax
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TaxThailandGovCertification
Primary index
None
Replacement key
AgentIdx
Key fields
AgentId
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgentIdUnique ID of the tax agent.String (30)
TaxAgentId
YesTaxAgentEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyThe address book party that is the tax agent.Int64
DirPartyRecId
NoDirPartyTable.RecIdTaxAgentEntity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxRegNumTax registration number of the agent.String (25)
CompanyCoRegNum
NoTaxAgentEntity

Indexes (2)

  • PartyIdx

    Party

    Unique.

  • AgentIdxReplacement key

    AgentId

    Unique, alternate key.

Relations (1)

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

  • DirPartyTable → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Exactly one TaxAgent record → exactly one DirPartyTable record

Get this data out

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

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

Email sales@drdynamics.co.uk