Hello Guys, Does anyone know how to use Configurat...
# suitecommerce
m
Hello Guys, Does anyone know how to use Configuration and Models.init in SuiteScript 2.0 services? Currently getting the
module does not exist
error and the only option is to migration the service to SuiteScript 1.0.
s
Firstly, generally speaking, you cannot use SuiteScript 1.0 modules in SuiteScript 2.0
Secondly, if you want the configuration record, you’ll have to call a SS 2.0 equivalent. Refer to the modules in the Backend folder to see how we do it
m
What about Models.init? How will I access Shopping or Order object methods?
s
I don’t think you can
There’s no equivalent of the commerce API in 2.0
m
Oh! a re-write of the functionality if we want in backend v2.0 😞