BeyondERP.Newsletter
Menu

Setup step on the Shared categories page · Cost management

Decide the usage of shared categories for production

Create shared categories for production cost categories and decide which can also be used in projects.

See how to set it up Back to Cost management

Used by
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 isA 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 hereUse 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.
ExampleFor 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.
Shared categories 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

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.

  1. Screen 1

    Create a shared category

    Go to Organization administration > Setup > Categories > Shared categories

    1. Select New
    2. Enter the category ID and name
    3. Turn on where the category can be used, here Can be used in Project
    4. Select Save
    1Category IDBEAT-SCAT
    2Category nameShared category
    3Can be used in ProjectYes
    Create a shared category (zoomed on the outlined fields)
    Show the full screenCreate a shared category
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Cost management > Manufacturing accounting policies setup > Shared categories.
  2. Select New and enter a Category ID and Category name.
  3. Under Usage, set Can be used in Production, and Can be used in Project if the same category is charged to projects.
  4. Set Can be used in Expense only for expense categories; a category can't be shared between Expense management and Production.
  5. Select Save, then create the cost category on Cost categories with the same category ID.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Can be used in ExpenseTurn this on so the shared category can be used to create expense categories.Microsoft Learn No
Category IDThe code that identifies the shared category.Checked in Dynamics 365ASSEMBLYCategoryId
Category nameThe name of the shared category.Checked in Dynamics 365Shared categoryCategoryName
Can be used in ProjectLets 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 ProductionLets the shared category be used for production cost categories. It can be combined with Project, not with Expense.Microsoft Learn Yes
Expense typeThe type of expense when the category is used in Expense management.Checked in Dynamics 365

Common errors and fixes

MessageWhat to do
The category can't be set for both Expense and ProductionLearn 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 categoryA 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

  1. Create a shared category with Can be used in Production and Can be used in Project = Yes.
  2. On Cost categories, create a cost category on it with Use in Project and a category group of type Hours.
  3. Try to set Can be used in Expense on the same shared category and check it isn't allowed together with Production.
  4. Check the category is offered on Cost categories in another legal entity too.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Decide the usage of shared categories for productionOne 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.Which shared categories are used by production, and which also by projects?Trying to share one category between Expense management and Production; Learn allows only Project with Expense or Project with Production.Test: Shared category usage is enforced
Set up Shared categoriesDecide 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-inCost 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.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyShared: the same records are used by every legal entity. Microsoft data model
Can it be undoneHard 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 laterShared 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 itemTrvSharedCategory Checked in Dynamics 365
FormGlobalCategory Checked in Dynamics 365
TableSharedCategoryShown as “Shared category” in Record infoChecked in Dynamics 365
Data entitiesSharedCategoryEntityShared category Microsoft data model
Who can open it

16 security roles. Select a role to see its duties and privileges.

  • RoleAccounting managerLedgerAccountingManager
    • DutyEnable cost processInventCostCostProcessEnable
      • PrivilegeMaintain route cost categoriesRouteCostCategoryMaintain
    • DutyInquire into cost masterInventItemPriceCostMasterInquire
      • PrivilegeView route cost categoriesRouteCostCategoryView
    • DutyInquire into project category masterProjProjectCategoriesMasterInquire
      • PrivilegeView expense typesTrvCostTypeView
  • RoleBusiness Performance Planning app roleBPPBudgetPlanningAppRole no duty on this page is assigned to this role directly
  • RoleContractorHcmContractor
    • DutyMaintain travel requisitions and expensesTrvTravelRequestsAndExpensesMaintain
      • PrivilegeView expense typesTrvCostTypeView
  • RoleData management administratorDataManagementAdministrator no duty on this page is assigned to this role directly
  • RoleData management migration userDataManagementMigrationUser
    • DutyMaintain Master entity data for data managementDataManagementApplicationMasterEntitiesMaintain
      • PrivilegeMaintain expense typesTrvCostTypeMaintain
    • DutyView Master entity data for data managementDataManagementApplicationMasterEntitiesView
      • PrivilegeView expense typesTrvCostTypeView
    • DutyMaintain Reference entity data for data managementDataManagementApplicationReferenceEntitiesMaintain
      • PrivilegeMaintain expense typesTrvCostTypeMaintain
    • DutyView Reference entity data for data managementDataManagementApplicationReferenceEntitiesView
      • PrivilegeView expense typesTrvCostTypeView
  • RoleDemand planning app roleScpDemandPlanningAppRole no duty on this page is assigned to this role directly
  • RoleEmployeeHCMEmployee
    • DutyMaintain travel requisitions and expensesTrvTravelRequestsAndExpensesMaintain
      • PrivilegeView expense typesTrvCostTypeView
  • RoleExpense administratorExpenseAdministrator
    • DutyEnable expense management processTrvTravelAndExpenseProcessEnable
      • PrivilegeMaintain expense typesTrvCostTypeMaintain
    • DutyInquire into expense management reference dataTrvTravelAndExpenseReferenceDataInquire
      • PrivilegeView expense typesTrvCostTypeView
    • DutyMaintain travel requisitions and expensesTrvTravelRequestsAndExpensesMaintain
      • PrivilegeView expense typesTrvCostTypeView
  • RoleExpenseAgentRole
    • DutyExpenseAgentDuty
      • PrivilegeView expense typesTrvCostTypeView
  • RoleExpenseAgentV2Role
    • DutyExpenseAgentV2Duty
      • PrivilegeView expense typesTrvCostTypeView
  • RoleInformation technology managerSysServerITManager no duty on this page is assigned to this role directly
  • RoleInventory accountantInventCostAccountant
    • DutyInquire into cost masterInventItemPriceCostMasterInquire
      • PrivilegeView route cost categoriesRouteCostCategoryView
  • RoleInventory accountant clerkInventCostCostClerk
    • DutyInquire into cost masterInventItemPriceCostMasterInquire
      • PrivilegeView route cost categoriesRouteCostCategoryView
  • RoleProject accountantProjProjectAccountant
    • DutyInquire into project category masterProjProjectCategoriesMasterInquire
      • PrivilegeView expense typesTrvCostTypeView
  • RoleProject managerProjProjectManager
    • DutyInquire into project category masterProjProjectCategoriesMasterInquire
      • PrivilegeView expense typesTrvCostTypeView
  • RoleProject supervisorProjProjectSupervisor
    • DutyInquire into project category masterProjProjectCategoriesMasterInquire
      • PrivilegeView expense typesTrvCostTypeView
    • DutyMaintain project category masterProjProjectCategoriesMasterMaintain
      • PrivilegeMaintain expense typesTrvCostTypeMaintain
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 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 pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=TrvSharedCategory
Integrate withSharedCategoryEntity data entity Microsoft data model
Data migrationSharedCategoryEntity (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
Table definitionSharedCategory columns and relations Microsoft data model
Everyone

8Sources

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