Product information managementPeriodic tasksWarehouse Management
action:EcoResProductAttributeValueCleanup
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 is
A periodic job that deletes product attribute value records that no product is linked to any more through a product category.
What you do here
Run this job after attributes are removed from categories or products move out of a category, so stale attribute values are removed.
Example
For example, BEAT removes attribute Wheel size from category Accessories; the job deletes 75 value records that no product in the category uses any more.
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.
When to run it
When to run it
After attributes are added to or removed from categories, or products move between categories.
How often
On demand after category changes, or as a recurring batch job.
Batch settings
Can run in the background.
What the output shows
Attribute 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
Go to Product information management > Periodic tasks > Warehouse Management > Clean up product attribute values.
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."
Select an Attribute or a Product to limit the run, or leave both empty to process all.
Open Run in the background to run it as a batch job, select OK, and check the product attributes of one product afterwards.
Run 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.
On 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 company
Product attributes and their values are shared across legal entities. Checked in Dynamics 365
Can it be undone
Irreversible: 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 later
Deletes attribute value records that are no longer associated with any product through a category. Microsoft Learn
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 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
EcoResProductAttributeValueV3Entity 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