Using Cached Model

To load a page more faster than before like a landing page which has more items we can use     ‘Backbone.CachedModel’ on the model file adding a sample along with this

Modify an Error on Model File

This extension changes a backend error that appears when a user attempts to delete an address that is already in use. The error message in this scenario reads “Unexpected Failure,” the error returned iserrorCode : “ERR_WS_REMOVE_CUSTOMER_ADDRESS” errorMessage : “Unexpected failure” errorStatusCode : “400” but we need to change it to a different message. will provide… Continue reading Modify an Error on Model File

Customization on Returning a Order

Code responsible for setting the Reason text to the item’s Description field. It came from the core SCA backend suitescript ReturnAuthorization.Model.js – we can comment out this line instead: sca/Advanced/ReturnAuthorization/SuiteScript/ReturnAuthorization.Model.js#L252-L257 Modify the UI to hide the Reasons selection for each line,instead display only at the top of the list. (screenshot 2) When selecting a Reason, it should also… Continue reading Customization on Returning a Order