Table
EMAction
Messages action
Setup records for actions that can be run on electronic messages. Each action has an ID and a type, such as electronic reporting export or import, web service, user processing or populate records. Depending on the type, it links to a message item type, format and model mappings, an executable class, a web service or a populate records action.
- Table name
EMAction- Module
Electronic messages- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
RegulatoryServices
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActionClassPoints to the executable class settings that the action runs. | Int64EMActionClassRef | No | EMActionClass.RecId | None |
ActionIdName that identifies the action. | String (40)EMActionId | Yes | EMActionEntityElectronicMessageItemsLogV2EntityElectronicMessageItemsLogDetailsEntityand 5 more | |
ActionPopulateRecordPoints to the populate records action linked to this action. | Int64EMActionPopulateRecordRef | No | EMActionPopulateRecord.RecId | None |
ActionTypeKind of action, for example electronic reporting export or import, web service, user processing or populate records. | EnumEMActionType (enum) | No | EMActionEntity | |
AttachToSourceDocumentYes/No flag. When set, generated files are attached to the source records of the message items. | EnumNoYes (enum) | No | EMActionEntity | |
ConfirmationTextText displayed to the user before the action is run. | String (1260)EMActionConfirmationText | No | EMActionEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text describing the action. | String (60)Description | No | EMActionEntity | |
ERFormatMappingIDPoints to the electronic reporting format mapping used by the action. | Int64ERFormatMappingID | No | ERFormatMappingTable.RecId | EMActionEntity |
ERModelMappingIDPoints to the electronic reporting model mapping used by the action. | Int64ERModelMappingID | No | ERModelMappingTable.RecId | EMActionEntity |
ERShowDialogYes/No flag that controls whether the electronic reporting dialog is shown. | EnumNoYes (enum) | No | EMActionEntity | |
FilenameName of the file the action produces. | String (259)Filename | No | EMActionEntity | |
FilenameToProcessName of the file that the action processes. | String (259)Filename | No | EMActionEntity | |
HideActionClassParametersYes/No flag. When set, the parameters of the executable class are not shown when the action runs. | EnumNoYes (enum) | No | EMActionEntity | |
ItemsContentCompressionTypeCompression applied to item attachments: none or GZIP. | EnumEMCompressionType (enum) | No | EMActionEntity | |
ItemsInMessageMaximum number of message items placed in one exported file. | IntegerEMItemsInMessage | No | EMActionEntity | |
ItemTypePoints to the electronic message item type the action works with. | Int64EMItemTypeRef | No | EMItemType.RecId | 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 | |
SplitEROutputByItemsYes/No flag. When set, separate XML files are taken from the output archive and attached to the matching message items. | EnumEMSplitEROutputByItemsNoYes (enum) | No | EMActionEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UseERSourceYes/No flag. When set, files are imported by using electronic reporting source parameters instead of the message attachment. | EnumNoYes (enum) | No | EMActionEntity | |
WebServicePoints to the web service settings used when the action calls a web service. | Int64EMWebServiceRef | No | EMWebService.RecId | None |
Indexes (1)
ActionIdxUnique, alternate key.
Relations (6)
Each relation joins EMAction to another table on the fields shown.
ERFormatMappingTable→ERFormatMappingTableJoin on
ERFormatMappingID = ERFormatMappingTable.RecIdMany EMAction records → zero or one ERFormatMappingTable record
EMWebService→EMWebServiceJoin on
WebService = EMWebService.RecIdMany EMAction records → zero or one EMWebService record
ERModelMappingTable→ERModelMappingTableJoin on
ERModelMappingID = ERModelMappingTable.RecIdMany EMAction records → zero or one ERModelMappingTable record
EMItemType→EMItemTypeJoin on
ItemType = EMItemType.RecIdMany EMAction records → zero or one EMItemType record
EMActionClass→EMActionClassJoin on
ActionClass = EMActionClass.RecIdMany EMAction records → zero or one EMActionClass record
EMActionPopulateRecord→EMActionPopulateRecordJoin on
ActionPopulateRecord = EMActionPopulateRecord.RecIdMany EMAction records → zero or one EMActionPopulateRecord record
Get this data out
Tables are not exposed directly. These public entities read from EMAction; use one of them in Power BI, Power Platform or a data management project.
EMActionEntity· 15 fields from this tableElectronicMessageItemsLogV2Entity· 1 field from this tableElectronicMessageItemsLogDetailsEntity· 1 field from this tableElectronicMessageItemsLogEntity· 1 field from this tableElectronicMessagesLogEntity· 1 field from this tableEMActionStatusFromEntity· 1 field from this tableEMActionStatusToEntity· 1 field from this tableEMProcessingActionEntity· 1 field from this table
Need help with EMAction in a report, an integration or a migration? Talk to Dr Dynamics.