Table
ElectronicMessageItems
Electronic message items
Holds the individual items inside electronic messages. The key is item ID, item type and processing. Each item has a date, status, source document and account, and a link to its message and to a source record such as an invoice journal.
- Table name
ElectronicMessageItems- Module
Electronic messages- Table group
Worksheet- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
ItemIdx- Replacement key
ItemIdx- Key fields
ItemId, ItemType, Processing- Model
RegulatoryServices
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemIdIdentifier of the message item. | String (50)EMItemId | No | ElectronicMessageItemsEntityElectronicMessageItemsLogV2EntityElectronicMessageItemsLogDetailsEntityand 3 more | |
ItemTypePoints to the type of the message item. | Int64EMItemTypeRef | No | EMItemType.RecId | None |
ProcessingPoints to the processing the item belongs to. | Int64EMProcessingRef | No | ElectronicMessageProcessing.RecId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ItemDateDate of the message item. | DateEMItemDate | No | ElectronicMessageItemsEntity | |
ItemSourceAccountAccount number linked to the source document. | String (20)AccountNum | No | None | |
ItemSourceIdNumber of the source document. | String (60)EMItemSourceId | No | None | |
ItemStatusPoints to the current status of the message item. | Int64EMItemStatusRef | No | ElectronicMessageItemStatus.RecId | None |
MessageIdIdentifier of the electronic message that holds the item. | String (36)ElectronicMessageId | No | ElectronicMessages.MessageId | 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 | |
RefDataAreaIdCompany the source records come from. | StringEMUserQueryDataAreaId | No | None | |
RefRecIdSystem record ID of the source record, such as an invoice journal. | Int64RefRecId | No | None | |
RefTableIdID of the table that the source record is in. | IntegerRefTableId | No | 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 | |
TransDateTimeDate and time the item was transmitted. | UtcDateTimeEMTransDateTime | No | ElectronicMessageItemsEntity |
Indexes (4)
ItemIdxPrimary indexReplacement keyUnique, alternate key.
TypeRefIdxItemType,RefRecId,RefTableId,ProcessingUnique.
MessageIdxNot unique.
ItemSourceIdxMessageId,RefTableId,ItemType,ItemDate,ItemSourceIdNot unique.
Relations (11)
Each relation joins ElectronicMessageItems to another table on the fields shown.
ElectronicMessageItemStatus→ElectronicMessageItemStatusJoin on
ItemStatus = ElectronicMessageItemStatus.RecIdMany ElectronicMessageItems records → zero or one ElectronicMessageItemStatus record
ElectronicMessages→ElectronicMessagesJoin on
MessageId = ElectronicMessages.MessageIdMany ElectronicMessageItems records → zero or one ElectronicMessages record
EMItemType→EMItemTypeJoin on
ItemType = EMItemType.RecIdMany ElectronicMessageItems records → zero or one EMItemType record
CustInvoiceJour→CustInvoiceJourJoin on
RefRecId = CustInvoiceJour.RecId,RefTableId = CustInvoiceJour.TableIdMany ElectronicMessageItems records → exactly one CustInvoiceJour record
VendInvoiceJour→VendInvoiceJourJoin on
RefRecId = VendInvoiceJour.RecId,RefTableId = VendInvoiceJour.TableIdMany ElectronicMessageItems records → exactly one VendInvoiceJour record
ProjInvoiceJour→ProjInvoiceJourJoin on
RefRecId = ProjInvoiceJour.RecId,RefTableId = ProjInvoiceJour.TableIdMany ElectronicMessageItems records → exactly one ProjInvoiceJour record
ElectronicMessageProcessing→ElectronicMessageProcessingJoin on
Processing = ElectronicMessageProcessing.RecIdMany ElectronicMessageItems records → zero or one ElectronicMessageProcessing record
ElectronicMessageStatus→ElectronicMessageStatusJoin on
ItemStatus = ElectronicMessageStatus.ItemStatusMany ElectronicMessageItems records → zero or one ElectronicMessageStatus record
CollectionsInCashReportLine_ES→CollectionsInCashReportLine_ESJoin on
RefTableId = CollectionsInCashReportLine_ES.TableId,RefRecId = CollectionsInCashReportLine_ES.RecIdMany ElectronicMessageItems records → exactly one CollectionsInCashReportLine_ES record
InventTransferJour→InventTransferJourJoin on
RefRecId = InventTransferJour.RecId,RefTableId = InventTransferJour.TableIdMany ElectronicMessageItems records → exactly one InventTransferJour record
CzCustAdvanceInvoiceTable→CzCustAdvanceInvoiceTableJoin on
RefRecId = CzCustAdvanceInvoiceTable.RecId,RefTableId = CzCustAdvanceInvoiceTable.TableIdMany ElectronicMessageItems records → exactly one CzCustAdvanceInvoiceTable record
Get this data out
Tables are not exposed directly. These public entities read from ElectronicMessageItems; use one of them in Power BI, Power Platform or a data management project.
ElectronicMessageItemsEntity· 3 fields from this tableElectronicMessageItemsLogV2Entity· 1 field from this tableElectronicMessageItemsLogDetailsEntity· 1 field from this tableElectronicMessageItemsLogEntity· 1 field from this tableEMItemsAdditionalFieldsEntity· 1 field from this tableEMItemSettlementRefEntity· 1 field from this table
Need help with ElectronicMessageItems in a report, an integration or a migration? Talk to Dr Dynamics.