BeyondERP.Newsletter
Menu

Setup page · Production control

Shared categories

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.

Read the guide Back to Production control

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

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
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

  1. Go to Production control > Setup > Routes > Shared categories.
  2. Select New and enter the Category ID and Category name, for example ASSEMBLY.
  3. 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.
  4. Save, then create the cost category on Production control > Setup > Routes > Cost categories and give it its hourly cost records.

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
Category IDThe code that identifies the shared category.Checked in Dynamics 365CONSULTINGCategoryId
Category nameThe name of the shared category.Checked in Dynamics 365Shared categoryCategoryName
Can be used in ProjectTurn 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

MessageWhat to do
A category can't be used for both expenses and productionLearn 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

  1. Create a shared category and select Can be used in Project.
  2. Create a project category based on it in a legal entity and check the lookup offers it.
  3. Create a cost category on a shared category that is used in Project and check it is offered for production and project use.
  4. Post a project transaction with the category and check it posts to the category group's accounts.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
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
Use shared categories for production cost categoriesCreate 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.Is a production cost category also used on projects?Reusing an expense category for production costs. Expense and Production can't share a category, so a separate category is needed.Test: A shared category is used for a production cost category

Feature management and licence

Licence or add-inIn 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.

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: 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 laterEach 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 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 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 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, 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
Table definitionSharedCategory columns and relations Microsoft data model
Everyone

8Sources