Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [netsuite]

NetSuite is a vendor of business management SaaS. The platform's scope includes ERP, CRM, PSA, and Ecommerce. Primarily tailored to mid-market companies.

0
votes
1answer
2 views

SDF Deploy error: Partial Content

When I try to deploy a Suitecloud Development Framework project from Eclipse, I get the following error in the error log: !MESSAGE The remote server returned an error: https://system.netsuite.com:...
3
votes
5answers
792 views

Setting inline HTML field from Client Script in SuiteScript 2.0

I am unable to set a field of type INLINEHTML using SuiteScript 2.0. However, the same field works with SuiteScript 1.0. Here is the code snippet: /** * @NApiVersion 2.x * @NScriptType ClientScript ...
0
votes
0answers
30 views

Two email templates, both utilizing the same string literal, send the user to different locations in Netsuite

I have a support portal with one case form. This case form can be accessed both before and after a user logs in. When a ticket is submitted, it has a workflow set up that fills an email template and ...
0
votes
4answers
409 views

Prevent record deletion with SuiteScript

I want to prevent a record from being deleted based on certain conditions in NetSuite. However, I can't seem to find a failure event on validation? BeforeSubmit on a UserEvent has a delete type, but ...
0
votes
1answer
21 views

Netsuite Suitescript 2 - Customer Deposit remaining amount in Search

I'm facing a problem while performing a custom search on customer deposits in NetSuite using SuiteScript 2.0 I need to fetch all the customer deposits ids, statuses, the amount deposited and the ...
0
votes
1answer
22 views

CRUD operation using SDK for Netsuite

I'm working with user provisioning for NetSuite. How to fetch all the roles in an account using SuiteTalk(Webservices)?
0
votes
1answer
30 views

User Provisioning for Netsuite?

I am currently working on user provisioning for NetSuite. How to get all the roles, departments and subsidiaries of an account using SuiteTalk(WebServices)?
0
votes
1answer
31 views

How to clear the vertical lines in the Visual Studio Code?

There is a FreeMarker template file in NetSuite, it has the header, footer, and a content table. The content is related to items and displayed by rows. The height of the content table is varied with ...
0
votes
1answer
19 views

Netsuite VendBill Mainline not accessible

I have a problem with netsuite search, I want to get taxcode from vendbill but it is inaccessible. My filters include ['mainline', 'is', 'T'] and searchcolumns include e.g. taxcode, but I cannot get ...
0
votes
0answers
22 views

Netsuite creating confirmation message on sucessful creation of record

I had created a list/record in sales order create mode using userevent before load function,whenever i select a customer that field get populated with the list of sales orders for that customer and we ...
3
votes
1answer
419 views

NetSuite - Returning an header is not NLAuth scheme error , when I am using OAuth

I am trying to call a Restlet from a User Event Script which returns Customer information using Token Based Authentication . But I receive an user error which says header is not NLAuth scheme I ...
0
votes
1answer
20 views

Can you remove NetSuite Bundles after installation

I am working on a NetSuite instance that had custom(contractor/SuiteScript) work installed via a bundle, but it is not a third party product but made for this system. Now there are 2 listings in the ...
1
vote
1answer
20 views

NetSuite SuiteScript 2 - Access sublist via Search

I'm performing a search on customer payments with a given date range, and I need to fetch the invoice reference number of the invoice that has been paid for each customer payment. The invoice ...
0
votes
2answers
42 views

SuiteScript 2.0 : i use context.response.writeFile(file) to export data to excel,but it return String

I add a button.when I click the button ,it will execut this function. function onRequest(context) { log.debug('exportTest'); var stringInput = 'Hello World\nHello World'; var ...
1
vote
1answer
14 views

Netsuite field doesn't show on kit record

There is a field called 'IsDropShipItem' that we're trying to show on an Assembly/Group Item Form. When customizing the form, we can see it under Fields -> Inventory and it is marked to Show, but it ...
0
votes
1answer
40 views

Netsuite scripting 2.0

I am trying to copy all the line items in the item sublist in one sales order to another new sales order. I am getting all the line items and while setting the line items I have followed the order ...
0
votes
2answers
31 views

Pass Script Parameters

I'm having some trouble passing in Script Parameters for this code. The code doesn't seem to be reading in any values for the parameters from this execution log and error message: https://photos.app....
-1
votes
0answers
21 views

How can I create Project Task from Project Template using SuiteScript 2.0?

I have already tried creating project task using Record.create() and even used record.attach() API. I know that we cannot create project task independently but only through project template or ...
1
vote
1answer
18 views

Moving subtab created by Box integration

I cannot find the "Box Files" subtab in the list when I navigate to customize the form. All of the standard subtabs are there but the Box Files one is not present. Is there another menu created by the ...
3
votes
1answer
29 views

Implement eager loading in Netsuite SuiteScript 2.0, with pagination and date range filtering

I would like to (eager) load a list of customers in netsuite that has been updated between 2 date/time range and have the results paginated. I am relatively new to NetSuite SuiteScript 2.0, so I've ...
0
votes
1answer
32 views

Suite Script 2.0 - Handling Duplicate Fields in Saved Search

I have a Transaction's saved search, in which I have used Account fields three times with custom label. please see attached screenshot. but when pulling data for this saved search using suite script ...
0
votes
1answer
22 views

NetSuite Script to Block the order if payment is rejected

I using Web Services to integrate to NetSuite and passing the internal ID of the credit card on file for the customer with my sales order transaction header. I would like NetSuite to fail to create ...
0
votes
3answers
48 views

SuiteScript 1.0 - nlobjSearchFilter contains invalid search criteria: Searching custom record

I'm pretty new to SuiteScript but I'm working on a script to send an email to all contacts on the Dunning Recipient list of a customer - so a custom record. I'm receiving the following error - An ...
0
votes
2answers
39 views

Netsuite suitelet + Pass data from Get to Post

I want to create a suitelet that will do the following. In the GET I want to have a nlapiSearchRecord that will show a list of custom records under certain criteria and a checkbox next to each. The ...
-1
votes
2answers
29 views

Passing script parameters

I'm having a problem passing script parameters in a user event script. I know why my code is failing. Is there any way to pass text through parameters? here is the error: {"type":"error....
0
votes
1answer
38 views

Can't create note record in Suitescript 2.0 but can in 1.0

Anyone have an answer why in client side SuiteScript 2.0, this code gives an error "Invalid transaction reference key 8355" but when I run the same call in 1.0 flavor, it works. Anyone have an idea ...
0
votes
3answers
29 views

Returning a quantity of 1 for specific items on an invoice with Freemarker

I'm using Freemarker in NetSuite's Advanced PDF/HTML templates to generate an Invoice. For specific item types, I want to display "1" instead of the actual quantity on the Invoice. This is based on ...
0
votes
1answer
23 views

NetSuite User Note saved search gives duplicate results

I'm searching over user notes with no criteria. When I only included a few basic results columns (Date, Author, Title, Memo, Internal Id), there were 86 results. Then I added another results column, ...
0
votes
0answers
19 views

Failed to generate a signature Suite Talk Netsuite using TokenPassport

I use a SOAP WS , and I like to connect to a ws using a tokenPassport like it mentionned in this piece of code <urn:tokenPassport> <urn1:account>xxxx</urn1:account> ...
3
votes
10answers
13k views

How do I access netsuite data using SQL language

A company uses netsuites to make purchase orders and store sales information. The only way this company is able to access this information at the moment is through building netsuites reports Is there ...
0
votes
0answers
23 views

Ajax call redirecting some url after complete method

There is an ajax call ,which will return data from net suite.After the ajax call record is loading into a data table.And once it comes to the complete method of ajax call it is redirecting to a new ...
1
vote
1answer
45 views

Suite Script 2.0 - List all the Saved Search

Is there any way to get list of all the Transaction's Saved Search that I have created on NetSuite using Suite Script 2.0. Please see attached screen shot. Thanks in advance.
1
vote
1answer
43 views

How to remove duplicate elements in a array using freemarker?

I had written the code for finding duplicate elements in C but now I am stuck at implementing the same code in freemarker Can anyone help? int n, a[10], b[10], count = 0, c, d; printf("Enter ...
0
votes
0answers
21 views

How do I access metadata for NetSuite customrecords using SuiteAnalytics Connect?

I'm building a custom NetSuite connector for a client. Ultimately the data will end up in Snowflake. I am using SuiteAnalytics Connect for performance reasons, rather than the API, using the ADO.NET ...
1
vote
2answers
427 views

Enable SuiteScript 2.0 in Netsuite

When I try to create a new script record in NetSuite, it doesn't allow me to select API Version 2.0. It just says "Select 1.0 Script Type". Do I simply have to put in the SuiteScript 2.0 annotations ...
0
votes
1answer
20 views

Change code to use parameters

I'm trying to change this code so that I can use parameters for freight and handling in suitescript 2.0. Here's my code: /** * @NApiVersion 2.x * @NScriptType UserEventScript * @NModuleScope ...
0
votes
3answers
45 views

How do e-commerce websites integrate with ERP systems?

How does e-commerce usually handle integrations with ERP software? We are working on a project for a client, who previously planned to use an ERP system that had a REST API. This API allowed us to: ...
0
votes
1answer
23 views

Load defaultaddress of customer in netsuite via record search

I am working on creating a RESTlet to load paginated customer records. One of the thing i need is the customer's defaultaddress. This field is available when I load a single customer like this: ...
0
votes
1answer
24 views

How to compare two array objects in freemarker

I needed to add quantities of line items in a sales order if the line items are same in advanced PDF sales order template
0
votes
0answers
18 views

Download report from custom center role in NetSuite

I attached saved searches to vendor center role and I would like to export csv report. But I don’t find any option to export report from vendor center role in NetSuite. Please help me. Thanks in ...
0
votes
1answer
36 views

In Netsuite how can I include a list of tracking numbers in an email generated from an Item Fulfillment?

I need to send a custom "Order Shipped" email from an Item Fulfillment record in Netsuite. I am making the email template using freemarker. I would like to include the tracking numbers for packages ...
4
votes
0answers
32 views

Including Inventory Number in global search

I actually can't find any option how can i add this Inventory Number entries (subtab on item records) in global search. It would save me a lot of time if this field can be searchable under global ...
0
votes
1answer
162 views

SuiteScript method does not seem to be called

I have created a script to email the created record to me when a Sales Order is created. The code below runs perfectly on a NetSuite Sandbox account, which I used for testing. On the production site ...
2
votes
2answers
173 views

SOAP error when connecting to NetSuite web services: “Namespace prefix ' soapenv' not defined”

I am getting the following error when connecting to a NetSuite production account, through the Suitetalk API: I don't have problems connecting to the Sandbox account for this client. I am connecting ...
1
vote
3answers
86 views

netsuite suitescript 2.0 export(csv)

Is there a way to export search results using suitescript 2.0 in the same way when exporting from the Search page using Export(CSV). Netsuite Answers says that this can be done by building a CSV file,...
1
vote
1answer
20 views

Can we write ODBC query for saved searches formula in Netsuite. To get same output by running query?

We have serval saved searches in Netsuite account and the client wants . Every saved searches formula should be written in ODBC query? Would it possible to write ODBC query for 100 of formula in ...
0
votes
2answers
43 views

Save Record function does not execute in Record Level Client Script

I am trying to execute a simple function that logs the record type whenever an employee record is saved. function saveRecordRec(){ var stType = nlapiGetRecordType(); nlapiLogExecution('DEBUG',...
2
votes
1answer
308 views

What is difference between restlet,suitelet,suite talk

1)Comparing with in Restlet,suitelet and suitetalk In which scenarios we mostly preferred to use restlet, In which scenarios we mostly preferred to use suitelet, In which scenarios we mostly preferred ...
0
votes
0answers
57 views

Netsuite: Delete Transaction that Have Dependent Records

I need to expand the deleterecord.js file to delete transactions that have dependent records in NetSuite. It is under Transaction > Sales Order. The dependent sub-records include: credit memos, item ...
0
votes
0answers
67 views

In Netsuite the tables overlap during printing since second page using Advanced PDF template

I am using Advanced PDF template in Netsuite which maybe use Freemarker internally. I have found that the tables in the content area overlap with the table in the header area since the second page.(...