I created a WF on the purchase order record to ens...
# suiteflow
m
I created a WF on the purchase order record to ensure the employee field is set to the person currently on the record so to avoid users using other employees name. However, it seems users often make copies of POs, therefore they can create a new PO under someone else's name. Is there a way for me to inspect when a user is 'Making Copies' of a PO and update the employee field?
b
I guess that there isn’t a context for copy, but, you can in a proper trigger if it is creating and and the employee field is different from the current user, change it
k
There's definitely a trigger on workflows called copy - somewhere.
I've done it in the past.
m
thanks, guy - something to work off
k
I think it might be under "actions"
if i recall properly
m
it worked - just had to add 'Copy' in the Event Types when setting the default value