BeyondERP.Newsletter
Menu

Setup step on the Rebuild table references page · Organization administration

Rebuild Electronic reporting table references

Run the job after each deployment that adds or changes tables, views or data entities used by ER.

Used by
Electronic reporting developer
Business process
Administer system features
Menu item
action:ERExternalTableRelationsBuilder
Setup steps
1 on this page

How this guide was checked

Source
Written from Microsoft's official Dynamics 365 documentation.
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 new table appears in the Table lookup”, 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 isA periodic job that brings changes to tables, views and data entities into the Electronic reporting metadata.
What you do hereUse this periodic task after new or changed tables, views or data entities are deployed, so that Electronic reporting can use them as data sources.
ExampleFor example, after a developer deploys a custom table, the ER developer runs Rebuild table references so that the table appears in the Table lookup of a Table records data source.
Rebuild table references 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.

Setup steps on this page

Rebuild Electronic reporting table references

Run the job after each deployment that adds or changes tables, views or data entities used by ER.

Steps from Microsoft

  1. Go to Organization administration > Electronic reporting > Rebuild table references.
  2. Run it after a deployment that adds or changes tables, views or data entities used as ER data sources.
  3. Open the model mapping designer and add a Table records data source.
  4. Check that the new or changed table is offered in the Table lookup.

Source: Microsoft Learn

Common errors and fixes

MessageWhat to do
A custom table can be typed into a Table records data source but isn't offered in the Table lookupRun Rebuild table references to bring the table into the ER metadata. Microsoft Learn

Test checklist

  1. Deploy a new or changed table, view or data entity.
  2. Run Rebuild table references.
  3. In a model mapping, add a Table records data source and check the table now appears in the Table lookup.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Rebuild Electronic reporting table referencesRun Rebuild table references after every deployment that adds or changes tables, views or data entities used as ER data sourcesLearn names this menu item as the way to bring AOT changes into the ER metadata; without it, the Table lookup doesn't offer the new table.Who runs Rebuild table references and when?Typing the table name into the data source by hand: the mapping accepts it, but the table still isn't in the lookup for other users.Test: A new table appears in the Table lookup

Feature management and licence

Licence or add-inOn this system the page opens for Electronic reporting developer. Electronic reporting developers run it after deployments. No Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyWhole environment: it reads the deployed tables, views and data entities, not company data. Microsoft Learn
Can it be undoneReversible: It only refreshes the ER metadata and can be run again at any time.
If you change it laterIt brings new or changed tables, views and data entities into the ER metadata, so model mappings can offer them in the Table lookup. Microsoft Learn
Technical architect

6Technical

Menu itemaction:ERExternalTableRelationsBuilder
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleElectronic reporting developerERDeveloper
    • DutyRebuild table referencesERRebuildTableReferences
      • PrivilegeMaintain table referencesERMaintainTableReferences
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itElectronic reporting developer ERDeveloperGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:ERExternalTableRelationsBuilder
Data migrationLoad order: Rebuild table references has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a job, not data: run it once in each environment after the deployment.Checked in Dynamics 365
Everyone

8Sources

To cite this step: OA-ER-630, Rebuild Electronic reporting table references. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/OA-ER-630