nlapiSetFieldValue('my_parent_vendor_field', 12345...
# suitescript
c
nlapiSetFieldValue('my_parent_vendor_field', 12345);