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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PayrollTaxCodePoints to the payroll tax code that the dimensions are set for. | Int64PayrollTaxCodeRecId | Yes | PayrollTaxCode.RecId | None |
LegalEntityPoints to the legal entity (company) the record belongs to. | Int64CompanyInfoRecId | Yes | CompanyInfo.RecId | None |
CategoryDataAreaIdCompany of the project category. It is used together with the category ID to find the project category. | StringDataAreaId | No | ProjCategory.dataAreaId | None |
CategoryIDIdentifies the project category linked to the tax code. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DefaultDimensionPoints to the set of default dimension values for the tax code. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendAccountNumAccount number of the vendor linked to the tax code. | String (20)VendAccount | No | VendTable.AccountNum | None |
VendDataAreaIdCompany of the vendor. It is used together with the vendor account to find the vendor. | StringDataAreaId | No | VendTable.dataAreaId | None |
Indexes (1)
TaxCodeDefaultDimension_AK1Replacement keyUnique, alternate key.
Relations (5)
Each relation joins PayrollTaxCodeDefaultDimension to another table on the fields shown.
CompanyInfo_FK→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany PayrollTaxCodeDefaultDimension records → exactly one CompanyInfo record
DimensionAttributeValueSet_FK→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany PayrollTaxCodeDefaultDimension records → zero or one DimensionAttributeValueSet record
ProjCategory_FK→ProjCategoryJoin on
CategoryDataAreaId = ProjCategory.dataAreaId,CategoryID = ProjCategory.CategoryIdMany PayrollTaxCodeDefaultDimension records → zero or one ProjCategory record
TaxCode_FK→PayrollTaxCodeJoin on
PayrollTaxCode = PayrollTaxCode.RecIdMany PayrollTaxCodeDefaultDimension records → exactly one PayrollTaxCode record
VendTable_FK→VendTableJoin on
VendDataAreaId = VendTable.dataAreaId,VendAccountNum = VendTable.AccountNumMany 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.