Table
MCRHoldCodeTable
Hold code
Holds the hold codes that can be set on sales orders. The key is the hold code. Each code has a description, a display colour and flags for how it behaves. It can link to a security role and to a following hold code.
- Table name
MCRHoldCodeTable- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
MCRHoldCodeIdx- Replacement key
MCRHoldCodeIdx- Key fields
MCRHoldCode- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MCRHoldCodeUnique code of the hold. | StringMCRHoldCode | Yes | MCRSalesOrderHoldCodeEntity | |
ASOHAutoFollowingHoldAnother hold code that follows automatically. | StringMCRHoldCode | No | MCRHoldCodeTable.MCRHoldCode | None |
ASOHOrderEventTypeThe order event that triggers the hold, such as adding, releasing or cancelling an order. | EnumMCROrderEventType (enum) | 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 | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MCRAvailCalcYes/no flag for deducting from available quantity. | EnumNoYes (enum) | No | None | |
MCRDefaultSOHoldCodeYes/no flag that marks the code as the default for sales orders. | EnumNoYes (enum) | No | MCRSalesOrderHoldCodeEntity | |
MCRHoldCodeDescriptionShort text that describes the hold code. | String (60)Description | No | MCRSalesOrderHoldCodeEntity | |
MCRHoldCodeDisplayColorNumber that sets the colour used to show the hold code. | IntegerMCRHoldCodeDisplayColor | No | None | |
MCRUnReserveYes/no flag for removing inventory reservations. | EnumNoYes (enum) | No | MCRSalesOrderHoldCodeEntity | |
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 | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | 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 | |
RoleRefRecIDThe security role linked to the hold code. | Int64SysSecurityRoleRecId | No | SecurityRole.RecId | MCRSalesOrderHoldCodeEntity |
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 (2)
MCRHoldCodeIdxPrimary indexReplacement keyUnique, alternate key.
SecurityRoleIdxNot unique.
Relations (2)
Each relation joins MCRHoldCodeTable to another table on the fields shown.
ASOHHoldCode→MCRHoldCodeTableJoin on
ASOHAutoFollowingHold = MCRHoldCodeTable.MCRHoldCodeMany MCRHoldCodeTable records → zero or one MCRHoldCodeTable record
Get this data out
Tables are not exposed directly. These public entities read from MCRHoldCodeTable; use one of them in Power BI, Power Platform or a data management project.
MCRSalesOrderHoldCodeEntity· 5 fields from this table
Need help with MCRHoldCodeTable in a report, an integration or a migration? Talk to Dr Dynamics.