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)

Field is editable in one form, but not another

(0) ShareShare
ReportReport
Posted on by

Hey All!

I noticed in my instance of AX that if I open up a product from the "Products" form, it takes me to a detailed view of the product where I can edit the "Description" (Form: EcoResProductDetails).

However, if I look up the same product from the "Released Products" form and bring up the details, I cannot edit the "Description" and it seems locked (Form: EcoResProductDetailsExtended).

I have compared both "description" elements from each form and everything seems to be alike, including the DataSource and the DataField.  There does not seem to be a custom Edit Method involved and it looks like its just base AX functionality.

What should I check?  What am I missing?

Thanks again for all your help guys!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    Hi Pedro Coelho,

    Description field belongs to EcoResProductTranslation table. On EcoResProductDetails data source EcoResProductDetails has property AllowEdit = Yes, on EcoResProductDetailsExtended AllowEdit = No, so it's not editable.

    To change description you can click "translations" button on Product tab.

  • Suggested answer
    DavidGunawan Profile Picture
    1,381 on at

    Hi Pedro,

    Before going further, this is standard design from Microsoft. If you want to edit the translation from Release product form you can do it through translations button. The button will show a form to edit the description and product name and tag them with language.

    Back to your question, Please check EcoResProductTranslation data source of each of form. In EcoResProductDetails the data source is editable and the other way around for EcoResProductDetailsExtended, the data source is not editable in the form.

    Regards

  • Community Member Profile Picture
    on at

    On the EcoResProductDetailsExtended form, the Description field is set to AllowEdit = Yes.

    Still doesnt seem to be working.

  • DavidGunawan Profile Picture
    1,381 on at

    Please set it on DataSource level not in the field level.

  • Community Member Profile Picture
    on at

    David, it looks like the I was able to make the field editable, but my changes are not being saved in the system for some reason.  Any ideas?

  • DavidGunawan Profile Picture
    1,381 on at

    What do you mean your changes? Is it changes of the object or product description?

    If the changes of object unable to be saved, I guess your environment doesn't have development license. But As I know, You only unable to create or modify class object if It doesn't have the license.

  • Suggested answer
    MC08 Profile Picture
    170 on at

    Hi Pedro,

    I also follow ievgen and David's suggestion to enable the "AllowEdit" for EcoResProductTranslation datasource.

    After doing this, I also encounter same problem with you, only can modify but can't save description.

    I checked that the write method of EcoResProductTranslation datasource is blank.

    After add back "Super();", description can save after modified.

    Please see whether it is same in your side or not.

  • Community Member Profile Picture
    on at

    I;m sorry Mike, I'm not understanding what you are trying to say.  Do I have to add a method for the "description" text to be saved?

  • Mea_ Profile Picture
    60,284 on at

    Hi Pedro Coelho,

    I think Mike trying to say that there is no super() call on write() of EcoResProductTranslation data source on EcoResProductDetailsExtended and without it your changes won't be saved to DB.  

    So obviously you nee to add super(), probably you can compare methods on this datasource between two forms and make them similar, if it something that you are not familiar with (x++ development) you should ask developer to do this.

  • Community Member Profile Picture
    on at

    So I added super() to the write() method for the EcoResProductTranslation datasource.

    But can someone tell me what that is doing and why its working?

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