BeyondERP.Newsletter
Menu

Setup step on the Business document management page · Organization administration

Change and publish business document templates

Let business users change document layouts in Excel or Word and publish them after a test print.

See how to set it up Back to Organization administration

Used by
System administrator
Business process
Administer system features
Menu item
ERBDWorkspace
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 published template is used for the next document”, 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 workspace where business users edit the templates that are used to produce outbound business documents, such as orders and invoices, in Excel or Word.
What you do hereUse this workspace to change business document templates, such as layouts and extra data placeholders, without code changes and without knowing the Electronic reporting framework.
ExampleFor example, a BEAT finance user makes a copy of the free text invoice template, adds the BEAT logo, prints one test free text invoice from the draft revision, and publishes the template so invoices from then on use it.
Business document management 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

Change and publish business document templates

Let business users change document layouts in Excel or Word and publish them after a test print.

Steps from Microsoft

  1. Open Organization administration > Workspaces > Business document management.
  2. Select the template you want to change.
  3. Select New document to make an editable copy (or Edit for a template your active provider owns).
  4. In the Title, Name and Comment fields, enter the details of the new template and its first revision.
  5. Select OK to start editing, and change the template in Excel or Word.
  6. Test the changed template by printing the document it is used for.
  7. On the Template tab, select Publish, and then select OK.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
TemplateA tab that shows a preview of the selected template.Microsoft Learn Free text invoice (Excel)
DetailsA tab with details of the selected template and of the Electronic reporting format configuration it belongs to.Microsoft Learn
New documentA button that creates an editable copy of a template, or uploads a new template from an Excel workbook.Microsoft Learn
RevisionsA tab that keeps revisions of a template; you can make another revision active or delete inactive ones.Microsoft Learn

Common errors and fixes

MessageWhat to do
The workspace shows no templatesIt lists only templates that the active provider owns in this environment. Set the right provider active in the Electronic reporting workspace, or use New document to copy a template another provider owns. Microsoft Learn

Test checklist

  1. Open the workspace as a user with the Manage Business document templates duty and check the templates of the active provider are listed.
  2. Select New document for the free text invoice template and make a small change.
  3. Print a free text invoice and check the change shows.
  4. Publish the template and check the next invoice uses it.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Change and publish business document templatesEdit a copy (New document) of a standard template, test it by printing the document it is used for, and publish only after the testA published template is used for every document generated from then on, so the test print is the only check before users see the change.Who may change and publish business document templates?Giving every user the workspace. Only the System administrator role and roles with the Manage Business document templates duty should change templates.Test: A published template is used for the next document

Feature management and licence

Licence or add-inOnly users with the System administrator role, or a role with the duty Manage Business document templates (ERBDManageTemplates), can open the workspace. No Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyShared: the workspace shows the templates that the active configuration provider owns in this environment, and Electronic reporting configurations are shared among companies. Microsoft Learn
Can it be undoneReversible: Revisions are kept; an earlier revision can be made active again.
If you change it laterWhen you publish a new template version, it is used for documents generated from then on; documents that were already generated don't change. Microsoft Learn
Technical architect

6Technical

Menu itemERBDWorkspace Checked in Dynamics 365
FormERBDWorkspace Checked in Dynamics 365
Who can open it

1 security role.

No security role holds the privileges that grant this page, so only the System administrator role, which is not limited by security, can open it. To give it to others, add one of these privileges to a role.

  • PrivilegeERBDEditTemplates
  • PrivilegeERBDViewWorkspace
  • RoleSystem administrator-SYSADMIN-
Checked against Microsoft's standard security setup and a working Dynamics 365 system (version 10.0.49): no role holds these privileges
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=ERBDWorkspace
Data migrationLoad order: The Business document management workspace has no data entity in Data management, so it can't be loaded from a file or a configuration template. Templates live inside Electronic reporting format configurations, so they move with those configurations (repository import or XML file), not with Data management.Microsoft Learn
Everyone

8Sources