Table

PayrollTaxCodeDefaultDimension

Tax code default dimension

Holds default financial dimensions for a payroll tax code in a legal entity. It can also store a vendor and a project category with the same record. The key is the tax code plus the legal entity.

Table name
PayrollTaxCodeDefaultDimension
Module
Payroll
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
PayrollAdministration
Primary index
None
Replacement key
TaxCodeDefaultDimension_AK1
Key fields
PayrollTaxCode, LegalEntity
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PayrollTaxCodePoints to the payroll tax code that the dimensions are set for.Int64
PayrollTaxCodeRecId
YesPayrollTaxCode.RecIdNone
LegalEntityPoints to the legal entity (company) the record belongs to.Int64
CompanyInfoRecId
YesCompanyInfo.RecIdNone
CategoryDataAreaIdCompany of the project category. It is used together with the category ID to find the project category.String
DataAreaId
NoProjCategory.dataAreaIdNone
CategoryIDIdentifies the project category linked to the tax code.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
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
DefaultDimensionPoints to the set of default dimension values for the tax code.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
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
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
VendAccountNumAccount number of the vendor linked to the tax code.String (20)
VendAccount
NoVendTable.AccountNumNone
VendDataAreaIdCompany of the vendor. It is used together with the vendor account to find the vendor.String
DataAreaId
NoVendTable.dataAreaIdNone

Indexes (1)

Relations (5)

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

  • CompanyInfo_FK → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many PayrollTaxCodeDefaultDimension records → exactly one CompanyInfo record

  • DimensionAttributeValueSet_FK → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PayrollTaxCodeDefaultDimension records → zero or one DimensionAttributeValueSet record

  • ProjCategory_FK → ProjCategory

    Join on CategoryDataAreaId = ProjCategory.dataAreaId, CategoryID = ProjCategory.CategoryId

    Many PayrollTaxCodeDefaultDimension records → zero or one ProjCategory record

  • TaxCode_FK → PayrollTaxCode

    Join on PayrollTaxCode = PayrollTaxCode.RecId

    Many PayrollTaxCodeDefaultDimension records → exactly one PayrollTaxCode record

  • VendTable_FK → VendTable

    Join on VendDataAreaId = VendTable.dataAreaId, VendAccountNum = VendTable.AccountNum

    Many PayrollTaxCodeDefaultDimension records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk