Table
PurchCopilotInboundEmailMappingOrder
Mapped order data from inbound email
Holds order data mapped from an inbound email for the purchase email agent. Each record links to the staged email, its attachment and the matching order. It stores the email intent and the mapping as JSON.
- Table name
PurchCopilotInboundEmailMappingOrder- Module
Procurement and sourcing- Table group
Main- Table type
Regular- Data per company
No- Configuration key
LogisticsBasic- Primary index
None- Replacement key
None- Key fields
None- Model
SCMCopilot
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
IntentIntent of the email about the order, such as confirmation, change request or rejection. | EnumPurchCopilotInboundAgentEmailOrderIntent (enum) | No | None | |
MappingJsonMapping details for the whole order, stored as JSON text. | String (-1)SCMCopilotEmailMappingJson | No | None | |
MappingOrderDataAreaIdCompany of the mapped order. | StringSelectableDataArea | No | None | |
MatchingOrderRecIdPoints to the matching order record. | Int64RefRecId | No | PurchCopilotInboundEmailMatchingOrder.RecId | None |
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchOrderIdPurchase order ID value taken from the email, stored as long text. | String (-1)PurchCopilotInboundEmailMappingFieldValue | No | None | |
PurchOrderIdJsonMapping details for the purchase order ID, stored as JSON text. | String (-1)SCMCopilotEmailMappingJson | 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 | |
StagingEmailAttachmentRecIdPoints to the staged email attachment the data came from. | Int64RefRecId | No | SCMCopilotAgentInboundEmailAttachmentStaging.RecId | None |
StagingEmailRecIdPoints to the staged inbound email. | Int64RefRecId | Yes | PurchCopilotInboundEmailMatching.StagingEmailRecIdSCMCopilotAgentInboundEmailStaging.RecId | None |
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 (1)
StagingEmailAndAttachmentRecIdxStagingEmailRecId,StagingEmailAttachmentRecIdNot unique.
Relations (4)
Each relation joins PurchCopilotInboundEmailMappingOrder to another table on the fields shown.
SCMCopilotAgentInboundEmailStaging→SCMCopilotAgentInboundEmailStagingJoin on
StagingEmailRecId = SCMCopilotAgentInboundEmailStaging.RecIdMany PurchCopilotInboundEmailMappingOrder records → exactly one SCMCopilotAgentInboundEmailStaging record
SCMCopilotAgentInboundEmailAttachmentStaging→SCMCopilotAgentInboundEmailAttachmentStagingJoin on
StagingEmailAttachmentRecId = SCMCopilotAgentInboundEmailAttachmentStaging.RecIdZero or one PurchCopilotInboundEmailMappingOrder record → zero or one SCMCopilotAgentInboundEmailAttachmentStaging record
PurchCopilotInboundEmailMatching→PurchCopilotInboundEmailMatchingJoin on
StagingEmailRecId = PurchCopilotInboundEmailMatching.StagingEmailRecIdCardinality not set in the metadata.
PurchCopilotInboundEmailMatchingOrder→PurchCopilotInboundEmailMatchingOrderJoin on
MatchingOrderRecId = PurchCopilotInboundEmailMatchingOrder.RecIdZero or one PurchCopilotInboundEmailMappingOrder record → zero or one PurchCopilotInboundEmailMatchingOrder record
Get this data out
No public entity reads from PurchCopilotInboundEmailMappingOrder. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchCopilotInboundEmailMappingOrder in a report, an integration or a migration? Talk to Dr Dynamics.