Disable Zoom button on the PJC Contract / Job maintenance screen

General Python samples
Project & Job Costing (PJC)

Requirement: Disable the Zoom button on the PJC Contract/Job maintenance screen (PM1010).

We cannot disable the zoom button or trap the click in time to stop the popup from appearing. The script triggers the Cancel button on the Wizard popup as soon as it appears and displays a message box to the user whenever they press the Zoom button on the Contract/Job field edit control in the PJC module.

 To use, import the script in Extender Setup > Scripts and restart the Sage desktop

PJC script