Relative Content

Tag Archive for netsuitesuitescript2.0

Netsuite problem rendering picking tickets for specific shipgroups

I am trying to render a picking ticket via the N/render module in suitescript 2.0. We only want to print picking tickets for selected shipgroups. Enable Item Line Shipping has been turned on in the account. I have created a suitelet that displays the sales order lines and provides a checkbox to allow the user to select which ship group they would like to print a picking ticket for. The Netsuite help docs say that the render.pickingTicket function accepts a shipgroup parameter. However, when I pass the shipgroup in to this function, it prints a picking ticket showing all the lines on the sales order and disregards the ship group that I passed in.

Suite Script 2.0 – Determine if NetSuite account has Suite Analytics feature or NOT

I have a RESTLet written in Suite Script 2.0. Using Suite Script 2.0, I want to use dataset module to access Suite Analytics datsets. I am testing this with my demo NetSuite account and in my account I have Suite Analytics feature so I there is no error while deploying the script on NetSuite as well when calling the its functionliti from my C# code.

SuiteScript 2.X Client Script Set Sublist Value not working

I’m attempting to uncheck a checkbox on the Sales Order transaction during line item entry if the location is a specific ID, I have tested with console.log() and confirmed I’m able to see the value, but for some reason when I attempt to set the value it won’t work.

SuiteScript 2.0 add button, redirect to form, populate reason field

I am trying to update the value on a record based on a value entered on a custom form when clicking a button. I am using a Suitelet script, User event script, and a Client script to achieve this. Essentially, the user will click the button to reject a bill, record a reason, and then it will populate on the bill and set the rejected status.