Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Stop Re-Open Purchase Orders

Posted on by 1,835

Hello, 

Is there any way, we can set the permission for reopen button in Purchase Order page. We have some requirement in our office. If purchase order is released...then no body can re-open the 'Purchase Order', except the Authority person. 

*This post is locked for comments

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Stop Re-Open Purchase Orders

    Amol ji were saying the same thing...and I have done the same..but our boss is denying to add the extra field in user setup.

    Thank you for your valuable suggestion.

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: Stop Re-Open Purchase Orders

    Its better not to hardcode userids. Create a field in usersetup table and based on setup you need to check

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Stop Re-Open Purchase Orders

    hello,

    You are going good to understand my actual problem( the same users should be able to release the order, but not re-open it back? ).

    I am not very expert in technical..but I have resolve my problem to write the below code in page section.

    <Action138> - OnAction()

    //For Purchase Order Re-Open

    IF USERID='ABC' THEN

    IF USERID='XYZ' THEN;

      ERROR('You Do Not Have Permission to Change the Status !!1');

    I have fixed the user in Re-Open btn.

  • Verified answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Stop Re-Open Purchase Orders

    I do not think you can achieve the full requirement only via permission setup, as I guess your requirement is that the same users should be able to release the order, but not re-open it back? You can read more here: dynamicsuser.net/.../release-reopen-a-order

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Stop Re-Open Purchase Orders

    resolved

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Stop Re-Open Purchase Orders

    Thank you.

    resolved.

  • Verified answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Stop Re-Open Purchase Orders

    You need to customize this as there is nothing out of box permission for this

    You can create boolean field in User Setup as' Authorize PO Open ' and if it is true then allow to edit the status and vice versa

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: Stop Re-Open Purchase Orders

    You need to customize

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans