Can you help a lazy brother out? Are there any eve...
# suitescript
t
Can you help a lazy brother out? Are there any events tied to the print event of a sales order? I'd like to record the date printed on the order. Needs to also work when printing from a saved search. I'd check myself but I'm feeling kind of lazy today
e
If you dont need to store the timestamp on the Sales Order... you could just add the timestamp to the Advanced PDF.
c
Adding timestamp to advanced PDF is the way to go. There is no event for hitting the print button.
You could however, remove the native print button and add your own and do whatever you want on button click before rendering the PDF
t
actually before load on the print event did the trick