BeyondERP.Newsletter
Menu

Setup step on the Clean up product attribute values page · Product information management

Clean up product attribute values

Run this job after attributes are removed from categories or products move out of a category, so stale attribute values are removed.

Used by
Purchasing agent, Purchasing Agent - Public Sector, Accounting manager and 7 more roles
Business process
Assign product attribute to product category in Dynamics 365 Supply Chain Management or Dynamics 365 Commerce
Menu item
action:EcoResProductAttributeValueCleanup
Data entity
EcoResProductAttributeValueV3Entity
Setup steps
1 on this page

How this guide was checked

Source
Written from Microsoft's official Dynamics 365 documentation.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Clean up product attribute values for one attribute”, 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 periodic job that deletes product attribute value records that no product is linked to any more through a product category.
What you do hereRun this job after attributes are removed from categories or products move out of a category, so stale attribute values are removed.
ExampleFor example, BEAT removes attribute Wheel size from category Accessories; the job deletes 75 value records that no product in the category uses any more.
Clean up product attribute values 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

Business processDevelop product strategy › Define product attributes › Assign product attribute to product category in Dynamics 365 Supply Chain Management or Dynamics 365 Commerce
Menu pathProduct information management › Periodic tasks › Warehouse Management › Clean up product attribute values
Set up firstCategory hierarchies Microsoft Learn
Used next byPopulate product attribute values Checked in Dynamics 365
Related pagesReleased products Microsoft Learn
In this process Populate product attribute values · Set up Attribute groups
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.

When to run it

When to run itAfter attributes are added to or removed from categories, or products move between categories.
How oftenOn demand after category changes, or as a recurring batch job.
Batch settingsCan run in the background.
What the output showsAttribute value records no longer linked through a category are deleted.

Source: Checked in Dynamics 365

Setup steps on this page

Clean up product attribute values

Run this job after attributes are removed from categories or products move out of a category, so stale attribute values are removed.

Steps from Microsoft

  1. Go to Product information management > Periodic tasks > Warehouse Management > Clean up product attribute values.
  2. Read the dialog text: "This periodic task cleans up product attribute value records that are no longer associated with any product via a product category."
  3. Select an Attribute or a Product to limit the run, or leave both empty to process all.
  4. Open Run in the background to run it as a batch job, select OK, and check the product attributes of one product afterwards.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
AttributeLimits the job to one product attribute; leave empty for all.Checked in Dynamics 365Fabric
ProductLimits the job to one product; leave empty for all.Checked in Dynamics 365BEAT-000611

Common errors and fixes

MessageWhat to do
A product doesn't show an attribute its category has.Products get attributes through their category; check the category assignment, then run Populate product attribute values. Microsoft Learn
Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Clean up product attribute valuesRun for one attribute at a time after a category change, and export the values firstValues that no category links any more are deleted; an export keeps the data if the attribute comes back.Run after each category change or on a schedule?Running it for all attributes straight after products moved categories by mistake, deleting values you still need.Test: Clean up product attribute values for one attribute

Feature management and licence

Licence or add-inOn the live system, Product designer, Process engineer, Purchasing manager, Purchasing agent and Purchasing Agent - Public Sector (10 roles in total) use this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyProduct attributes and their values are shared across legal entities. Checked in Dynamics 365
Can it be undoneIrreversible: Deleted attribute values can't be restored in the system; re-enter or re-import them. Run it in a copy first.
If you change it laterDeletes attribute value records that are no longer associated with any product through a category. Microsoft Learn
Technical architect

6Technical

Menu itemaction:EcoResProductAttributeValueCleanup
Data entitiesEcoResProductAttributeValueV3EntityProduct attribute values V3
Who can open it

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

  • RoleAccounting managerLedgerAccountingManager
    • DutyMaintain derived financial hierarchy filtersLedgerDerivedFinancialHierarchyMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RoleFinancial controllerLedgerFinancialController
    • DutyMaintain derived financial hierarchy filtersLedgerDerivedFinancialHierarchyMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RoleProcess engineerRouteProcessEngineer
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RoleProduct designerBOMProductDesigner
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RolePurchasing agentVendPurchasingAgent
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RolePurchasing Agent - Public SectorVendPurchasingAgent_PSN
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RolePurchasing managerTradePurchasingManager
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RoleRetail catalog managerRetailCatalogManager
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RoleRetail merchandising managerRetailMerchandisingManager
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
  • RoleRetail serviceRetailService
    • DutyMaintain all category hierarchy detailsEcoResCategoryMasterMaintain
      • PrivilegeMaintain product attribute valuesEcoResAttributeValue
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 use itProduct designer BOMProductDesignerProcess engineer RouteProcessEngineerPurchasing manager TradePurchasingManagerPurchasing agent VendPurchasingAgentPurchasing Agent - Public Sector VendPurchasingAgent_PSNGive people one of these roles. On this system, 10 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:EcoResProductAttributeValueCleanup
Integrate withEcoResProductAttributeValueV3Entity data entity
Data migrationEcoResProductAttributeValueV3Entity Product attribute values; load after products, attributes and category assignments.Load order: Load attribute types, attributes, attribute groups, category hierarchies and product category assignments first, then product attribute values; run this job afterwards to fill or clear the gaps.Load first: Attributes, Category hierarchies, Product category assignmentsChecked in Dynamics 365
Everyone

8Sources

To cite this step: PIM-JOB-150, Clean up product attribute values. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PIM-JOB-150