https://netsuiteprofessionals.com logo
#suitecommerce
Title
# suitecommerce
l

Lucas

03/25/2022, 1:08 PM
I have scriptable cart ON and on sublist changed event each time I am getting transactionRecord.hasSubrecord('billingaddress')=false. but un Netsuite UI it give me true. Is this a bug?
e

eminero

03/25/2022, 4:10 PM
I have not tried that specifically but scriptable cart does not behave exactly as it would in the User Interface of NetSuite. https://developers.suitecommerce.com/make-advanced-customizations-with-scriptable-cart.html
l

Lucas

03/28/2022, 11:38 AM
Tried getSubrecord() but it's empty in case of SCA transaction
e

eminero

03/28/2022, 1:57 PM
I cannot say is that is possible since I have not used it in scriptable cart but compare what happens if you use 1.0 and 2.0 versions of suitescript. Probably your best bet to achieve your goal is creating an extension/custom module based on the version of SCA you are using.
6 Views