web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to update the attribute for each product if there is a attribute change at category level

(0) ShareShare
ReportReport
Posted on by 155

Hi All,

I would like to know is there any standard batch job that populates the newly added attributes at category level to product?

What i have noticed is, when a category added to a product the attributes are getting added to product master when we open the product attribute form.  The logic to create attribute for product master is available on at the form level.  Incase if i add a new attribute to the same category, how that new category will be added to the product without opening the 'Product attribute' from again. 

Because we have almost 30000+ product and not possible to open the screen to populate that one attribute.  Please let me know if there is a standard way we can populate the missing attribute from the category for all the products.

Thanks 

Nagananathan

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    You can use the DMF tool, with the entity DMFProductMasterEntityClass.

    This is the standard way, or create a custom code to do that.

  • Naganathan Mohan Profile Picture
    155 on at

    @Tatina: Thanks for your reply, Need clarification on your input

    Are you asking me to reimport the product using the DMFPRoductMasterEntity to update the product?

    will it assign new attributes from category?

    Will it keeps the attribute value which user modified after the previous import?

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    Think of the category attributes as default values to save time in data population - however these are neither mandatory nor validated and can be overwritten item by item with an item specific value for any given value - while the category value remains unchanged

    So automatically updating a category attribute value change to all items would then overwrite those item specific values.

    So for maintenance  some update of the particular value for specific items, or to add a new attribute, either manual entry or data import item by item is needed.

  • Verified answer
    Naganathan Mohan Profile Picture
    155 on at

    Finally i end up writing custom code for populating the product attribute.

    Thanks for all of your help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans