Accounting manager, Business Performance Planning app role, Contractor and 11 more roles
Business process
Define costing policies
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
A ready-to-run test, “Shared category usage is enforced”, 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 is
A setup page where you maintain shared categories, the parent categories that expense, project and production cost categories are built on, and say in which modules each can be used.
What you do here
Use this page to create a shared category and set Can be used in Project, Can be used in Production and Can be used in Expense, before cost categories or project and expense categories are created on it.
Example
For example, BEAT creates the shared category ASSEMBLY with Can be used in Project and Can be used in Production = Yes, so its Assembly cost category can cost route operations and also be charged to projects as hours.
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
Decide the usage of shared categories for production
Create shared categories for production cost categories and decide which can also be used in projects.
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
Steps from Microsoft
Go to Cost management > Manufacturing accounting policies setup > Shared categories.
Select New and enter a Category ID and Category name.
Under Usage, set Can be used in Production, and Can be used in Project if the same category is charged to projects.
Set Can be used in Expense only for expense categories; a category can't be shared between Expense management and Production.
Select Save, then create the cost category on Cost categories with the same category ID.
Turn this on so the shared category can be used to create expense categories.Microsoft Learn
No
Category ID
The code that identifies the shared category.Checked in Dynamics 365
ASSEMBLY
CategoryId
Category name
The name of the shared category.Checked in Dynamics 365
Shared category
CategoryName
Can be used in Project
Lets the shared category be used for project categories, and for cost categories that are also used in projects.Microsoft Learn
Yes
Can be used in Production
Lets the shared category be used for production cost categories. It can be combined with Project, not with Expense.Microsoft Learn
Yes
Expense type
The type of expense when the category is used in Expense management.Checked in Dynamics 365
Common errors and fixes
Message
What to do
The category can't be set for both Expense and Production
Learn allows sharing between Project and Expense, or Project and Production, but not between Expense and Production. Create separate shared categories. Microsoft Learn
A project or cost category can't be created on the shared category
A shared category must exist, with the matching Can be used in option, before any legal entity can create a category on it. Microsoft Learn
Test checklist
Create a shared category with Can be used in Production and Can be used in Project = Yes.
On Cost categories, create a cost category on it with Use in Project and a category group of type Hours.
Try to set Can be used in Expense on the same shared category and check it isn't allowed together with Production.
Check the category is offered on Cost categories in another legal entity too.
One shared category per production cost category, with Can be used in Production = Yes, and Can be used in Project = Yes only where the same hours are charged to projects.Production cost categories are built on shared categories, and a cost category used in projects needs project information such as a category group of type Hours.
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
Feature management and licence
Licence or add-in
Cost management is part of Dynamics 365 Supply Chain Management and Dynamics 365 Finance; no feature in Feature management turns this page on. The same page sits under Organization administration, Expense management and Production control.
Hard to reverse: Shared by every legal entity; categories built on it in each company must be reviewed before you change its usage.
If you change it later
Shared categories are shared by all legal entities. Clearing a Can be used in option or renaming a category affects every company that has built cost, project or expense categories on it. 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 itInventory accountant InventCostAccountantInventory accountant clerk InventCostCostClerkProject manager ProjProjectManagerExpenseAgentRole 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. Load it before Category table and Route cost category.Load order: Load Shared category first, before the Category table entity and any expense or project category, because those are built on it.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.
To cite this step: CM-MFG-050, Decide the usage of shared categories for production. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/CM-MFG-050