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 descriptionType / EDT / enumMandatoryReferencesIn public entities
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
IntentIntent of the email about the order, such as confirmation, change request or rejection.Enum
PurchCopilotInboundAgentEmailOrderIntent (enum)
NoNone
MappingJsonMapping details for the whole order, stored as JSON text.String (-1)
SCMCopilotEmailMappingJson
NoNone
MappingOrderDataAreaIdCompany of the mapped order.String
SelectableDataArea
NoNone
MatchingOrderRecIdPoints to the matching order record.Int64
RefRecId
NoPurchCopilotInboundEmailMatchingOrder.RecIdNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchOrderIdPurchase order ID value taken from the email, stored as long text.String (-1)
PurchCopilotInboundEmailMappingFieldValue
NoNone
PurchOrderIdJsonMapping details for the purchase order ID, stored as JSON text.String (-1)
SCMCopilotEmailMappingJson
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
StagingEmailAttachmentRecIdPoints to the staged email attachment the data came from.Int64
RefRecId
NoSCMCopilotAgentInboundEmailAttachmentStaging.RecIdNone
StagingEmailRecIdPoints to the staged inbound email.Int64
RefRecId
YesPurchCopilotInboundEmailMatching.StagingEmailRecIdSCMCopilotAgentInboundEmailStaging.RecIdNone
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 (1)

Relations (4)

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

  • SCMCopilotAgentInboundEmailStaging → SCMCopilotAgentInboundEmailStaging

    Join on StagingEmailRecId = SCMCopilotAgentInboundEmailStaging.RecId

    Many PurchCopilotInboundEmailMappingOrder records → exactly one SCMCopilotAgentInboundEmailStaging record

  • SCMCopilotAgentInboundEmailAttachmentStaging → SCMCopilotAgentInboundEmailAttachmentStaging

    Join on StagingEmailAttachmentRecId = SCMCopilotAgentInboundEmailAttachmentStaging.RecId

    Zero or one PurchCopilotInboundEmailMappingOrder record → zero or one SCMCopilotAgentInboundEmailAttachmentStaging record

  • PurchCopilotInboundEmailMatching → PurchCopilotInboundEmailMatching

    Join on StagingEmailRecId = PurchCopilotInboundEmailMatching.StagingEmailRecId

    Cardinality not set in the metadata.

  • PurchCopilotInboundEmailMatchingOrder → PurchCopilotInboundEmailMatchingOrder

    Join on MatchingOrderRecId = PurchCopilotInboundEmailMatchingOrder.RecId

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

Email sales@drdynamics.co.uk