Could I know how to download source code of SCS pl...
# suitecommerce
b
Could I know how to download source code of SCS please? I found SSP application but I can't find any folder named "Sources"
s
You can’t download the source to SuiteCommerce. Only SuiteCommerce Advanced customers have access to the site source.
b
Thanks for letting me know @Steve Goldberg
Invoice.OpenList.View.js
has
getInvoicesList
function in 21.1 version where I downloaded somewhere else, but after SCS is updated, I'm facing an error that function is not exists. So I was going to check that SC the latest version. Do you have any idea please?
s
Sorry but when creating customisations for SuiteCommerce, you shouldn’t reference modules or methods in the core code unless they can be accessed via the extensibility layer. So I can’t really help you as they would be bad practice.
b
I build an extension to extend InvoiceOpenListView, you mean I can't use that function in SCA code itself like this?
_.extend(InvoiceOpenListView.prototype, {
})
@Steve Goldberg
s
So, the situation you’ve described is the exact reason why we don’t recommend the customisation approach you’ve taken. The core code on SuiteCommerce sites automatically update but the SuiteCommerce Advanced sites do not. You wrote a customisation that depended on it remaining the same and when it didn’t it broke. This is why we don’t recommend extending core modules in SC. They’re fine in SCA because the code is stable.
b
I really appreciate your help @Steve Goldberg
👍🏻 1