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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to disable print button on SOP Transaction Entry ?

(0) ShareShare
ReportReport
Posted on by 25

Hi,

I am currently using Dynamics GP 2016. 

I would like to disable print button for all users when Back Order document is selected on SOP Transaction Entry, except for USER Class ID under "Purchasing"

I could only write a VBA where all users will have this disabled when Back Order is selected.

Any ideas is appreciated.

Thanks in advance for your support

Categories:
I have the same question (0)
  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    Since the use of VBA is being discontinued I would use C#.

  • DanielNgHo Profile Picture
    25 on at

    Even for GP 2016?

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    I believe the extensions are there for GP 2016. After you install VS search for GP Inventory and it should appear.

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    Hi DanielNgHo,

    You can also use field level security, create a field security and mark a company and user for which you need to apply it.

    LockPrint.png

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,151 Most Valuable Professional on at

    I originally created Field Level Security with scripting capabilities, but when Microsoft purchased it from me the scripting was removed.

    I would suggest using GP Power Tools to write this tweak. It will be able to work for specific document types and be applied for specific users and/or companies or user classes.

    GP Power Tools works where VBA doesn't such as on new servers and web client. It also has many other benefits over VBA, Visual Studio Tools and even Dexterity.

    winthropdc.wordpress.com/.../

    Regards

    David

  • DanielNgHo Profile Picture
    25 on at

    Hi Almas,

    I done this, but this block all document type. (Quote to Back Order)

    What I need was to block only the Back Order not to be printed. and let users be able to print other documents.

    Also tried to use the Security Role, and was able to block access to Back Order reports, but this somehow mark as printed.

    Thanks,

  • DanielNgHo Profile Picture
    25 on at

    Thanks David, I will check on this.

    Regards,

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    Hi DanielNgHo,

    I was trying to PM you but I think you didn't allow PM.

    Please email me on my email address or PM me , I think I can help you with already written similar kind of code.

    almas

  • Burton154 Profile Picture
    5 on at

    I believe you created good quality items in functions also. Keep working, congrats!

    My Card Statement

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 658 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 632 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 570

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans