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
Charan
01/11/2024, 12:27 PM
Scriptable Cart only supports 1.0 version.
i
iSuite
01/11/2024, 6:27 PM
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?
iSuite
01/11/2024, 6:28 PM
It tells me "Invalid JSDoc tag" and states it must be 2.x, 2.0 or 2.1
s
Steve Goldberg
01/11/2024, 6:55 PM
SuiteScript 1.0 isn’t deprecated
i
iSuite
01/11/2024, 6:56 PM
Oh ok I thought it was now since I was getting that error.