BeyondERP.Newsletter
Menu

Setup step on the Configuration debug logs page · Organization administration

Review Electronic reporting debug logs

Use the log while you test a format to see which model mapping and components a run used.

See how to set it up Back to Organization administration

Used by
Electronic reporting developer, Electronic reporting functional consultant
Business process
Administer system features
Menu item
ERConfigurationDebugLogs
Main table
ERFormatMappingRunLogTable
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.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “A debug run writes a log record”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isAn inquiry page that shows the log records written when Electronic reporting formats run in debug mode.
What you do hereUse this page to see details of a format run, such as which model mapping was used.
ExampleFor example, after running an Intrastat format in debug mode, you can open the XML file attached to the log record to review the counting and summing details collected during the run.
Configuration debug logs 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

Business processAdminister system features
Menu pathOrganization administration › Electronic reporting › Configuration debug logs
Set up firstConfigurations Microsoft Learn
Used next byConfigurations (turn debug mode off) Microsoft Learn
Related pagesElectronic reporting jobs Microsoft Learn
In this process Check Electronic reporting batch jobs · Rebuild Electronic reporting table references
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.

Setup steps on this page

Review Electronic reporting debug logs

Use the log while you test a format to see which model mapping and components a run used.

Steps from Microsoft

  1. Go to Organization administration > Electronic reporting > Configurations.
  2. On the Action Pane, on the Configurations tab, select User parameters.
  3. Set the Run in debug mode option to Yes, and then select OK.
  4. Run the format.
  5. Go to Organization administration > Electronic reporting > Configuration debug logs.
  6. Reload the page to see the new log record.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
LevelHow serious the record is; Info means the record is for information only.Microsoft Learn InfoLevel
Format componentThe part of the format the record is about, such as the mapping that was used.Microsoft Learn FormatComponent
Generated textThe text of the log message.Microsoft Learn ValidationMessage

Common errors and fixes

MessageWhat to do
No log record appears after the runCheck that Run in debug mode is on for the user who ran the format, and reload the page. Microsoft Learn

Test checklist

  1. Turn on Run in debug mode in User parameters on the Configurations page.
  2. Run a format that has more than one model mapping.
  3. Reload Configuration debug logs and open the new record.
  4. Check the Format component shows the model mapping that was used.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Review Electronic reporting debug logsTurn on Run in debug mode only while you test a format, and turn it off again afterwardsIn debug mode every run of a format writes a log record; the record shows details of the run such as which model mapping was used.When is Run in debug mode turned on?Leaving debug mode on after testing, so every later run keeps writing log records.Test: A debug run writes a log record

Feature management and licence

Licence or add-inOn this system the page opens for Electronic reporting functional consultant and Electronic reporting developer. Electronic reporting consultants and developers use the log while they test formats. No Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer user: Run in debug mode is a user parameter, so only runs by a user who turned it on write log records. Microsoft Learn
Can it be undoneReversible: Debug mode is a user parameter that can be switched off at any time.
If you change it laterWhile Run in debug mode is on, every run of a format writes a log record, for example which model mapping was used. Microsoft Learn
Technical architect

6Technical

Menu itemERConfigurationDebugLogs Checked in Dynamics 365
FormERFormatMappingRunLogTable Checked in Dynamics 365
TableERFormatMappingRunLogTableShown as “Electronic reporting run logs” in Record infoChecked in Dynamics 365
Who can open it

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

  • RoleElectronic reporting developerERDeveloper
    • DutyRun Bindings from Electronic reporting moduleERRunBinding
      • PrivilegeVerify format binding to data sourcesERVerifyFormatDataBinding
  • RoleElectronic reporting functional consultantERFunctionalConsultant
    • DutyRun Bindings from Electronic reporting moduleERRunBinding
      • PrivilegeVerify format binding to data sourcesERVerifyFormatDataBinding
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itElectronic reporting functional consultant ERFunctionalConsultantElectronic reporting developer ERDeveloperGive people one of these roles. On this system, 2 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=ERConfigurationDebugLogs
Data migrationLoad order: Configuration debug logs has no data entity in Data management, so it can't be loaded from a file or a configuration template. The log records are written by format runs in debug mode, so there is nothing to move.Checked in Dynamics 365
Everyone

8Sources

To cite this step: OA-ER-620, Review Electronic reporting debug logs. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/OA-ER-620