-
How to check if an item's Inventory Detail requires setting
I am writing a RESTlet that creates Cash Sales in Dynamic mode. Some of the items we have will need their Inventory Details set, but others, namely Inventory Items, do not. Once they're added to the order, their bin numbers are automatically set. In SuiteScript 2.1 how can I determine if an item's Inventory Detail needs…
-
How to set base price for a nonInventorySaleItem?
Hello again. I have a basic NetSuite Restlet that I am using to create a nonInventoryItem and it works when calling it with Postman. I need to set the base price but am struggling to do so. This is my current working code. define(['N/record', 'N/log'], function(record, log) { function doPost(requestBody) { try { var…
-
SuiteScript Unexpected Error
Hi, We built a Netsuite integration into our solution, and at some point, we need to fetch Invoice PDFs from our customers. We are using a Restlet installed into our customer' Netsuite instance using a SuiteApp we developed. Unfortunately, for one of our customers, we are getting an error "An unexpected SuiteScript error…
-
[SuiteScript 2.0 Restlet] Some exceptions are not json decodable
Hi NetSuite, we are using SuiteScript 2.0 restlet to do some crud operations with NS, and we observe restlet exceptions are returned in json type, however we observe some exceptions are not valid json. e.g. {"error" : {"code" : "DATE_EXPECTED", "message" :…
-
What is the Restlet script to save data from custom column on mobile table element?
I would like to save data from the custom column I created on a mobile element table (configuration). SA explains to accomplish this by using an After Row Click Action RESTlet on the element page (https://suiteanswers.custhelp.com/app/answers/detail/a_id/104365/~/saving-data-from-additional-columns) However, there is no…
-
How to resolve the error while working on Assemblyitem through RESTLet?
hi i am facing issue while working on Assemblyitem through RESTlet in Netsuite. i am unable to assign Bill of Materials under new Assembly. Assemblyitem is been successfully added but it does not reflect Bill of Materials below is the code i am using. request to kindly help the same regards, { "recordtype" :…
-
How can we can RestLet from POSTMAN - Context is undefined
Hi All, We investigating an issue with a RestLet on our get function. When we call the restlet from POSTMAN the context is undefined. All authentication works but the content of the body is not in the context. We previously used it and it worked but now we have this problem. Yet on the POST function the context work and…
-
How can I post an inventory lot numbered item with suitetalk or restlet?
When I try to post an item with suitetalk or restlet it gives me the following error: "Please enter value(s) for: Tax Schedule\" How can I post an inventory lot numbered item?
-
How to check if a Feature is enabled in the account via REST?
Hi Team, Could you help me with the following question? I want to receive information does the NetSuite account have the option 'PAYMENT INSTRUMENTS' via API. I mean Enable Features -> Transactions -> 'PAYMENT INSTRUMENTS'. Does NetSuite have the API method to receive this information?
-
Is there a way to extract Login Audit Trail data by Integration?
Greetings! I understand how we have access to Login Audit Trail data by Reports and Saved Searches. Is there a way that we can get that information at the record level so that our IPAAS can extract it to our data warehouse? Thank you for your help. Nick Kusiak