Accounts payable clerk, Collections manager, Accounts receivable clerk and 6 more roles
Business process
Report tax and financial data to authorities in Dynamics 365 Finance
Menu item
EMActionClass
Main table
EMActionClass
Data entity
EMActionClassEntity
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Parameters are saved with OK”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page for executable classes, the X++ classes that electronic message processing can call when an action needs an evaluation.
What you do here
Use this page to register each executable class, and its parameters, so message processing actions can call it.
Example
For example, BEAT imports a country/region package that calls a class to create message items. On this page it selects the class line, opens Parameters, checks the values and selects OK, so the first run calls the class with them.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Step by step, with screenshots
Set up Executable class settings1 screen
Use this page to register each executable class, and its parameters, so message processing actions can call it.
Screen 1
Create the executable class setting
Go to Tax > Setup > Electronic messages > Executable class settings
Select New
Enter the Executable class and Description
In Executable class name, select the class from the lookup
Select Save
1Executable class
BEAT-POP
Description
Record population
Executable class name
EMCreateItemsController
Execution level
Message
Show the full screen page title tab to open what to set or check
Steps from Microsoft
Go to Tax > Setup > Electronic messages > Executable class settings.
Create a line, and enter the Executable class name and description.
In the Executable class name field, select the X++ class.
If the class has mandatory parameters, on the Action Pane, select Parameters.
Fill in the fields in the dialog box, and then select OK.
Register each class the processing calls, open Parameters and always close the dialog with OKSome classes have mandatory parameters that must be defined before the first run, and they are saved to the database only when you select OK.
On the live system, these roles have access to this page: Accountant, Accounting manager, Accounting supervisor, Accounts receivable manager, Collections manager, Accounts receivable clerk.
Per company. Electronic messages setup is imported or set up in each legal entity that reports. Microsoft Learn
Can it be undone
Reversible: Executable class settings and parameters can be edited; message processing actions pick up the change on their next run. Microsoft Learn
If you change it later
Parameters are saved only when you select OK in the Parameters dialog; otherwise the class isn't called correctly. Message processing actions use the saved values on their next run. Microsoft Learn
Technical architect
6Technical
Menu item
EMActionClassChecked in Dynamics 365
Form
EMActionClassChecked in Dynamics 365
Table
EMActionClassShown as “Action class settings” in Record infoChecked in Dynamics 365
Data entities
EMActionClassEntityAction class settings Checked in Dynamics 365
Who can open it
9 security roles. Select a role to see its duties and privileges.
To set it up or change itAccountant LedgerAccountantTo use itAccounting manager LedgerAccountingManagerAccounting supervisor LedgerAccountingSupervisorAccounts receivable manager CustInvoiceAccountsReceivableManagerCollections manager CollectionLetterCollectionsManagerAccounts receivable clerk CustInvoiceAccountsReceivableClerkGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Actions on the page
Options: Personalize, Page options, ShareChecked in Dynamics 365
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=EMActionClass
Integrate with
EMActionClassEntity data entity Checked in Dynamics 365
Data migration
EMActionClassEntity Loads the executable class setting records of this legal entity.Load order: Electronic messages setup is usually imported as one package of data entities for a country/region reporting feature, after the Electronic reporting configurations it links to. Import it with the Data management tool into each legal entity that reports.Load first: Electronic reporting configurations used by the processing, Number sequences for messages and message items in General ledger parametersMicrosoft Learn
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.