In an invoice i should fill the value of the field which is from a related project record. which script type should i choose for this?
n
Nathan L
02/06/2023, 3:01 PM
It kind of depends on when you want it populated. But usually for this type of thing you would use a User Event script. Probably in the beforeLoad function.
Nathan L
02/06/2023, 3:01 PM
If you wanted it to update live as you change the linked project field then you could do it in a client script
s
Shawn Talbert
02/06/2023, 5:15 PM
I'll offer alternate advice - use scheduled scripts or map-reduce unless you really need the logic to run immediately.