BeyondERP.Newsletter
Menu

Setup page · Tax

Message statuses

A setup page for message statuses, which describe the state of an electronic message at every moment.

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
ElectronicMessageStatus
Main table
ElectronicMessageStatus
Data entity
ElectronicMessageStatusEntity
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, “Success and error both have a status”, 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 statuses, which describe the state of an electronic message at every moment.
What you do hereUse this page to set up the message statuses available in message processing, with their response type and delete rule.
ExampleFor example, a simple process for an Excel report can use the statuses New, Prepared and Generated, with Allow delete selected only for New.
Message statuses 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 statuses1 screen

Use this page to set up the message statuses available in message processing, with their response type and delete rule.

  1. Screen 1

    Create the message statuses

    Go to Tax > Setup > Electronic messages > Message statuses

    1. Select New, and enter the Message status and Description
    2. Select the Response type and the Message item status
    3. Select Allow delete if messages in this status may be deleted
    4. Select Save, and repeat for each status
    1Message statusBEAT-NEW
    1Message item statusBEAT-NEW
    DescriptionMessage created
    Response typeSuccessfully executed
    Allow deleteSelected
    Create the message statuses (zoomed on the outlined fields)
    Show the full screenCreate the message statuses
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Tax > Setup > Electronic messages > Message statuses.
  2. Create the message statuses you need, such as New, Prepared and Generated.
  3. For each status, enter a description and select the response type.
  4. On the statuses whose messages users may delete, select Allow delete.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Message statusA unique name for the status, shown on the Electronic messages page and in the log.Microsoft Learn NEWStatusId
Response typeThe response type, such as Successfully executed or Technical error, that leads to this status.Microsoft Learn Successfully executedResponseType
Message item statusThe message item status that items get when the message has this status.Microsoft Learn NEWStatusId
Allow deleteWhether messages in this status can be deleted on the Electronic messages page.Microsoft Learn SelectedAllowDelete
DescriptionA short description of the message status.Microsoft Learn Message createdDescription

Common errors and fixes

MessageWhat to do
A failed web service call leaves the message without a status.Create a message status with response type Technical error and add it as a result status of the Web service action. Microsoft Learn

Test checklist

  1. Create Sent (Successfully executed) and Error (Technical error) statuses for a Web service action.
  2. Add both as result statuses on the action in Message processing actions.
  3. Send a message to the test web service and check it gets Sent.
  4. Point the web service to a wrong address, resend and check the message gets Error.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Message statusesOne message status for each response type an action can produce, for example both Successfully executed and Technical error for a Web service actionSome actions return more than one response type, and Learn says to define message statuses for each. The result-status table lists which response types each action type needs.Which response types need a message status?Defining only a success status for a Web service or Request verification action. A failed call then has no status to land in.Test: Success and error both have a status

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: Message statuses can be edited. Allow delete controls whether users can delete messages in that status on Electronic messages. Microsoft Learn
If you change it laterMessage statuses steer which actions can run next and which buttons users see on Electronic messages, and Allow delete decides whether messages can be deleted. A change applies to messages processed afterwards. Microsoft Learn
Technical architect

6Technical

Menu itemElectronicMessageStatus Checked in Dynamics 365
FormElectronicMessageStatus Checked in Dynamics 365
TableElectronicMessageStatusShown as “Electronic message statuses” in Record infoChecked in Dynamics 365
Data entitiesElectronicMessageStatusEntityElectronic message statuses Checked 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=ElectronicMessageStatus
Integrate withElectronicMessageStatusEntity data entity Checked in Dynamics 365
Data migrationElectronicMessageStatusEntity Loads the message status 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
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.