Table
MCRCustCategory
Customer category
Holds customer categories arranged in a hierarchy. Each record has a name, a level and a parent category. It can link a customer to a category in a customer category hierarchy.
- Table name
MCRCustCategory- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
TAMPromotionsManagement- Primary index
None- Replacement key
NameIdx- Key fields
Name, CategoryHierarchy, Customer- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameName of the category. | String (254)EcoResCategoryName | Yes | None | |
CategoryHierarchyThe customer category hierarchy that this category belongs to. | Int64MCRCustCategoryHierarchyId | No | MCRCustCategoryHierarchy.RecId | None |
CustomerThe customer record that this category entry refers to. | Int64CustTableRefRecId | No | CustTable.RecId | None |
CodeCommodity code stored for the category. | String (20)EcoResCategoryCommodityCode | No | 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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InstanceRelationTypeNumber that identifies the type of this category record.low confidence | Int64RelationType | No | None | |
IsActiveShows whether the category is active (Yes or No). | EnumNoYesIdNoYes (enum) | No | None | |
LevelDepth of the category in the hierarchy. | Int64EcoResCategoryLevel | No | 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 | |
NestedSetLeftLeft boundary number used to store the category tree structure. | Int64EcoResCategoryNestedSetLeft | No | None | |
NestedSetRightRight boundary number used to store the category tree structure. | Int64EcoResCategoryNestedSetRight | No | None | |
ParentCategoryThe category above this one in the hierarchy. | Int64MCRCustCategoryRefRecId | No | MCRCustCategory.RecId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
NameIdxReplacement keyName,CategoryHierarchy,CustomerUnique, alternate key.
Relations (3)
Each relation joins MCRCustCategory to another table on the fields shown.
CustTable→CustTableJoin on
Customer = CustTable.RecIdMany MCRCustCategory records → exactly one CustTable record
MCRCustCategory_Parent→MCRCustCategoryJoin on
ParentCategory = MCRCustCategory.RecIdMany MCRCustCategory records → zero or one MCRCustCategory record
MCRCustCategoryHierarchy→MCRCustCategoryHierarchyJoin on
CategoryHierarchy = MCRCustCategoryHierarchy.RecIdMany MCRCustCategory records → exactly one MCRCustCategoryHierarchy record
Get this data out
No public entity reads from MCRCustCategory. Its data is only reachable through the application, a custom entity or a database export.
Need help with MCRCustCategory in a report, an integration or a migration? Talk to Dr Dynamics.