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 descriptionType / EDT / enumMandatoryReferencesIn public entities
MCRHoldCodeUnique code of the hold.String
MCRHoldCode
YesMCRSalesOrderHoldCodeEntity
ASOHAutoFollowingHoldAnother hold code that follows automatically.String
MCRHoldCode
NoMCRHoldCodeTable.MCRHoldCodeNone
ASOHOrderEventTypeThe order event that triggers the hold, such as adding, releasing or cancelling an order.Enum
MCROrderEventType (enum)
NoNone
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
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MCRAvailCalcYes/no flag for deducting from available quantity.Enum
NoYes (enum)
NoNone
MCRDefaultSOHoldCodeYes/no flag that marks the code as the default for sales orders.Enum
NoYes (enum)
NoMCRSalesOrderHoldCodeEntity
MCRHoldCodeDescriptionShort text that describes the hold code.String (60)
Description
NoMCRSalesOrderHoldCodeEntity
MCRHoldCodeDisplayColorNumber that sets the colour used to show the hold code.Integer
MCRHoldCodeDisplayColor
NoNone
MCRUnReserveYes/no flag for removing inventory reservations.Enum
NoYes (enum)
NoMCRSalesOrderHoldCodeEntity
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
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
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
RoleRefRecIDThe security role linked to the hold code.Int64
SysSecurityRoleRecId
NoSecurityRole.RecIdMCRSalesOrderHoldCodeEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • MCRAuthorizationGroups → SecurityRole

    Join on RoleRefRecID = SecurityRole.RecId

    Many MCRHoldCodeTable records → zero or one SecurityRole record

  • ASOHHoldCode → MCRHoldCodeTable

    Join on ASOHAutoFollowingHold = MCRHoldCodeTable.MCRHoldCode

    Many 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.

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

Email sales@drdynamics.co.uk