I'm not familiar with SS2.0, but I would stick wit...
# suitescript
j
I'm not familiar with SS2.0, but I would stick with the help docs and use the record.Type.PURCHASE_ORDER