Hi Guys,
this Question is continuation of this thread How to disable print button when report already printed.
As image shows above.
What i want to happen is upon clicking the "OK" button in the 3rd image to print the reports, then it will tells report is printed and automatic close the 1st and 2nd image/window. Please view the link above to understand.
hoping your quick response..
Thank you.
Ok martin i get your point.
this thread is the continuation of my concern in the link above.
My main concern is how to put my code in OK Button image 3 above..
see below image.
Unfortunately you didn't answer my question. Why would you print something to screen and then immediately closing it? Isn't it completely useless? If you don't want to show it, don't print it to screen.
To learn how to refresh forms, I recommend this tutorial.
It's not clear to me how the code above is related to your questions.
you didn't get me either.. I'am not telling you that i want to close right print screen, no is not. what i want is after they print, the reason is restrict reprint process ..
About my code, there is code that tells that is print already. this happen when i print something on the screen. -existing.
what i want to happen right after they print the print on screen if will update the field is_print to 1 that tells print already.
then close the print on screen window and refresh the journal form to disable the button DR Print
haays..
-Double Printing of Delivery Receipt.
-To disable the Button DR Print in Journal Form.
-After Print Disable Button DR Print in Journal Form.
------------------------------------------------------------------------------------------
in developer side.
I already done this, please see this Thread to understand.
But after taking several test, i saw a logical problem.
you get it?
(e.g. trying to prevent people from reprinting the report if sent to a wrong printer, printed incorrectly because of running out ink etc.) - it's not your problem now.
For the mean time, our work around is they send email request reprint and we update through backend, until iam not done making the module to Uncheck the printed status..
honestly, i don't know how to use the close() method..