In an invoice i should fill the value of the field...
# suitescript
v
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
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.
If you wanted it to update live as you change the linked project field then you could do it in a client script
s
I'll offer alternate advice - use scheduled scripts or map-reduce unless you really need the logic to run immediately.
👍 1