Requirement Need to add a field into the customize fulfillment email for eg: Tracking Numbers Solution Navigate to Setup > Accounting > Customize Fulfillment Email. Copy the Default Text and paste it in the Customization box. Remove {7} in the Customization box. Add the following to the Item Fulfillment codes: Tracking numbers:<br> <%=getCurrentAttribute(‘salesorder’,’linkedtrackingnumbers’)%><br><br> 5. Click Save.
Author: Jesna John
Saved search code to consider top level parent customer
Requirement We need to consider customer that are top level parent in saved search . Solution Following code snippet provides the saved search code to consider the parent level customer.
Hide Buttons On View mode of a record
Requirement We need to hide some buttons on view mode of the draft invoice on Employee Center Role. Solution
Adding hyperlink in saved search column
Requirement Add a hyperlink in saved search to open the particular purchase order. Solution Following code snippet is a saved search code having hyperlink that open up a purchase order.
Delay the closing of the suitelet page after submission
Requirement We need to delay the closing of the suitlet page for 3 seconds after clicking the submit button Solution The following code snippet can be provided at the end of the suitelet script for to wait 3 seconds for closing the suitelet window
Sending Statement PDF through email
Requirement We need to render statement and send the statement pdf as email attachment Solution Add the following code snippet in your script for to render statement as pdf and send as attachment through email
Adding dynamic columns and filters to the saved search
Requirement We need to add some columns and filters to the saved search created in UI and get results based on the newly added filters and columns Solution We can load the saved search in code by using the id. Then we can add the filters and columns to the loaded saved search and run… Continue reading Adding dynamic columns and filters to the saved search
Adding invoice download link in suitelet
Requirement We need to add a download link for each invoices or credit memo displayed in the suitlet page. When clicked on the invoice download link, user should be able to navigate to the page from which invoice or credit memo can be downloaded or printed. Solution The download url can be provided as the… Continue reading Adding invoice download link in suitelet
Send Email Notification on Item Fulfilment
Requirement We need to send Email notification to the customer, when the status of an order changes from Pending Fulfilment to Pending Billing Solution In NetSuite there is a standard way to send Item fulfilment Emails. For that we need enable the Send Order Fulfilled Confirmation Emails feature. When this feature is enabled, we can… Continue reading Send Email Notification on Item Fulfilment
Consider more than one email separator for values in email field to send email
Requirement Need to consider comma or semicolon as a separator for email ids given in email field for sending out the email . Solution Following code provides the way to consider any of the given email separator( , ;).