i think it was to do with getting the last purchas...
# suitescript
k
i think it was to do with getting the last purchase price. Was trying to use the setOrderby on script and would never work.