SAGE X3 VERSION 6.5 4GL to develop Pop-up windows on A BUTTON


Good day.

Am trying to customise the print button shown in the picture attached (Print Sales Invoice ).

I want a dialog screen to popup when a user tries to print.

The idea is this, printing a crystal report from the sales invoice, should a particular field be missing in a table.

I want the dialog box to print "Sorry the field "sales field" is missing kindly print again"


I do want to know how do i write a 4GL code to trigger a function when the print button is clicked

I do want to know if am i create a Windows screen from Development>>>Processing Dictionary >> Windows

Thanks