Questions tagged [clientscript]

86 questions
0
votes
1 answer

Suitescript fieldChanges location field

I'm still learning in netsuite. and I have a case like the following on the Requisition form, if input requestor in requisiton, how to change location field automatically. we can get the location in the employee field can show an simple code for…
antechf11
  • 55
  • 4
0
votes
1 answer

Having trouble with a print button PDF in the record - Netsuite

I am having some difficulty with a button I have added to a Inventory form. The button is added via a UE script at beforeLoad, which is tied to a function in a Client Script, which on click opens up a suitelet using an advanced pdf/html template…
0
votes
1 answer

Is there a way to uncheck "Landed Cost Per Line" on Item Receipt Form

I'm new to NetSuite. I need the checkbox "Landed Cost Per Line" on Item Receipt form to remain unchecked. I did try 2 ClientScript but it is not working. When you click on "Receive" button on the Purchase order, it goes to the Item Receipt form and…
Zarah
  • 1
  • 1
0
votes
1 answer

Netsuite Suitescript Client Script

I'm still learning on suitescript. can we change (fieldChanged) that comes from another record? for example we edit the date field in 'fullfilment'. then the fullfilmet item field on the sales order will change according to the date on the…
antechf11
  • 55
  • 4
0
votes
3 answers

How can i get a field value in view mode using a client script?

Hi I'm new to suitescript I've added a custom print button to the inventory item record, it works totally fine in edit mode but in view mode the client script can't get the field value for my print type, it returns an undefined value. it gives this…
Fil
  • 3
  • 3
0
votes
1 answer

SuiteScript Select Line which does not exist returns an error

When I try to add new line and selectLine() it returns an error that SSS_INVALID_SUBLIST_OPERATION This is because that line is not exist. If I use selectNewLine() it works. But I can't use this because I have already existing lines. Is there any…
0
votes
1 answer

Netsuite client script https post request unexpected error

I have a User Event and Client Script for my Netsuite system. I added a button on a transaction page. This code works on the User Event beforeLoad function, but for my client script button press function I get an error: Unexpected error and am not…
0
votes
1 answer

NetSuite: Emulate Global Search

I'm curious if anyone has come across this question before. I've been asked a few times if there is a way to emulate the Global Search functionality into another field. I'm guessing Inline HTML, potentially triggered by Client Script, but I don't…
gstea96
  • 145
  • 1
  • 10
0
votes
1 answer

how to use clientscript in module

I want to use clientscript coding in module, then call it from a page. dose anybody know about it? module A Module A public class sample Public Shared page As New Page Public Shared ClientScript As ClientScriptManager = page.ClientScript …
0
votes
1 answer

clientScript() function in testcafe isn't working on all pages

According to Testcafe's documentation, I should be able to inject a clientScript into all pages: https://testcafe.io/documentation/402843/guides/advanced-guides/inject-client-scripts#add-client-scripts-to-all-tests I currently have it set up to…
0
votes
1 answer

I have created a client script, no error in the script but after deployment, while testing with record, the script is not running

I have created a client script, no error in the script but after deployment, while testing with record, the script is not running
0
votes
2 answers

Problem reseting a form on client side with ASP.NET

I'm trying to reset my form using javascript on client side. The code looks like this: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
atoMerz
  • 7,534
  • 16
  • 61
  • 101
0
votes
1 answer

Netsuite: How to pass variable from client script to suitelet?

I am just a fresh beginner so forgive me for any silly mistake. I have two codes, one for the client script page init and the other is for suitlet script. What I am trying to do is a form and a sublist on a suitelet script, then pass exisiting…
hadi hamad
  • 5
  • 1
  • 2
0
votes
1 answer

Disable confirmation popup in Dynamics 365 when record is deactivated

When one deactivates a record Dynamics 365 is showing a confirmation popup. Is there any chance to prevent this confirmation to popup? I've done quite alot of research but was no able to find any reasonable way of disabling this popup. Does anybody…
0
votes
1 answer

NetSuite Client Script 2.0 to Disable Expiry Date Sublist Field on Inventory Detail record

I'm trying to disable the display type of expiry date field on inventory details. The current client script is working for 1st line only or 0 index. I'm trying to completely disable this field for all lines while adding inventory details. This is my…