My Stuff
Comments
-
Hello Matthew, Can you try adding: record.setFieldValue( 'messagenew', 'T' ); Thank you.
-
Hello, This is possibly related to Issue 216600 Portlet (form type) submit button always appears at the left topmost area of the portlet. Please feel free to open a case with Support to verify. Thank you.
-
Hello, Does using < for < and > for > produce the desired results? ie: var postdata = "a<location>b"; Thanks.
-
It looks like there are a few things going on here: 1. The JS_EXCEPTION error is likely being caused by a before or after submit script you have deployed to the customer record that checks for default shipping/billing, and is manually throwing a JS error. And the error is being thrown because the address information you…
-
I don't think this will work in a before load script. Client side page init should work, however, make sure to first check if customform is not equal to 135 and then set customform. Otherwise you may get stuck in an infinite loop since the page init script changing the form will be called again after setting customform to…
-
Hello Jay, If this is happening in 2012.1 for you, Defect 216387 Netsuite SuiteScript Debugger > Debug Existing > Cannot debug After Submit Or Before submit events, has been filed for this. As an alternate solution, if it is an After submit function you are attempting to debug; if you also add a blank Before submit…
-
Alternatively, you could create a mass update script to find all records with the old form, and change them to the new form. (you would have to temporarily make the inactive form active to have it show up in the mass update criteria for custom form). It would only need to be a few lines of code. You can see a good example…
-
If you are doing this on a transaction record, you can try: var thisForm = nlapiLookupField('transaction', nlapiGetFieldValue('id'), 'customform'); Thank you.
-
Hello, This is possibly related to Defect 214068: SuiteScript > Client Script > Field Change Event triggered twice on Internet Explorer. Please feel free to open a case with Support in order to verify this. Thank you.
-
Hello, You could use similar code in the 'Line Init Function'. Thank you.
-
This forum thread may help: https://usergroup.netsuite.com/users/showthread.php?t=13179
-
Hello, If you look at the script code, it may be surrounding with an if statement to only execute if record is new. ie. if ( type == 'create' ) { ... } Also, you will want to check the script deployment record in the UI as the Event Type may be set to 'create' there. Thank you.
-
Hello, How are you updating the case? If it is via an email reply to the case, then the script will not run. We do have an enhancement request for that, Enhancement 129287: Script to update case when edited not firing if case is edited via an email reply. Which may be the case as I now see in your original post: These…
-
Hello Matthew, We do have and enhancement request for this. Enhancement 75283: Ability to mark CSC field mandatory when a payment of type credit card is selected. You can vote for this in the NetSuite Support Center. Additionally, via scripting, you could deploy a script to your cash sale form calling a Save Record…
-
Hello Mayur, You are missing a closing bracket '}' at the end of your function. That is what is causing the current error you are seeing. function fieldChange_getFieldTextTest() { var RemovalID = nlapiGetFieldValue('custitem14'); if (RemovalID == '0'){ alert('Please specify the Reason for Removal'); } } Thank you.
-
Hello Matthew, You can try using parseInt() or parseFloat() e.g. var minPrice = parseFloat(bidPrice) + parseFloat(freightCalc); Thank you.
-
Hello Bir, Try removing the quotes from around the word undefined. i.e. if(x==undefined) Thank you.
-
Hello Matthew, Defect 199062 - 'nlapiEncrypt returns different hash from generated by SHA1 generators on the web' has been filed for this. Please feel free to open a case with Support in order to be attached to this Defect. Thank you.
-
Hello Sara, You are also missing a '{' before the function body. function onSaveCustFieldChg(type) { Thank you.
-
Hello Sara, You can also double check the custom body field > Access Tab > what is 'Default access level' set to? If it is set to 'view' that may be why the value is seen as changing when in edit mode, but not after it is saved. If you set 'Default access level' to 'edit' that may correct the issue you are experiencing. If…
-
Hello Sara, Check your custom body field to see if you have 'Store value' unchecked. (this may explain why you do not see a value in view mode) Also, you may want to set the custom body field to type 'Currency'. Using parseFloat in your calculations may prevent the concatenation you are seeing in your total field and do…
-
Hello Christine, There is a usergroup thread regarding this that may interest you. https://usergroup.netsuite.com/users/showthread.php?t=18933 Thank you.
-
Hello Paul, Home Tab > Settings Portlet > Set Preferences > General Tab > check Show Internal IDs and Save. Thank you.
-
Hello Nick, If this is a client side script. In the UI, you can create a custom transaction body field set to display on the sales order form, with 'store value' = False. Under the sourcing and filtering tab you can set the source list to 'customer' and 'source from' to your check box field on the customer form. Your sales…
-
Hello Alessio, This requires Setup > Company > Enable Features > Marketing tab > Capture email replies to be enabled. Additionally, the reply will only be captured if you are using the internal id of the entity recipient in nlapiSendEmail. It will not work if using a string value for the recipient email. For example:…
-
Hello Lyna, You can try changing var script = 'suiteletButton_Form(''+ suiteletURL +'');'; to var script = "window.open('" + suiteletURL + "','mywindow','width=500,height=500')"; Provided your suitelet is calling suiteletButton_Form(). Thank you.
-
Hello Shelly, I see that you mentioned you may be using PHP CURL Functions with a deployed Suitelet. In your PHP code, could you try adding the following when setting the options for your CURL transfer? [CODE]curl_setopt($ch, CURLOPT_HTTPHEADER, array('Cookie: NS_VER=2011.2.0'));[/CODE] Thank you.
-
Hello Shankar, You could modify your final if statement to check for if the value after the decimal is '00'. i.e. Old if statment: if(splitCurrency.length > 1) { text += ' dollars and ' + transformCurrencyToText(splitCurrency[1]) + ' cents'; } New if statement: if(splitCurrency.length == 1){ text += ' dollars';} else if…
-
test post test post test post
-
nlapiSubmitField('customer', cust_id, 'creditholdoverride', 'OFF') should work for you. Are you able to change it via the UI? Thanks.