Goal: Before we print a Work Order, check to see if other Work Orders for the same item are open, and print those WO#s on the new WO.
I'm using a beforeLoad User Event script, with a conditional to only run on context.type == print.
The script runs and updates the custom field I've created.... buttttt the Work Order prints without the updated custom field...
If I print it a second time, the field shows correctly on the printed Work Order.
It seems that the beforeLoad doesn't update the record in time to send the new information to the Advanced PDF. Anyone have a way around this?