My Stuff
Comments
-
nlapiSendEmail doesn't appear to be working at all for me suddenly. I noticed it yesterday. Was working in sandbox then suddenly stopped sending the message; no SuiteScript errors. I thought moving the script to production would actually see it working, but it's still not delivering email. My script execution logs show…
-
FYI - I got this all working. Can't remember details off-the-cuff, but found my own thread and thought it worth updating.
-
Sorry you're struggling, Shanthi. Unfortunately, because I've since changed jobs, I no longer have access to that instance of NetSuite. I'd be starting from scratch to assist you and, frankly, don't have the time to spin that project up in my mind to that detail. While I recall it worked fine, it only worked fine; portlets…
-
This has been very useful in developing my first ground-up chart. Thanks. I think my final hurdle is passing variables from the portlet script to the client script. My intent is to build a chart based on user input in the portlet form. For example, my portlet is intended to hold support case stats and the chart, so I have…
-
A year later... I think an issue I'm having now is related. I have a suitelet that builds a form and has an inline HTML field that makes <script> calls to Google for a 3rd party library. This same reference works fine when building a form portlet, but the same call from my suitelet is not working. I'm using form.setScript…
-
When you're defining the script in NS, you should see a section below the function references to include library files. You can add multiple.
-
You can use nlapiSetCurrentLineItemValue, nlapiSetCurrentLineItemText, nlapiSetCurrentLineItemValues and nlapiCommitLineItem easy enough. In Create mode, it would look something like this: nlapiSetCurrentLineItemValue('usernotes', 'title', 'here is the title'); nlapiSetCurrentLineItemValue('usernotes', 'note', 'my note');…
-
We've been banging our heads for months on this same type of problem, and tried all sorts of things to no solid avail. We provide Contacts access to the NetSuite Customer Center. Granting them access also provides credentials for a RESTlet on our company website that authenticates itself into NS and, depending on what NS…
-
Hi guys, Like everybody said, suitescript filters behave like saved searches Criteria. Of course it's not loading all records before filtering! How would this be any effective with the nlapiSearchRecord 1000 rows max results? One of the use I have of UI saved searches when scripting is to know how to format my filters,…
-
Thanks. I agree with your thought about debugging. In this case, his company is implementing the most primitive integration they can; they're not doing anything special for us and they claim 30 prior Netsuite integrations. They've tried to pull wool over our eyes way too many times. It's comedic.
-
Hi, Evan. Sent PM as I would rather wait until we finish work with these guys. Need to be careful about the relationship. :)
-
I wish. I've looked into this before somewhat shallowly, but didn't find anything. At Suiteworld 2012, some of the NS employees were sure it was possible, but I don't think they figured it out either. I'd love for us all to be proved wrong... or inadequate. :D
-
That's cool. Would be interested to see what you're really getting out. I didn't realize you were only doing this for customers. I'm only concerned with employee.
-
There isn't documentation I can find on haskeywords, but the behavior in SuiteScript is not the same as in the user interface. I have a case open and think I've finally convinced Support there is something wrong with it. Case 2266355 in case any NS employees wanna check it out.
-
First time for me to try haskeywords, and I'm experiencing the same thing. Surprised this hasn't been addressed after over 3 years.
-
Looks like it's working now with a solution NS supplied and I don't fully understand. var d1 = new Date('January 1, 1990'); var myDate = nlapiDateToString(d1); filters[2] = new nlobjSearchFilter('trandate',null,'after',myDate,null) For simplicity, I changed this to... var myDate = new Date('January 1, 1990'); myDate =…
-
Dear Diary, NS explained why it works. Making it a date object initially makes the date something NS knows how to properly handle, no matter the format preferences. Then, when the script says make this date a string, it knows to properly convert the date according to the preferences. In object form, I suspect the date is…
-
FYI - I opened a related case asking to reconcile the manual, the current functionality, the recent e-fix and now the unfix. Basically, I explained that the help guide needs to match the functionality. If nlapiSubmitField can work with non-Direct List Editable fields (such as Opportunity on quotes), the guide should make…
-
Subject: Update Notification for Issue 210829 Issue Number 210829 Type Defect Severity S1 - Issue Status Testing/Pending Release Case 1410768 Defect 210829: SSS > nlapiSubmitField throws Error > This API cannot be used with field xxxxx ________________________________________ Abstract: SSS > nlapiSubmitField throws Error >…
-
Subject: Update Notification for Issue 210829 Issue Number 210829 Type Defect Severity S1 - Issue Status Closed - Released Case 1410768 Defect 210829: SSS > nlapiSubmitField throws Error > This API cannot be used with field xxxxx ________________________________________ Abstract: SSS > nlapiSubmitField throws Error > This…
-
Defect 210829: SSS > nlapiSubmitField throws Error > This API cannot be used with field xxxxx It's an S1 defect, so maybe it'll be fixed sometime today. I don't know what all it's broken yet on my end because we have a lot of scripts, but it did temporarily stop our maintenance renewal team from doing work until I…
-
Ok. And how do I paginate the search? How do I re-run the search without bringing the same results? If you're doing something to the records being returned, set criteria that recognizes that difference. For example, if you were trying to set all your quotes meeting a certain criteria (e.g. date created is "this year" and…
-
I am not sure about totalcostestimate, but apparently the "proper" way to set orderstatus is by loading the record and then setting the field and saving the record. Thus, instead of calling: nlapiSubmitField(recordType, recordId, 'orderstatus', 'A'); I replaced that with a function to set the status via the record: var…
-
From your screen shot: http://i.imgur.com/3yevp.jpg When adding the script to netsuite in the entry page, you will need to enter the name of the function that will run on Field Changed events which in your case would be "fieldChange_getFieldTextTest()" Minor correction: no parentheses. He should explicitly put…
-
Put .js at the end of your file name. Actually, change that file name to reasonRemovalMR.js. I don't know how it handles spaces and dashes (though, it's probably fine). Also, post the entirety of your script here, not just the function excerpt. You did the FieldChange part right.
-
You could just use nlapiLookupField (type, id, fields, text) and you don't have to bring the checkbox in to the sales order. So yours might be: nlapiLookupField ('customer', customer_id, 'custentity_myspecialbox') But sourcing in that same field to the sales order should be easy. Create a new field on the sales order of…
-
Thanks Cherryl. NetSuite seems to have just fixed the issue (Case 1405076). Although it is still eyebrow-raising that this issue ever existed in the first place, I am glad that NetSuite adopted the proper urgency in addressing and correcting the bug. Yep. I just got the notice that the fix for the defect has been released.…
-
Latest update: Defect 209800 is scheduled to be fixed on 12/8/11.
-
I'm not sure it is so nice. Email has been broken since November 18th. Now, finally, it is to be fixed - after another week goes by. A three week email outage is pretty pathetic. Most organizations would have some urgency about fixing email issues. Or are we the only NetSuite customer who uses nlapisendemail for business…
-
Hello Lorne, Netsuite... Did something change within the last 12 months here? We used to use nlapiSendEmail to send a message to the contact on a case when the case was closed. If the contact replied to that message, the reply was attached to the case. Today, the message does not get attached to the case The immediate…