We come across many scenarios when we need to customize Sage X3 and need to hide the gird right click selection option depending on various line conditions (status).
The right click buttons are represented by the GBOUT variable, and this button is identified based on the button number.
Our Other Blogs : Sage CRM | Sage 300 ERP | Salesforce.com
e.g. Button1 = GBOUT1, Button2 = GBOUT2 etc.
There is simple logic of hiding the gird right click option. We just need to RAZ the button which needs to be disabled.
Refer to the below example.
1) I have added the Stock issue button to the screen on Button17.
2. The hiding of the right click button should be written under the ‘Init button’ action of the Grid NBLIG. Refer to the below screen shot.
Also Read:
1) Service Contract Creation In X3
2) Adding new option/Button in Menus in Sage X3
3) Modify Data of Tables in X3
4) How to perform an Inter-Site Transfers
5) How to Unlock your Process in Sage X3