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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActionClassPoints to the executable class settings that the action runs.Int64
EMActionClassRef
NoEMActionClass.RecIdNone
ActionIdName that identifies the action.String (40)
EMActionId
YesEMActionEntityElectronicMessageItemsLogV2EntityElectronicMessageItemsLogDetailsEntityand 5 more
ActionPopulateRecordPoints to the populate records action linked to this action.Int64
EMActionPopulateRecordRef
NoEMActionPopulateRecord.RecIdNone
ActionTypeKind of action, for example electronic reporting export or import, web service, user processing or populate records.Enum
EMActionType (enum)
NoEMActionEntity
AttachToSourceDocumentYes/No flag. When set, generated files are attached to the source records of the message items.Enum
NoYes (enum)
NoEMActionEntity
ConfirmationTextText displayed to the user before the action is run.String (1260)
EMActionConfirmationText
NoEMActionEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text describing the action.String (60)
Description
NoEMActionEntity
ERFormatMappingIDPoints to the electronic reporting format mapping used by the action.Int64
ERFormatMappingID
NoERFormatMappingTable.RecIdEMActionEntity
ERModelMappingIDPoints to the electronic reporting model mapping used by the action.Int64
ERModelMappingID
NoERModelMappingTable.RecIdEMActionEntity
ERShowDialogYes/No flag that controls whether the electronic reporting dialog is shown.Enum
NoYes (enum)
NoEMActionEntity
FilenameName of the file the action produces.String (259)
Filename
NoEMActionEntity
FilenameToProcessName of the file that the action processes.String (259)
Filename
NoEMActionEntity
HideActionClassParametersYes/No flag. When set, the parameters of the executable class are not shown when the action runs.Enum
NoYes (enum)
NoEMActionEntity
ItemsContentCompressionTypeCompression applied to item attachments: none or GZIP.Enum
EMCompressionType (enum)
NoEMActionEntity
ItemsInMessageMaximum number of message items placed in one exported file.Integer
EMItemsInMessage
NoEMActionEntity
ItemTypePoints to the electronic message item type the action works with.Int64
EMItemTypeRef
NoEMItemType.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SplitEROutputByItemsYes/No flag. When set, separate XML files are taken from the output archive and attached to the matching message items.Enum
EMSplitEROutputByItems
NoYes (enum)
NoEMActionEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseERSourceYes/No flag. When set, files are imported by using electronic reporting source parameters instead of the message attachment.Enum
NoYes (enum)
NoEMActionEntity
WebServicePoints to the web service settings used when the action calls a web service.Int64
EMWebServiceRef
NoEMWebService.RecIdNone

Indexes (1)

Relations (6)

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

  • ERFormatMappingTable → ERFormatMappingTable

    Join on ERFormatMappingID = ERFormatMappingTable.RecId

    Many EMAction records → zero or one ERFormatMappingTable record

  • EMWebService → EMWebService

    Join on WebService = EMWebService.RecId

    Many EMAction records → zero or one EMWebService record

  • ERModelMappingTable → ERModelMappingTable

    Join on ERModelMappingID = ERModelMappingTable.RecId

    Many EMAction records → zero or one ERModelMappingTable record

  • EMItemType → EMItemType

    Join on ItemType = EMItemType.RecId

    Many EMAction records → zero or one EMItemType record

  • EMActionClass → EMActionClass

    Join on ActionClass = EMActionClass.RecId

    Many EMAction records → zero or one EMActionClass record

  • EMActionPopulateRecord → EMActionPopulateRecord

    Join on ActionPopulateRecord = EMActionPopulateRecord.RecId

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

Need help with EMAction in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk