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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ASOHFollowingHoldThe following hold linked to this hold code.String
MCRHoldCode
NoASOHFollowingHold.FollowingHoldMCRHoldCodeTransBiEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoMCRHoldCodeTransBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoMCRHoldCodeTransBiEntity
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoMCRHoldCodeTransBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoMCRHoldCodeTransBiEntity
InventRefIdThe sales order that the hold is placed on.String (20)
SalesId
YesSalesTable.SalesIdMCRHoldCodeTransBiEntity
MCRCheckedOutYes/no flag showing whether the hold is checked out.Enum
NoYes (enum)
NoMCRHoldCodeTransBiEntity
MCRCheckedOutDateTimeDate and time when the hold was checked out.UtcDateTime
MCRCheckedOutDateTime
NoMCRHoldCodeTransBiEntity
MCRCheckedOutToThe user the hold is checked out to.String
UserId
NoMCRHoldCodeTransBiEntity
MCRClearedYes/no flag showing whether the hold has been cleared.Enum
NoYes (enum)
NoMCRHoldCodeTransBiEntity
MCRClearedUserThe user who cleared the hold.String
UserId
NoMCRHoldCodeTransBiEntity
MCRCommentShort free-text comment on the hold.String (60)
Description
NoMCRHoldCodeTransBiEntity
MCRHoldClearDateTimeDate and time when the hold was cleared.UtcDateTime
MCRHoldClearDateTime
NoMCRHoldCodeTransBiEntity
MCRHoldCodeThe hold code applied to the order.String
MCRHoldCode
YesMCRHoldCodeTable.MCRHoldCodeMCRHoldCodeTransBiEntity
MCRHoldCodeCommentLonger comment stored with the hold code.String (250)
MCRHoldCodeComment
NoMCRHoldCodeTransBiEntity
MCRHoldDateTimeDate and time when the hold was placed.UtcDateTime
MCRHoldDateTime
NoMCRHoldCodeTransBiEntity
MCRHoldUserThe user who placed the hold.String
UserId
NoMCRHoldCodeTransBiEntity
MCRReasonCodeThe reason code (subcode) given for the hold. It is used together with the info code number.String
RetailInformationSubcodeId
NoRetailInformationSubcodeTable.subcodeIdMCRHoldCodeTransBiEntity
MCRUserA user ID. The label is empty, so its exact role is not stated.low confidenceString
UserId
NoMCRHoldCodeTransBiEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoMCRHoldCodeTransBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoMCRHoldCodeTransBiEntity
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoMCRHoldCodeTransBiEntity
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
NoMCRHoldCodeTransBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoMCRHoldCodeTransBiEntity
RetailInfocodeIdThe info code that the reason code belongs to.String
RetailInfocodeId
NoRetailInformationSubcodeTable.infocodeIdMCRHoldCodeTransBiEntity
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 (3)

Relations (5)

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

  • Docuref → DocuRef

    Join on RecId = DocuRef.RefRecId, TableId = DocuRef.RefTableId

    Many MCRHoldCodeTrans records → zero or one DocuRef record

  • MCRHoldCode → MCRHoldCodeTable

    Join on MCRHoldCode = MCRHoldCodeTable.MCRHoldCode

    Many MCRHoldCodeTrans records → exactly one MCRHoldCodeTable record

  • ReasonCode → RetailInformationSubcodeTable

    Join on RetailInfocodeId = RetailInformationSubcodeTable.infocodeId, MCRReasonCode = RetailInformationSubcodeTable.subcodeId

    Many MCRHoldCodeTrans records → zero or one RetailInformationSubcodeTable record

  • SalesTable → SalesTable

    Join on InventRefId = SalesTable.SalesId

    Many MCRHoldCodeTrans records → exactly one SalesTable record

  • ASOHFollowingHold → ASOHFollowingHold

    Join on ASOHFollowingHold = ASOHFollowingHold.FollowingHold, MCRHoldCode = ASOHFollowingHold.MCRHoldCode

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

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

Email sales@drdynamics.co.uk