Setup & Customisation

Set the Class Column on Item Sublist to Mandatory on Company Preferences via Script

User wants to set the Item Sublist columns mandatory to ensure that important information are set on the record (e.g., the Class field).

Read More

Dynamically Add Custom Button Using User Event Scripts

A user wants to dynamically add a button in a record using aUser Eventscript.

Read More

Use a Group of Approvers in a Workflow Utilizing a Workflow Action Script

User needs toincorporatea certain group ofApprovers,SupervisorsorEmployeesto aWorkflowto handle the approval process ofa record.

Read More

Call Client Scripts from Workflow

Scenario

Client script functions can be invoked by any Workflow Action scripts that support client-based triggers (e.g. Before User Edit, After Field Edit, etc.).These functions must be issued on the Custom Formula portion of the action.

Below is an example to demonstrate how this is done. This requires basic SuiteScript and Workflow knowledge.

Solution

  1. Create a JavaScript file with the following codes:
    functionsayHello(s){alert('Hello '+s);/* * return true|false line is required to allow/disallow the workflow action to execute. * Condition will treat the function returned false if this line is omitted. * Thus, Workflow Action (e.g. Set Field Value) will not execute */returntrue;}
    Note:The above function will be called by the Workflow on Step 5.4.
  2. Navigate toCustomization>Scripting>Scripts>New
    • Click on the+logo beside theScript FilePopup List
    • Select the JavaScript file on the File Popup Window and click onSave
    • UnderDeploymentstab, add the record (Applies Tocolumn) script & workflow must be applied to (For this example,Customerrecord is used and click onSave)
  3. Navigate toCustomization>Workflows>Workflow>New
  4. Basic Information:
    • Name:EnterName
      Example:Enter
      Customer Workflow
    • Record Type:SelectCustomer
    • Sub Types:SelectCustomer
    • Execute as Admin:EnterCheckmark
    • Release Status:SelectReleased
  5. Event Definition:
    • On Create:EnterCheckmark
    • On View or Update:EnterCheckmark
  6. ClickSave
  7. ClickState 1
  8. Bottom right corner:ClickNew Action
  9. ClickSet Field Value
  10. Basic Information:
    • Trigger On:SelectBefore User Edit
    • Event Types:SelectCreate
    • Context:SelectUser Interface
    • Triggering Client Fields:SelectMemo
  11. Condition:
    • SelectFormula
    • Formula:EntersayHello(nlapiGetFieldValue('companyname'))
    • Triggering Client Fields:SelectMemo
  12. Parameters:
    • Field: SelectAccount
  13. ClickSave

Read More

Display SKU for Inventory Items on Sales Order Printout

User needs to display SKU (Display Name/Code) on their Sales Order Advanced PDF/HTML Template but would only need to display the code for Inventory Items only.

Read More

Reviewing the Email Approval Log

Approver gatekeeper can use the log to manage, review, and control the implementation of all approver replies received through email approval log rules.

Read More

Quick Search Portlet

You can add a Quick Search portlet to be able to search for general records or transaction records right from your dashboard.

Read More

SuiteApprovals > Approve Transactions via Email not Working

The user is performing some tests in Sandbox where they try to approve a sample transaction (e.g. Purchase Order) via email.

Read More

Use Display in Web Store Field as a Condition Using Workflow

Use the Display In Web Store field as a condition on a Workflow for a Return User Error Action

Read More

Display Line Item Rate When Fulfilling Sales Orders

There are scenarios where users want to source the Item Unit Price (Rate) of an Item from their Sales Order form to the Item Fulfillment form. This can be achieved by creating a Transaction Line Field applied to the Item Fulfillment form.

Read More

Print Inventory Detail Using Source Code View in Print Packing Slip

Print the Inventory Detail column on the Packing Slip using the Source Code View.

Read More

Trigger a User Event Script on a Scheduled Script

A user would like to ensure that a User Event Script is triggered when a Scheduled Script is run.

Read More

SOAP Web Services Archives

This page includes documentation for the 2016.2 through 2022.2 endpoints. For each WSDL, the following resources are available:

Read More

NetSuite Versioning and WSDL Versioning Overview

The naming convention for NetSuite versions and WSDL versions are the same. For example, for 2023.1, there is an accompanying 2023_1 version of the WSDL, as shown in the following WSDL URLs:

Read More

Upgrading WSDL Versions

NetSuite customers typically upgrade their WSDL when a newer version includes functionality that enables them to meet a particular business need. They will also upgrade their WSDL when the one they are currently using is going to be retired by NetSuite (seeSupport for Existing WSDL Versionsfor details). If you do plan to upgrade the WSDL you are using, you should upgrade to the latest available version to prolong the life cycle for your integrated application.

Read More

Determine NetSuite ERP Version

How to determine which version of NetSuite ERP a user is utilizing.

Read More

Create a Show Message Action on Edit Event with a Workflow

There is a requirement to add a pop up message on a record on edit mode. A Workflow can captures multiple events such as create, edit, and etc.Note:The Show Message action runs on create and edit by default. It does not have a field to specify if it should run on only create or edit.A solution would be to create a new Workflow that only contains the Show Message action.

Read More

Create or modify custom transaction body fields

Go toCustomization > Lists, Records, & Fields > Transaction Body Fields.

Read More

Known Issues when Sharing Files to NetSuite for iOS

When sharing files or images to NetSuite for iOS from your Photos app or Files app, be aware of the following known issues:

Read More

Merge Action is Not Displaying as a Button in a Vendor Record

SCENARIO

User wants to display the Merge action as a button in a Vendor record instead of a menu.

SOLUTION

  1. Login as Administrator
  2. Edit a Vendor record
  3. Navigate toCustomize>Customize Form
  4. ClickActions
  5. ClickStandard Actions
  6. Merge:
    1. Show:EnterCheckmark
    2. Display As:SelectButton
  7. ClickSave

Read More
Read More Articles