Questions tagged [clientscript]

86 questions
0
votes
1 answer

Swal alerts not returning value's in netsuite client script in saverecord function of suitescript 2.0

The code below is a saverecord function in netsuite which needs to get OK or CANCEL button having true or false value to submit the suitelet. function saveRecord() { swal({ title: "Are you sure?", text: message, type:…
0
votes
0 answers

https.post.promise “.then” not called

Hello – I hope someone could provide some advise or feedback. Summary: I am trying to create a custom button (UE script) on Sales Order record. That custom button executes a function from a client side script. The function (snippet below) uses…
0
votes
1 answer

How to redirect to Custom Record in Create mode in SuiteScript 2.0?

I'm trying to redirect to a Custom Record from a custom Button from Sales Order. Button function is given below, I need to get rectype(496) parameter by passing the Custom record Id (custrecord_gotorecord) or any other way to do the same? function…
0
votes
1 answer

Highcharts- Creating a dynamic x-axis to maintain bar spacing with less data points but maintain x-axis "width"

I'm looking for a solution to add to my clientscript in actuate opentext studio. In the first image I have the columns of the grid lining up with the table bars; this is for a 28 day period. I need a similar display when having less data points-…
0
votes
1 answer

Clientscript how to use it to get value from a sublist

I have this suitelet, which has a form, makes a search filter and fills a sublist, this sublist has a text field and must be filled with a number, to assign to that row the value. //, Also specify which field does not work when I apply a…
0
votes
1 answer

How to use nlapiAddMonths to set a field value 2 month after a trandate? (in client script)

i m trying to populate a custom field with the value of the corresponding trandate(2 months ahead) e.g if the trandate is 13/05/2019 then the custom field should be 13/07/2019. I am using nlapiAddMoths() in my client script(field changed function)…
4N335
  • 267
  • 2
  • 29
0
votes
2 answers

Facebox images don't show when using asp.net ClientScript

I'm using FaceBox in an ASP.net project. It works great when I call it from a hard-coded script block in the ASPX page like this: