You need to first retrieve the value of the custom...
# suitescript
m
You need to first retrieve the value of the custom field using nlapiGetFieldValue, and use that to set the other field