1,528 questions
0 votes
1 answer
19 views
N/https in NetSuite SuiteScript - Header Persistence Issues
Has anyone found a reliable way to stop N/https from forwarding the original Authorization header during a 302 redirect? The Problem: > I’m calling a third-party endpoint that redirects to a signed ...
Advice
0 votes
0 replies
20 views
Can we access custom record values in the payment file template during XML generation?
I am working on Netsuite Electronic Bank Payments(EBP). I have created my own custom record "payment profiles". Can we access custom record values like cbank, ebank, PFA in payment file ...
0 votes
2 answers
88 views
Netsuite UE script failing to trigger on LOAD/SAVE of workflow action script
Hope you can assist. Let me offer some context. I have an opportunity record which auto-processes lines as followed: User populates "Item cost FX" field User clicks "recalculate" ...
0 votes
0 answers
63 views
alttagcaption value assign in suitescript
The image file has attribute alttagcaption which is responsible for setting an alt attribute on the website. I can't find a way to set its value from suitescript directly on the file (or whatever this ...
0 votes
0 answers
45 views
How to get Record IDs from OnRequest
This is executed on the Item Fulfillment record. How would I be able to get current Item Fulfillment record ID and Sales Record ID? define(['N/render', 'N/record', 'N/xml', 'N/format', 'N/file'], ...
0 votes
1 answer
75 views
How to access data from addRecord inside Adv PDF Template?
This is an Item Fulfillment record, but needing Sales Order data. I've added the records. How would I access them in the Adv PDF Template?: renderer.addRecord('record', record.load({ ...
0 votes
1 answer
55 views
How to unselect value from multi-select type field in Netsuite map reduce script?
I hope you are doing well! I am trying to unselect specific customer from sepcific item multiselect field in map reduce script. I am setting new customers in a field using setvalue. But my approach is ...
0 votes
1 answer
51 views
How to skip duplicate rows Netsuite map reduce script rescheduling?
I hope you are doing well! I have developed map reduce script to generate and email csv file for dataset results. I am processing data in batch and rescheduling the script. The problem is, there are ...
0 votes
0 answers
43 views
How to reschedule netsuite map reduce script?
I am facing challenge in rescheduling map reduce script and generating the csv file. I would appreciate an advice! challenge: If I reschedule script, I will create empty CSV file in first iteration ...
0 votes
0 answers
38 views
How does one properly import a "header" to a "source" file in SuiteScript?
My background is C development hence the header and source terminology. Most examples I see online tell me to use this format: Header: /** * @file Sample Server Utilities module. * * @NApiVersion 2....
1 vote
1 answer
135 views
Map reduce script usage limit exceeds in the reduce stage in Netsuite
I hope you are doing well! I have developed map reduce script to send dataset results as a csv file using map reduce script. If there is huge data, script exceeds usgae limit in the reduce stage. I ...
0 votes
1 answer
47 views
Long array to search cause SSS_REQUEST_TIME_EXCEEDED on Suitelet 2.x
I have IDs grouped by brands and array was long // Set brand ID array for selected business var brandOptions = { BHS: [1, 2, 3, 4, 21, 22, 23, 24, 25, 26, 41, 48, 39, 40, ...
0 votes
0 answers
113 views
NetSuite SPA Development on VS Code with TypeScript
Currently I am trying to develop a NetSuite Single Page Application using VS Code and TypeScript. But there's some error on the UIF module import. Cannot find module '@uif-js/core' or its ...
0 votes
0 answers
47 views
How to filter sales orders in a saved search based on the "Sales Orders by Sales Rep" report in NetSuite?
I hope you are doing well! I am trying to retrieve sales orders based on the "Sales Orders by Sales Rep" report for a specific date range. After retrieving the sales orders, I plan to ...
1 vote
1 answer
64 views
How to update a Purchase Order in a Workflow Action Script without triggering other Workflows?
In NetSuite, I have a Workflow Action Script that updates a Purchase Order, but I want to avoid triggering another workflow on the same record. That workflow handles approvals, and I don't want to ...