I want to show the custom error message with out stack trace to user using "suitescript 2.0"version. In workflow the custom error message is showing without stack trace but in Suite Script the "ERROR MESSAGE " is showing with the stac...
How can I upload a file to Netsuite File Cabinet automatically?  would nLapiRequestURL("Server1/database1/NDT/ftp.csv work?   File is to be fetched from a server within company.   I need to import CSV file to the cabinet automatically once a day....
This is frustrating. I thought the problem was the object being returned by the api response. Maybe it's in string so what I did was I copied the response from "postman" and paste it directly on the js. This way im sure that it's in o...
My code correctly creates a file in document repository as well as attach it to a record in NetSuite. However, the file type is 'Other Binary File' when it should be a PDF. I read that for PDF we must encode in base 64 but even then it doesn&...
I want to set the value for the multi-select with existing values in that field.  (i.e) If the Filed has the values "A  , B" means I wants add the New Value "c" with Existing Values So, Result would be "A,B,C" .   I used "...
I am attempting to fix and issue with my code. I was originally using DOMNodeRemoved and DOMNodeInserted for keeping an eye on an element within a page I am working on. They worked well but did not function in IE. So I started trying to work with a M...
I have a schedule script which does some calculation and update custom header field on a Sales Orders, which runs every 30 mins.  With the increase number of order's in Netsuite, I started receiving error saying "An unexpected error has occur...
I am trying to create a custom profiler library to load into my SuiteScript 2.0 scripts. Its path is /SuiteScripts/profiler.js and my Suitelet is in /SuiteScripts/suitelet.js  Here how I am trying to load it into my suitelet:  define(['N/ui/serve...
I tried to get an item's type like inventory or non inventory using nlapiSearchRecord and nlapiLoadRecord function.  Here is a code snippet:  var searchresults = nlapiSearchRecord(         'item', search_id, null,          [             n...
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 to use suitetalk. anyone can help   2)what is dif...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.