BeyondERP.Newsletter
Menu

Setup page · Tax

Message processing actions

A setup page for message processing actions, the actions used in electronic message processing, with their parameters.

Read the guide Back to Tax

Used by
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
ElectronicMessageAction
Main table
EMAction
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, “Exports split by the item limit”, 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 isA setup page for message processing actions, the actions used in electronic message processing, with their parameters.
What you do hereUse this page to set each action's type, its format or class, and the initial and result statuses that link actions together.
ExampleFor example, a Generate report action of the Electronic reporting export type runs on messages in the Prepared status and sets them to Generated.
Message processing actions page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

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 Message processing actions1 screen

Use this page to set each action's type, its format or class, and the initial and result statuses that link actions together.

  1. Screen 1

    Create the message processing action

    Go to Tax > Setup > Electronic messages > Message processing actions

    1. Select New, and enter the Action and Description
    2. On the General section, set Action type to Create message
    3. On Result statuses, select Add and select the Message status
    4. Select Save
    1ActionBEAT-CREATE
    2Action typeCreate message
    3Message statusBEAT-NEW
    Create the message processing action (zoomed on the outlined fields)
    Show the full screenCreate the message processing action
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Tax > Setup > Electronic messages > Message processing actions.
  2. Create an action named Create message with the Create message action type.
  3. Create an action of the Message level user processing type, with an initial status and a result status.
  4. Create a Generate report action of the Electronic reporting export type, and select the format in the Format mapping field.
  5. On the Initial statuses and Result statuses FastTabs, select the statuses the action starts from and ends in.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Action typeThe type of action, such as Create message, Populate records, Electronic reporting export or Web service.Microsoft Learn Create messageActionType
Format mappingThe Electronic reporting format the action runs.Microsoft Learn
Message item typeThe type of records the action runs for; blank means all types in the processing.Microsoft Learn
Executable classAn executable class setting the action calls.Microsoft Learn
Populate records actionThe populate records action used by a Populate records action.Microsoft Learn
Web serviceThe web service used by a Web service action.Microsoft Learn
Number of message items per exportThe most message items allowed in one exported file.Microsoft Learn
ActionThe code of the message processing action.Microsoft Learn CREATEActionId
Message statusA result message status that the action can set, with its response type.Microsoft Learn NEWStatusId

Common errors and fixes

MessageWhat to do
An action never runs for a message.Check that the message is in one of the action's initial statuses; Create message actions have no initial status. Microsoft Learn

Test checklist

  1. Create a Populate records action, an Electronic reporting export action and a Web service action, linked by initial and result statuses.
  2. Set Number of message items per export on the export action to a small number.
  3. Run the processing for more items than the limit and check more than one file is generated.
  4. Send and check the message gets the Successfully executed status, or the Technical error status when the service fails.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Message processing actionsFor each action, set the result statuses Learn requires for its type (Web service: Successfully executed and Technical error; Request verification: also Business error), and an initial status for every action except Create messageActions are chained by initial and result statuses, and Learn's table lists the result statuses each action type must have.Which result statuses does each action need?Leaving Message item type blank when the action should touch only one kind of record. A blank type evaluates all message item types in the processing.Test: Exports split by the item limit

Feature management and licence

Licence or add-inOn the live system, these roles have access to this page: Accountant, Accounting manager, Accounting supervisor, Accounts receivable manager, Collections manager, Accounts receivable clerk.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company. Electronic messages setup is imported or set up in each legal entity that reports. Microsoft Learn
Can it be undoneReversible: Action type, formats, statuses and limits can be changed and take effect on later runs. Microsoft Learn
If you change it laterActions are chained by initial and result statuses. A change applies to the next run; files already generated or sent aren't changed. Number of message items per export splits large exports into several files. Microsoft Learn
Technical architect

6Technical

Menu itemElectronicMessageAction Checked in Dynamics 365
FormElectronicMessageAction Checked in Dynamics 365
TableEMActionShown as “Messages action” in Record infoChecked in Dynamics 365
Who can open it

9 security roles. Select a role to see its duties and privileges.

  • RoleCollections managerCollectionLetterCollectionsManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts receivable clerkCustInvoiceAccountsReceivableClerk
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleTax accountantFBTaxAccountant_BR
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccountantLedgerAccountant
    • DutyMaintain sales tax transactionsTaxSalesTaxTransactionsMaintain
      • PrivilegeMaintain electronic messagesElectronicMessageMaintain
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounting managerLedgerAccountingManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleSales managerTradeSalesManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts payable clerkVendInvoiceAccountsPayableClerk
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
Checked in Dynamics 365
Roles to set it up and use itTo 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 pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=ElectronicMessageAction
Data migrationLoad order: Message processing actions has no data entity in Data management on the live system. Learn describes importing the electronic messages setup as a package of data entities for country/region reporting features; otherwise set the actions up by hand.Load first: Message statuses, Populate records actions, Executable class settings, Web service settingsChecked in Dynamics 365
Everyone

8Sources

KEEP EXPLORING

More in Tax.

Open the other pages and setup steps in this module, or go back to the Atlas Hub to search every page.