In scriptable cart, using 2.0 api, how would i get...
# suitecommerce
i
In scriptable cart, using 2.0 api, how would i get current sublist line values? The only param passed is item type instead of the regular context which includes current record. Would I load in the currentRecord module and use that? I need to multiply two line values and set another one with this calculated value.
c
Scriptable Cart only supports 1.0 version.
i
1.0 is deprecated and I'm unable to even load a 1.0 script into out file system. So can I just not do Scriptable Cart?
It tells me "Invalid JSDoc tag" and states it must be 2.x, 2.0 or 2.1
s
SuiteScript 1.0 isn’t deprecated
i
Oh ok I thought it was now since I was getting that error.
Am I doing something wrong?
Nvm I see. Just had never used 1.0