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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Edit button in purchase order...

(0) ShareShare
ReportReport
Posted on by 475

editax.png

Hi guys,

Good day to everyone,

I want to disable edit button in the above screenshot whenever the status of the order is invoiced.

I have been searching through the purchtable interaction class and then  in this method enableHeaderChangeRequestActions in that class.

But I can't understand how it's working.

PLease advice

Bharath K

*This post is locked for comments

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    HI,

    Did you check Andre's reply from post below ? This is a duplicate of below thread

    community.dynamics.com/.../283681

  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi.

    Just note that the button itself does not allow you to edit or not edit the record. it simply opens the form in "editable" mode, but if the datasource is disabled from editing nothing will be editable. I believe this is already controlled on the datasources of the opening form on status "invoiced", but if you do need to further control this you can look at the methods "editAllowed" and "checkUpdate" on the purchTable

  • bharathkarunakaran Profile Picture
    475 on at

    hi sukrut,

    I have tried that,but it's not working,

    I wnat to do it with the code .

    I have the purchtable interaction class but i didn't find anything.

    PLease advice

    BHarath

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans