I'm having trouble looping over Purchase Order lin...
# suitescript
t
I'm having trouble looping over Purchase Order line items and re-setting the 'rate' value for each one. I have a client script that pushes that field value for each line item into a global array on pageInit, and then updates them on fieldChanged to prevent the user from having to re-enter when the Vendor changes. Code doesn't error out, and the values i'm printing to the log look exactly as expected, but for whatever reason the rate field doesn't update. I've tested the same code on other line item fields and they update without issue