Table
MCRHoldCodeTrans
Hold codes
Holds the hold codes placed on sales orders. Each record links a sales order to a hold code and records who set it, when, and any comment or reason. It also records whether the hold was cleared or checked out.
- Table name
MCRHoldCodeTrans- Module
Sales and marketing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ASOHFollowingHoldThe following hold linked to this hold code. | StringMCRHoldCode | No | ASOHFollowingHold.FollowingHold | MCRHoldCodeTransBiEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | MCRHoldCodeTransBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | MCRHoldCodeTransBiEntity | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | MCRHoldCodeTransBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | MCRHoldCodeTransBiEntity | |
InventRefIdThe sales order that the hold is placed on. | String (20)SalesId | Yes | SalesTable.SalesId | MCRHoldCodeTransBiEntity |
MCRCheckedOutYes/no flag showing whether the hold is checked out. | EnumNoYes (enum) | No | MCRHoldCodeTransBiEntity | |
MCRCheckedOutDateTimeDate and time when the hold was checked out. | UtcDateTimeMCRCheckedOutDateTime | No | MCRHoldCodeTransBiEntity | |
MCRCheckedOutToThe user the hold is checked out to. | StringUserId | No | MCRHoldCodeTransBiEntity | |
MCRClearedYes/no flag showing whether the hold has been cleared. | EnumNoYes (enum) | No | MCRHoldCodeTransBiEntity | |
MCRClearedUserThe user who cleared the hold. | StringUserId | No | MCRHoldCodeTransBiEntity | |
MCRCommentShort free-text comment on the hold. | String (60)Description | No | MCRHoldCodeTransBiEntity | |
MCRHoldClearDateTimeDate and time when the hold was cleared. | UtcDateTimeMCRHoldClearDateTime | No | MCRHoldCodeTransBiEntity | |
MCRHoldCodeThe hold code applied to the order. | StringMCRHoldCode | Yes | MCRHoldCodeTable.MCRHoldCode | MCRHoldCodeTransBiEntity |
MCRHoldCodeCommentLonger comment stored with the hold code. | String (250)MCRHoldCodeComment | No | MCRHoldCodeTransBiEntity | |
MCRHoldDateTimeDate and time when the hold was placed. | UtcDateTimeMCRHoldDateTime | No | MCRHoldCodeTransBiEntity | |
MCRHoldUserThe user who placed the hold. | StringUserId | No | MCRHoldCodeTransBiEntity | |
MCRReasonCodeThe reason code (subcode) given for the hold. It is used together with the info code number. | StringRetailInformationSubcodeId | No | RetailInformationSubcodeTable.subcodeId | MCRHoldCodeTransBiEntity |
MCRUserA user ID. The label is empty, so its exact role is not stated.low confidence | StringUserId | No | MCRHoldCodeTransBiEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | MCRHoldCodeTransBiEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | MCRHoldCodeTransBiEntity | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | MCRHoldCodeTransBiEntity | |
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 | MCRHoldCodeTransBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | MCRHoldCodeTransBiEntity | |
RetailInfocodeIdThe info code that the reason code belongs to. | StringRetailInfocodeId | No | RetailInformationSubcodeTable.infocodeId | MCRHoldCodeTransBiEntity |
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 (3)
MCRSalesOrderHoldCodeIdxNot unique.
ClearedIdxNot unique.
DateClearedIdxMCRCleared,MCRHoldDateTime,InventRefId,MCRHoldCodeNot unique.
Relations (5)
Each relation joins MCRHoldCodeTrans to another table on the fields shown.
Docuref→DocuRefJoin on
RecId = DocuRef.RefRecId,TableId = DocuRef.RefTableIdMany MCRHoldCodeTrans records → zero or one DocuRef record
MCRHoldCode→MCRHoldCodeTableJoin on
MCRHoldCode = MCRHoldCodeTable.MCRHoldCodeMany MCRHoldCodeTrans records → exactly one MCRHoldCodeTable record
ReasonCode→RetailInformationSubcodeTableJoin on
RetailInfocodeId = RetailInformationSubcodeTable.infocodeId,MCRReasonCode = RetailInformationSubcodeTable.subcodeIdMany MCRHoldCodeTrans records → zero or one RetailInformationSubcodeTable record
SalesTable→SalesTableJoin on
InventRefId = SalesTable.SalesIdMany MCRHoldCodeTrans records → exactly one SalesTable record
ASOHFollowingHold→ASOHFollowingHoldJoin on
ASOHFollowingHold = ASOHFollowingHold.FollowingHold,MCRHoldCode = ASOHFollowingHold.MCRHoldCodeMany MCRHoldCodeTrans records → zero or one ASOHFollowingHold record
Get this data out
Tables are not exposed directly. These public entities read from MCRHoldCodeTrans; use one of them in Power BI, Power Platform or a data management project.
MCRHoldCodeTransBiEntity· 25 fields from this table
Need help with MCRHoldCodeTrans in a report, an integration or a migration? Talk to Dr Dynamics.