Hi All,
I've got a relatively simple project though I'm not sure whats the best practice for executing it. We want a checkbox on transaction records that becomes checked when a user prints the record. I couldn't do this with a workflow and I don't think I can add event listeners to the default print action - Which leads me to think I should create a custom button "Print Transaction" that can check the checkbox and calls the default print action. I would also have to hide the default print action to ensure the custom button will always trigger it. I'm thinking that I need to create a user event script to create the button and a client script that calls a suitelet on click. The suitelet would mark the checkbox as T and make the html call to print the transaction. I'm not sure how to make the html call though.
Does this sound like the right approach?