Data entity
EMActionEntity
Definitions of electronic message actions, keyed by action. Each action has a type, a message item type, an executable class and an optional web service. It also holds settings for file names, attachments, a confirmation text and the dialog. Two Electronic reporting mapping IDs are included.
- Entity name
EMActionEntity- Public entity name
Action- OData collection
Actions- Category
Parameters- Module
Electronic messages- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
Action- Staging table
EMActionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/Actions- Dataverse virtual table
mserp_emactionentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
EMAction· rootEMWebService· OuterJoin toEMAction· read-onlyEMItemType· OuterJoin toEMAction· read-onlyEMActionClass· OuterJoin toEMAction· read-onlyEMActionPopulateRecord· OuterJoin toEMAction· read-only
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActionName that identifies the action. | String (40)EMActionId | Yes | Yes | EMAction.ActionId | |
DescriptionShort text describing the action. | String (60)Description | No | Yes | EMAction.Description | |
ActionTypeKind of action, for example electronic reporting export or import, web service, user processing or populate records. | Enum
| No | Yes | EMAction.ActionType | |
MessageItemTypeName of the message item type. | String (30)EMItemTypeId | No | Yes | EMItemType.ItemTypeId | |
NumberOfMessageItemsPerExportMaximum number of message items placed in one exported file. | IntegerEMItemsInMessage | No | Yes | EMAction.ItemsInMessage | |
ExecutableClassName of the executable class used for processing. | String (30)EMActionClassId | No | Yes | EMActionClass.ActionClassId | |
WebServiceName or ID of the web service. | String (40)EMWebServiceId | No | Yes | EMWebService.WebServiceId | |
ActionPopulateRecordName of the populate records action. | String (60)Name | No | Yes | EMActionPopulateRecord.Name | |
FilenameName of the file the action produces. | String (259)Filename | No | Yes | EMAction.Filename | |
SplitEROutputByItemsYes/No flag. When set, separate XML files are taken from the output archive and attached to the matching message items. | EnumEMSplitEROutputByItems
| No | Yes | EMAction.SplitEROutputByItems | |
ItemsContentCompressionTypeCompression applied to item attachments: none or GZIP. | Enum
| No | Yes | EMAction.ItemsContentCompressionType | |
ERFormatMappingGUIDUnique ID of the Electronic reporting format mapping used by the action. | Guid | No | Yes | virtual | |
ERModelMappingGUIDUnique ID of the Electronic reporting model mapping used by the action. | Guid | No | Yes | virtual | |
ERFormatMappingIDPoints to the electronic reporting format mapping used by the action. | Int64ERFormatMappingID | No | No (private) | ERFormatMappingTable.RecId | EMAction.ERFormatMappingID |
ERModelMappingIDPoints to the electronic reporting model mapping used by the action. | Int64ERModelMappingID | No | No (private) | ERModelMappingTable.RecId | EMAction.ERModelMappingID |
ConfirmationTextText displayed to the user before the action is run. | String (1260)EMActionConfirmationText | No | Yes | EMAction.ConfirmationText | |
ERShowDialogYes/No flag that controls whether the electronic reporting dialog is shown. | Enum
| No | Yes | EMAction.ERShowDialog | |
UseERSourceYes/No flag. When set, files are imported by using electronic reporting source parameters instead of the message attachment. | Enum
| No | Yes | EMAction.UseERSource | |
AttachToSourceDocumentYes/No flag. When set, generated files are attached to the source records of the message items. | Enum
| No | Yes | EMAction.AttachToSourceDocument | |
FilenameToProcessName of the file that the action processes. | String (259)Filename | No | Yes | EMAction.FilenameToProcess | |
HideActionClassParametersYes/No flag. When set, the parameters of the executable class are not shown when the action runs. | Enum
| No | Yes | EMAction.HideActionClassParameters |
Foreign keys (2)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ERFormatMappingID→ERFormatMappingTable.RecId(key of ERFormatMappingTable)Many EMAction records → zero or one ERFormatMappingTable record
ERFormatMappingTable details: see IntrastatForeignTradeParameterEntity, TaxParametersEntity, CustomerPaymentMethodEntity
ERModelMappingID→ERModelMappingTable.RecId(key of ERModelMappingTable)Many EMAction records → zero or one ERModelMappingTable record
ERModelMappingTable details: see BrazilianElectronicReportingParametersEntity, VendVendorParametersEntity
Need help with EMActionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.