promotion.setFieldValue('code', 'xyz')
# suitescript
u
promotion.setFieldValue('code', 'xyz')