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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to enable 'Confirm button' after editing of customized field

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

I find some problem about enable button Confirm after editing custom field.

I've tried some ways to make it right, but nothing what I need is happen.

Here is the custom field that I made

5722.po.png

I've tried doing it by using this code

purchTable.type().updateDistribution();
purchTable_ds.reread();
purchTable_ds.refresh();

But it just update the history without enable the Confirm button.

I've tried this method too,
cara1.png

but show this errors
error-cara1.png

the third method I tried,
cara3.png

but still throw some error
error-cara-2.png


I tried to write method enable(true) to Confirm button, but still not working.

Any other method to achieve what I need?

You guys help mean a lot

Thanks and Regards,
Enggar

*This post is locked for comments

  • Suggested answer
    Chaitanya Golla Profile Picture
    on at
    RE: How to enable 'Confirm button' after editing of customized field

    Hi,

    Could you please check the purchase type of your purchase order(refer below screenshot). If it is journal change it to Purchase order. 

    PurchJournal.jpg

  • Suggested answer
    ax Financial Profile Picture
    on at
    RE: How to enable 'Confirm button' after editing of customized field

    Dear Putri Enggar,

    In Purchase order, header view plz. change the Purchase type from Journal to Purchase order.

  • Community Member Profile Picture
    on at
    RE: How to enable 'Confirm button' after editing of customized field

    Hi Chaitanya Golla 

    Thanks for your reply,

    I've checked my purchase order and its already has Purchase Order as their type

    Regards,

    Enggar

  • Verified answer
    Community Member Profile Picture
    on at
    RE: How to enable 'Confirm button' after editing of customized field

    Hi Guys,

    Im solving it finally.
    Im using this code belom

    purchTable.type().updateDistribution();
    purchTable_ds.reread();
    purchTable_ds.refresh();

    Instead using modified method, Im using button with click method in it and apply it in action pane

    Regards,

    Enggar

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans