A setup page where you maintain shared categories, the parent categories that other modules build their own categories on. In Production control they are the basis for categories shared with Project management and accounting.
Accounting manager, Business Performance Planning app role, Contractor and 11 more roles
Business process
Administer system features
Menu item
TrvSharedCategory
Main table
SharedCategory
Data entity
SharedCategoryEntity
Setup steps
2 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
2 ready-to-run tests 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 is
A setup page where you maintain shared categories, the parent categories that other modules build their own categories on. In Production control they are the basis for categories shared with Project management and accounting.
What you do here
Use this page to create the shared categories that route cost categories, project categories and expense categories are built on, and to choose which modules can use each one. A category can be shared between Project management and accounting and Production, but not between Expense management and Production.
Example
For example, create an assembly labour category that both Production and Project management and accounting can use, so that production time and project hours use the same category.
The page in Dynamics 365. page title tab to open what to set or check
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 Shared categories1 screen
Use this page to create and adjust the shared categories that Expense management and Project management and accounting use as the basis for their own categories.
Screen 1
Create a shared category
Go to Organization administration > Setup > Categories > Shared categories
Select New
Enter the category ID and name
Turn on where the category can be used, here Can be used in Project
Select Save
1Category ID
BEAT-SCAT
2Category name
Shared category
3Can be used in Project
Yes
Show the full screen page title tab to open what to set or check
Use shared categories for production cost categories
Use this page to create the shared categories that production cost categories are built on, and decide whether each one is also used in projects.
Steps from Microsoft
Go to Production control > Setup > Routes > Shared categories.
Select New and enter the Category ID and Category name, for example ASSEMBLY.
Turn on Can be used in Project if production work on this category is also reported on projects. Leave Can be used in Expense off: a category can't be shared between Expense management and Production.
Save, then create the cost category on Production control > Setup > Routes > Cost categories and give it its hourly cost records.
Turn this on so the shared category can be used to create expense categories.Microsoft Learn
Category ID
The code that identifies the shared category.Checked in Dynamics 365
CONSULTING
CategoryId
Category name
The name of the shared category.Checked in Dynamics 365
Shared category
CategoryName
Can be used in Project
Turn this on so project categories can be created from the shared category. Combined with production use, one category then serves production time and project hours.Microsoft Learn
Yes
Common errors and fixes
Message
What to do
A category can't be used for both expenses and production
Learn says categories can be shared between Project and Expense or between Project and Production, but not between Expense and Production. Create a separate shared category for expenses. Microsoft Learn
Test checklist
Create a shared category and select Can be used in Project.
Create a project category based on it in a legal entity and check the lookup offers it.
Create a cost category on a shared category that is used in Project and check it is offered for production and project use.
Post a project transaction with the category and check it posts to the category group's accounts.
Decide per category whether it's shared between Project and Expense or Project and Production, and set Can be used in Expense / Can be used in Project to matchShared categories are the parent for expense and project categories in every legal entity, and they can be shared between Project and Expense or Project and Production, but not between Expense and Production.
Which modules can each shared category be used in?Creating project categories before the shared category exists. A shared category must exist before a project category can be created in any legal entity that uses it. With Project Operations, shared categories are created from Dataverse transaction categories, so create the transaction category there first.Test: A shared category can be used in Expense and Project
Create production categories as shared categories used in Production (and in Project only where production work is reported on projects); keep expense categories separateLearn says a category can be shared between Project and Production but not between Expense and Production, and a cost category used in projects needs extra project setup.
In this system 16 roles can open this page. Accounting manager and Information technology manager maintain it; Inventory accountant, Inventory accountant clerk and Project manager use it. No Feature management feature needs to be on for this page.
Hard to reverse: Project and expense categories are created from shared categories, and a shared category must exist before a project category can be created in any legal entity. Changing or removing a shared category affects every category built on it. Microsoft Learn
If you change it later
Each company builds its cost, project and expense categories on the shared category. Changing which modules can use it changes which category pages offer it, in every legal entity. Microsoft Learn
Technical architect
6Technical
Menu item
TrvSharedCategoryChecked in Dynamics 365
Form
GlobalCategoryChecked in Dynamics 365
Table
SharedCategoryShown as “Shared category” in Record infoChecked in Dynamics 365
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 it
To set it up or change itAccounting manager LedgerAccountingManagerInformation technology manager SysServerITManagerBusiness Performance Planning app role BPPBudgetPlanningAppRoleData management migration user DataManagementMigrationUserDemand planning app role ScpDemandPlanningAppRoleTo use itProject manager ProjProjectManagerInventory accountant clerk InventCostCostClerkInventory accountant InventCostAccountantExpenseAgentRole ExpenseAgentV2Role Give people one of these roles. On this system, 16 roles can open this page.Checked in Dynamics 365
Actions on the page
Options: Personalize, Page options, ShareChecked in Dynamics 365
SharedCategoryEntity (Shared category): shared by all companies, in Microsoft's default template 410 - Production control.Load order: Microsoft's default template 410 - Production control loads Shared category at execution unit 1, level 20, 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 Global address book)Microsoft Learn
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.