Table
MCRMessageAssociation
Script association
Links a script or note to another record, with a category, priority and timing. The linked record is stored as a table ID and record ID; the relation shown is to a catalogue. It has no defined key.
- Table name
MCRMessageAssociation- Module
Commerce transactions and orders- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActiveYes/No flag that shows whether the association is active. | EnumNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LinkedRecIDRecord ID of the linked record, such as a catalogue. | Int64MCRRelatedTableRefRecId | No | None | |
LinkedTableIDID of the table that the linked record belongs to. | IntegerRefTableId | No | None | |
MCRScriptPoints to the script record. | Int64RefRecId | Yes | MCRScript.RecId | None |
MessageCategoryCategory of the script. | String (20)MCRMessageCategoryID | Yes | MCRMessageCategory.Category | None |
MessageOrderPriority number that sets the order of messages. | IntegerPriority | No | None | |
MessageTimingWhether the message appears at the beginning or at the end. | EnumMCRMessageTiming (enum) | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeWhether the message is a script or a note. | EnumMCRMessageType (enum) | No | None |
Indexes (1)
LinkedIdxLinkedTableID,LinkedRecID,MessageTiming,MessageCategory,ActiveNot unique.
Relations (7)
Each relation joins MCRMessageAssociation to another table on the fields shown.
Catalog→CatalogJoin on
LinkedTableID = Catalog.TableId,LinkedRecID = Catalog.RecIdMany MCRMessageAssociation records → zero or one Catalog record
CatalogProduct→CatalogProductJoin on
LinkedRecID = CatalogProduct.RecId,LinkedTableID = CatalogProduct.TableIdMany MCRMessageAssociation records → zero or one CatalogProduct record
CustTable→CustTableJoin on
LinkedRecID = CustTable.RecId,LinkedTableID = CustTable.TableIdMany MCRMessageAssociation records → zero or one CustTable record
InventTable→InventTableJoin on
LinkedRecID = InventTable.RecId,LinkedTableID = InventTable.TableIdMany MCRMessageAssociation records → zero or one InventTable record
MCRMessageCategory→MCRMessageCategoryJoin on
MessageCategory = MCRMessageCategory.CategoryMany MCRMessageAssociation records → exactly one MCRMessageCategory record
MCRScript→MCRScriptJoin on
MCRScript = MCRScript.RecIdMany MCRMessageAssociation records → exactly one MCRScript record
MCRUpSellItem→MCRUpSellItemJoin on
LinkedRecID = MCRUpSellItem.RecId,LinkedTableID = MCRUpSellItem.TableIdMany MCRMessageAssociation records → zero or one MCRUpSellItem record
Get this data out
No public entity reads from MCRMessageAssociation. Its data is only reachable through the application, a custom entity or a database export.
Need help with MCRMessageAssociation in a report, an integration or a migration? Talk to Dr Dynamics.