BeyondERP.Newsletter
Menu

Setup step on the Document types page · Organization administration

Set up Document types

Use this page to create document types and choose each one's class (file, URL or note) and storage location, such as Azure storage or SharePoint.

Used by
Electronic reporting developer, Electronic reporting functional consultant, Production manager and 1 more role
Business process
Administer system features
Menu item
DocuType
Main table
DocuType
Data entity
DocuTypeEntity
Setup steps
1 on this page
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 setup page where you define the types used to group attachments and templates, and where each type is stored.
What you do hereUse this page to create document types and choose each one's class (file, URL or note) and storage location, such as Azure storage or SharePoint.
ExampleFor example, an HR team can add an HR Docs document type whose files are stored in a SharePoint folder.
Document types 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 Document types1 screen

Use this page to create document types and choose each one's class (file, URL or note) and storage location, such as Azure storage or SharePoint.

  1. Screen 1

    Create a document type

    Go to Organization administration > Document management > Document types

    1. Select New
    2. Enter the type and its name
    3. Choose the class, group and storage location
    4. Select Save
    1TypeBEAT-NOTE
    2NameNote
    3ClassAttach file
    4GroupFile
    5LocationAzure storage
    Create a document type (zoomed on the outlined fields)
    Show the full screenCreate a document type
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Organization administration > Document management > Document types.
  2. Select New.
  3. In the Type field, enter a short name, such as HR Docs.
  4. In the Name field, enter a longer name.
  5. In the Class field, select Attach file, Attach URL or Simple note.
  6. For the Attach file class, choose where files are stored in the Location field.
  7. If the location is SharePoint, select Edit and pick the folder for the SharePoint Address field.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
TypeA short name for the document type.Microsoft Learn NOTETypeId
NameA longer, descriptive name for the document type.Microsoft Learn NoteName
ClassSets the behavior: attach a file, attach a URL, or add a simple note.Microsoft Learn Attach fileActionClassId
LocationWhere files of an Attach file type are stored.Microsoft Learn Azure storageFilePlace
SharePoint AddressThe SharePoint folder used when the location is SharePoint.Microsoft Learn
GroupElectronic reporting archive destinations can use only document types whose group is File.Microsoft Learn FileTypeGroup

Common errors and fixes

MessageWhat to do
The provided document type is not a File type.Set up, in the company where the format ran, the document types selected in Job archive, Temporary, Baseline and Others on Electronic reporting parameters. Microsoft Learn

Test checklist

  1. Create a document type with Class = Attach file and Location = SharePoint, and select the SharePoint Address.
  2. On Document management parameters, select Test interactive SharePoint connection (or Test SharePoint connection).
  3. Attach a file of that type to a record and open it.
  4. Run an ER format in a second company and check no document type error appears.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Document typesFor Electronic reporting: document types with Class = Attach file, Group = File and Location = Azure storage or SharePoint, set up in every company that runs ER formats.ER parameters point to company-specific document types for the job archive, temporary, baseline and other files, so each company needs them.Setting up the ER document types in one company only: running the same format in another company fails.
Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Technical architect

6Technical

Menu itemDocuType Checked in Dynamics 365
FormDocuType Checked in Dynamics 365
TableDocuTypeShown as “Document types” in Record infoKey field: TypeIdChecked in Dynamics 365
Data entitiesDocuTypeEntityDocument types Microsoft data model
Who can open itPrivilegesMaintain document handling DocumentHandlingMaintain ERDocumentHandlingReadDuties ERParametersMaintainMaintain indirect activity costs master JmgIndirectActivityCostMasterMaintainMaintain system settings SysServerSettingsMaintain
4 security rolesElectronic reporting developer ERDeveloperElectronic reporting functional consultant ERFunctionalConsultantProduction manager ProdProductionManagerInformation technology manager SysServerITManager
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itInformation technology manager SysServerITManagerProduction manager ProdProductionManagerTo use itElectronic reporting functional consultant ERFunctionalConsultantElectronic reporting developer ERDeveloperGive people one of these roles. On this system, 4 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=DocuType
Integrate withDocuTypeEntity data entity Microsoft data model
Data migrationDocuTypeEntity (Document types): loaded for each company, in Microsoft's default template 025 - General ledger.Load order: Microsoft's default template 025 - General ledger loads Document types at execution unit 1, level 25, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to Workflow)Microsoft Learn
Table definitionDocuType columns and relations Microsoft data model
Everyone

8Sources

To cite this step: OA-DOC-040, Set up Document types. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/OA-DOC-040