Table

TaxRegistration_CA

Company account identifiers

Holds company account identifiers for Canada, with one record per legal entity and program identifier. Each record stores a reference number for a tax program such as GST/HST or payroll deductions.

Table name
TaxRegistration_CA
Module
Tax
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
AccountTypeIdx
Key fields
LegalEntity, TaxAccountType
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LegalEntityLink to the legal entity (company record) that owns this identifier.Int64
RefRecId
NoCompanyInfo.RecIdNone
TaxAccountTypeType of tax program the identifier is for, such as corporate income tax, payroll deductions or GST/HST.Enum
TaxAccountType_CA (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
ReferenceNumberShort reference number for the program account, up to four characters.String (4)
ReferenceNumber_CA
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • CompanyInfo_FK → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many TaxRegistration_CA records → zero or one CompanyInfo record

Get this data out

No public entity reads from TaxRegistration_CA. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk