Is there a document I can refer to understand how I can implement 2.0 scripts in our SC extensions?
Also, is it recommended that we use 2.0 scripts in extensions going ahead? Or is it fine to still keep using 1.0 SC models, at least for a while?
f
Flo Meilan
06/24/2020, 6:51 PM
since 20.1 when you do a create, the sample extension already includes the example for ss2
Flo Meilan
06/24/2020, 6:52 PM
if you can start using ss2 now that would be great, as you will have to do it at some point in the future once ss1 is no longer supported
👍 1
p
PabloZ
06/25/2020, 12:41 AM
But keep in mind that most of the commerce API is not migrated to SS 2.0.
I would personally use SS 2.0 for an extension if all of the extension's suitescript code can be 2.0.
Custom records are OK for example.
Cart is not available yet.
v
Viraj Shinde
06/26/2020, 9:37 AM
Okay, sounds good. We don't use Commerce API a lot, so we will move towards SS2 wherever possible, like you said.
Thank you for the inputs @Flo@PabloZ