Category: NS Customization
All articles / code related to Netsuite customization
Restlet to create Sales Order
Unexpected Department error while deploying workflow via SDF
While deploying workflow through SDF, an unexpected error throws saying ‘STATICDEPARTMENTS must be enabled in your account’.This throws up because the workflow uses Departent Division but the manifest.xml does not contain the feature for DEPARTMENTS. Adding < dependencies> <feature required =”true”>DEPARTMENTS</feature> in the manifest.xml will solve the issue.
Promotional URLs
Promotional URLs are short and descriptive website URLs that link to online forms, or tabs, categories, or items in your website. For example, the URL NetSuite assigns to the Information tab of the Wolfe Electronics website is http:// www.wolfeelectronics.com/app/site/site.nl/site.ACCT00000/mode.items/sc.5/.f. By creating a promotional URL, Wolfe can promote this page to customers as http://www.wolfeelectronics.com/information. When customers… Continue reading Promotional URLs
Script to Remove Landed Cost in Item Receipt
The changes in the IR will reflect on G/L Impact, Balance Sheet, and related Item Fulfillment records. The script is powered by a saved search in UI which enlists the item receipts.
Integrating line items of Transactions via REST
When Transactions like Sales Order, Invoice are integrated via REST Web services, the expected data structure needed for adding transaction lines is an object with an array of line item objects. Here’s an expected input to sync or integrate line items of an Invoice/SO along with the body fields. { “items”: [ { “item”: {… Continue reading Integrating line items of Transactions via REST
escapeSpecialChar() function to display special characters on the item label PDF print.
To generate and print labels for items that had an “&” symbol in the “Purchase Description” field, we can use escapeSpecialChar() function.
Show error when create a make a copy in the restricted roles
Remove make a copy button from the inventory item using work flow
Create workflow and apply to inventory part. Click new action Remove Button and apply into parameters make a copy. Mention the condition based on the requirement
Setup a field as mandatory using workflow
Workflow to make a custom field mandatory according to the employee type which is ‘Consultant’. And disable the field(field edit) for other employee type. Goto Customization → workflow → workflows. To set up the Labour cost Field mandatory for the employee type “consultant”: select the action type → Set Field Mandatory Trigger → After Field… Continue reading Setup a field as mandatory using workflow