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.

Netsuite is a software platform founded in 1998 that provides a number of business related services targeting mid-market companies, as well as divisions of larger enterprises. As a platform it is highly customizable through a Javascript-based API called SuiteScript.

4709 questions
4
votes
1 answer

Netsuite - REST API (restlet)- creating record causes INVALID_LOGIN_ATTEMPT failure on the 2nd and more request for records

I have problems creating subsequent records with netsuite rest api using Token Based Authentication (TBA) oauth authentication. Here is my full code: https://gist.github.com/axilaris/428e63e5ff107d212fbcc07c5bdbce7a (it contains restlet, python code…
Axil
  • 3,606
  • 10
  • 62
  • 136
4
votes
0 answers

Netsuite: OAuth1 / Token-Based Authentication where to put the state parameter

I want to connect to Netsuite via Token-Based Authentication (i.e. OAuth1) as documented here. In the section Step One Obtain An Unauthorized Request Token it is written that an optional state parameter can be added to the Authorization Header.…
JayKay
  • 41
  • 2
4
votes
1 answer

Generating a SHA256 oauth_signature in Python for Netsuite API

I am trying to generate an oauth_signature for an API call. Using Postman, I have generated the code as follows import requests import json url = "https://xxxxxxxxxxxx" payload = json.dumps({ "key1": "value", "Key2": "value2" }) headers = { …
GeneralCTR
  • 41
  • 3
4
votes
1 answer

Is it possible to automatically transform a Dropship Purchase Order into an Item Fulfillment using a Workflow?

I would like to schedule a workflow to find all items that belong to a purchase order that has been marked as shipped by the vendor and mark them as shipped. Doing this manually, Netsuite takes you to the Item Fulfillment form. When I attempt to…
dstep
  • 135
  • 3
  • 15
4
votes
1 answer

Netsuite REST Web Services API GET Request, Outside of Postman

Hi Stack Overflow community, thanks in advance for your help: Question for Community: Instead of reinventing the oauth wheel, are there any tips / best practices for creating my own oauth signature/nonce within my python GET requests for Netsuite's…
trevoraaron
  • 93
  • 2
  • 10
4
votes
1 answer

How can I use a key.pem file in Netsuite to sign a HTTP request with Suitescript?

I am trying to sign a https request and for that I need to encrypt a digest. From the api I generated both a certificate.pem and a privateKey.pem. I uploaded them both in Netsuite in the Certficate and Key part of the company set up. My question is…
bluehank
  • 158
  • 7
4
votes
2 answers

Netsuite error: You must use account-specific domains with the 2019.1 SOAP web services endpoint

I am using SOAPUI to call soap API of netsuite but when i add wsdl https://5450407-sb1.app.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl i am getting following error:
ankit
  • 2,591
  • 2
  • 29
  • 54
4
votes
1 answer

NetSuite - Search customers by complex query

I am trying to search customers who contain these fields : email or firstName or lastName or id. must be an OR condition between of them. for example var freeText = "shomeone@gmai"; var customers =…
4
votes
2 answers

How do I make a text box appear after selecting an option from a drop-down menu in SuiteScript?

I am new to SuiteScript. Right now I am trying to make a form using a Suitelet. In this form I want to add logic to the Suitelet where if a user selects an option from a dropdown menu, then that option will make a textbox appear for the user to…
thomas93
  • 43
  • 7
4
votes
2 answers

How to set date for RESTlet in netsuite with Suitescript 2.0

I am getting error while creating phonecall activity through RESTlet, even I send correct format. Invalid date value (must be M/D/YYYY) It works fine in Suitescript 1.0. Phonecall has many standard date fields & can have custom date fields too. If…
Prabhu
  • 783
  • 2
  • 10
  • 35
4
votes
1 answer

Problem in sending JsonString to Python endpoint using Netsuite script

I have a simple python route as follows:- @app.route('/api/customer/', methods=['PUT']) def check(): data=request.json return data I'm trying to call this python route using suite script in Oracle Netsuite. Here is the code for Requesting part…
durga
  • 115
  • 11
4
votes
2 answers

Netsuite Item Fulfillment Invalid Line Items

I'm trying to set a SalesOrder to fulfilled using the PHP Netsuite Api but I keep getting the following error: VALID_LINE_ITEM_REQD - You must have at least one valid line item for this transaction. I'm using the…
Phill
  • 51
  • 1
  • 4
4
votes
3 answers

How to request Netsuite RESTlet with TBA authentification

I am trying to do a request my Netsuite RESTlet using Alamofire (SWIFT) but I meet several difficulties: In the documentation it's specify the different parameters needed (see below). DOCUMENTATION: An OAuth 1.0 RESTlet authorization header requires…
Millet Antoine
  • 405
  • 1
  • 6
  • 24
4
votes
4 answers

NetSuite SuiteScript 2.0 How do I create a Bank Deposit Slip (suitelet function) from a UserEvent Button

I'm a non-developer who's brand new to NetSuite and SuiteScript and I'm stumbling my way through. The problem: For each deposit record I need to create a printable pdf which lists each of the payments on that record (a Bank Deposit Slip). I would…
EFL
  • 107
  • 2
  • 10
4
votes
4 answers

How to avoid a lot of if else conditions

I have read a lot of topics about code refactoring and avoiding of if else statements. Actually, I have a class where I am using a lot of if - else conditions. private static String getXSIType(String fieldType) { if…