the only thing in that snippet that appears to be ...
# suitescript
s
the only thing in that snippet that appears to be 1.0 code is
nlapiGetField('promocode')