Month: February 2022
Send order approve email using workflow.
Send order approve email using workflow.Email content should be different for each subsidiary. Create a work flow which triggered when order approved in net suite. Here we can set event definition as view or update. We can give conditions in actions.We can give sender and recipient details .Also we can give custom email template or… Continue reading Send order approve email using workflow.
Saved search to check whether an email is existing or not
To check whether an email is existing or not,The saved search can be used.The requirement is while a new user tries to register with an existing mail id ,then an error message need to be displayed. For that first check the email is existing in the netsuite using saved search. List -> Search ->Saved searches… Continue reading Saved search to check whether an email is existing or not
Dynamic URL to Button Navigation
THR-135 When clicked on the ENQUIRE WITH US button on the category page, it navigates to the page for which the URL is provided in the configuration record in the NetSuite. Created the custom field in the configuration record to add the URL for “ENQUIRE WITH US” button by editing the configuration file in the… Continue reading Dynamic URL to Button Navigation
SALES ORDER CUSTOMISATION FOR CUSTOMER PORTAL – GTIL-33
SALES ORDER CUSTOMISATION FOR CUSTOMER PORTAL
Add to Cart redirection
when we try to add one item to the cart it will be updated, but we can set which way to set the updates using configuration record when we add item pop up will be shown open mini cart redirect to cart
Send Email using Email Template
To create an email template record: Go to Documents > Templates > Email Templates > New. In suitescript file add code:
Creating your events in Svelet components
What’s interesting is that we can create custom events in components, and use the same syntax of built-in DOM events. To do so, we must import the createEventDispatcher function from the svelte package and call it to get an event dispatcher: Once we do so, we can call the dispatch() function, passing a string that identifies the event (which we’ll use… Continue reading Creating your events in Svelet components
Listening to DOM events in Svelte
In Svelte you can define a listener for a DOM event directly in the template, using the on:<event> syntax. For example, to listen to the click event, you will pass a function to the on:click attribute. To listen to the onmousemove event, you’ll pass a function to the on:mousemove attribute. Here’s an example with the handling function defined inline: and here’s another example with the… Continue reading Listening to DOM events in Svelte
Empty the Cart on SCA
Empty the entire cart if it contains more than 1 item it is not easy to empty one by one, for that we can remove by adding altering the domain