Questions tagged [suitescript1.0]
49 questions
3
votes
2 answers
"nlapiTriggerWorkflow" is not defined - Oracle Netsuite
I tried to trigger a workflow programatically,
nlapiTriggerWorkflow(recType, recId, workflowId, actionId, stateId)
But I am getting,
"nlapiTriggerWorkflow" is not defined
both in console and in script debugger. Why do I get this error?

Ajith V
- 53
- 5
2
votes
2 answers
Internal ID of Button - Netsuite
I am adding a button by workflow. Later I want to hide that button, using a server script. In order to do that, I need the button's internal ID, how to get the internal id of a button in netsuite?

Ajith V
- 53
- 5
1
vote
0 answers
How to initialise date time object from date time (string) in NetSuite (User Event - server side script)
Here, I have string date_time as "2022-10-27T01:35:48.354z" , the same and time i need to initialise as date time object with same and time as in given string.
I have tried
new Date() in javascript,
format.parse, format.format in suitescript,
moment…

Phanikumar Jatavallabhula
- 181
- 1
- 8
1
vote
0 answers
Please configure the inventory detail for item
I am trying to create an item fulfillment for an item , the on hand quantity on item fulfillment record is showing as X for that item at that location , but when it says configure inventory details for line X i am not able to see available under the…

Addy
- 67
- 3
1
vote
1 answer
How to use joins for sublists values in search expressions
nlapi allows to use joins to refer to values in another record or a sublist, when searching for a record. E.g. if there is a record FOO
FOO: {
type: 'rectype',
field1: '111',
sublists:
bar: [
{value: 1,}, {value: 2,}
]
}
I can…

d.k
- 4,234
- 2
- 26
- 38
1
vote
1 answer
Not able to download Suitelet through suitescript 1.0
I have created a button to export the form data to simple Excel.
Everything is working file, even if i try to save this excel file in the file cabinet it gets saved correctly.
But when i try to downlaod the excel file, downloads wierd single cell…

4N335
- 267
- 2
- 29
1
vote
1 answer
Error is Downloading Canvas image from Suitelet. NetSuite
i am trying to create an inline field in my suitelet to have an e sign canvas and than download my canvas image(signature) but every time the pictures gets downloaded but when i open it in image viewer it gives error.(error: It appears that we dont…

4N335
- 267
- 2
- 29
1
vote
1 answer
How to add 2 conditions in 'new nlobjSearchFilter'?
My code is like that:
var filters = new Array();
filters[0] = new nlobjSearchFilter("isperson", "customer", "is", "F")
filters[1] = new nlobjSearchFilter([["minimumquantity", "equalto", "0"], "OR", ["minimumquantity", "isempty",…

Davidna
- 47
- 10
1
vote
1 answer
SuiteScript 2.0 way to refresh a sublist in a client script
I had an old SuiteScript 1.0 script that added any number of rows to a sublist of an Item Fulfillment when a button was pushed. In that script when i was done I was able to call
nlapiRefreshLineItems('recmachcustrecord_contents_sublist');
What…

jvoigt
- 400
- 4
- 23
1
vote
2 answers
Error while creating inventory adjustment through Script
I am creating an Inventory Adjustment record through my Suitelet. While creating Inv Adj with a Lot Numbered Inventory Item, the system throws the following error:
"code\":\"INVALID_KEY_OR_REF\",\"details\":\"Invalid binnumber reference key 151 for…

4N335
- 267
- 2
- 29
0
votes
1 answer
Can't create item receipt in NetSuite using SuiteScript 1.0
So, i'm trying to create a Item Receipt on my NetSuite instance using SuiteScript 1.0, and i'm receiving this error message:
{\"success\":false,\"errorMessage\":\"\\nCode: SSS_INVALID_SUBLIST_OPERATION\\nDetails: You have attempted an invalid…

Pedro Perondini
- 23
- 7
0
votes
0 answers
How do I find automation when invoices created using Bulk Processing context
I can see invoices created with Bulk Processing context but I am unable to find the automation. How can I find the automation which creating invoices in Bulk.

Salman
- 333
- 4
- 18
0
votes
0 answers
Applying SuiteScript on a NetSuite page got error "MODULE_DOES_NOT_EXIST"
After applying Suitescript
I am trying to deploy my user event script on vendor form but I always got "MODULE_DOES_NOT_EXIST" error.
ERROR STATEMENT: {"type":"error.SuiteScriptModuleLoaderError","name":"MODULE_DOES_NOT_EXIST","message":"Module does…

usman ashraf
- 1
- 3
0
votes
1 answer
How to post data depending on selected filters on suitelet?
I have created filter fields on suitelet. In filters I select options and then redirect to second suitelet. Filter fields are, subsidiary, location, year and employee designation is 'developer. Now I want to post data depending on option selected in…

Maira S
- 7
- 5
0
votes
1 answer
How to create sublist and summary box in suitelet?
I want to create summary box like for example sales order summary box. In that box I have to show these fields. and below sublist for individual field values. same like sales order record. How we can create this design? Please Help!
field1
field2
…

Maira S
- 7
- 5