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
Author: Ittymathew Paul
Configure the Return Condition
Normally RMA can be done for items that are of type InvtPart, NonInvtPart, Kit. We cant do a return for assembly items or other items to make it possible we can do by extending the itemKeyMappiing file
Clearing Estimate Shipping Cost
For Clearing the estimate shipping cost from the cart page , we are using a method as shown below. Added a sample code along with it View File Entry Point Service Controller
Show a Confirmation Modal
Here the callback function will work when we submit the modal and the parameters that are being passed is being mentioned on callBackParameters, Modal will have the corresponding title and body mention the view.
Renaming Extension On Manifest
We can gulp extension:deploy –advanced for renaming an extension, It deploys an update of the extension, but resets the prompts regarding the Vendor Name, Extension Name, Version, Description, Application, etc. This command also rewrites this information in the extension manifest.json file. Suite Answer-id : 71021
Load image with jQuery and append it to the DOM
Add the imgPath variable to store URL of the image, after loading the function will work add the functionality in the function you want to add like adding image or removing any image etc. So on before we can add loading gif or something on UI to show the loading state Or use this method
Clear Cart
Removing Items from the cart removeAll Function Removes all the items from the cart page, add action while clicking a link or button on the cart page to remove the buttons
Web Store Session
Max for webstore is 20 minshttps://386782-sb2.app.netsuite.com/app/help/helpcenter.nl?fid=section_1534882804.html It can be decreased from the Idle Session Timeout in Minutes setting:Setup > Company > Preferences > General Preferenceshttps://386782-sb2.app.netsuite.com/app/help/helpcenter.nl?fid=section_1534882691.html
Show and Hide Hierarchy on the Custom fields
This field determines whether to show the Hierarchy. For example, we choose a contact for a custom field for a customer record which is dependent on a customer record. If we want to see it as Customer: Contact. we need to check the checkbox or else if you wish to only Contact we don’t want… Continue reading Show and Hide Hierarchy on the Custom fields
Add Modules to checkout in different pages
We can add modules at the checkout screens like review, confirmation, opc. we need to mention the view files on the addModuleToStep. In this we have also added additional condition to check whether we are on right page added a sample code