My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Comments
-
Jen, did you ever find anything that worked for this? I'm also looking at trying an Ajax call to an external script, but nothing's working so far. Here's my code, followed by the error I get: var http_request = false; var url = "http://..mywebsite.../_netsuite/generateMemberID.aspx"; if (window.XMLHttpRequest) {…
-
Thanks for the replies, guys - Looking forward to the new release next year :)
-
Firstly.. I'm amazed anyone could follow my original post.. I wrote it, and I got lost when I re-read it. Good job! Secondly - thanks for the reply and the suggestion. I tried to implement the search as you suggested, but I still get people showing on the list who have both records (Blue Thing and Green Thing, in my made…
-
Did you uncheck "store value"? Thanks, -e My replay is late, but as people are still responding.... Thanks Evan, that did the trick - back in September
-
oh man.. I was so close!! :) Thanks for showing me where I went wrong, Olivier. Much appreciated
-
Evan, Just wanted to so thanks again! Your tip about the Name field did the trick. I'd setup all custom fields within my custom record type, and then used the CVS import to bring in the data. As I'd left the "Include Name Field" unchecked, this field wasn't visible to the CVS import process, so none of my records had a…
-
Evan, Thanks for the tip. I had setup my own Label field (community_name), rather than a NetSuite name field.. I'll look at this and see if I setup the Custom Record Type incorrectly and can use that NetSuite name field for that I want. Thanks for the avenue for investigation. I'll be back here if I need further assistance…
-
Thanks Evan :)
-
Evan - I'll do that. Thanks 'Wizard' - if you know a way to omit the System Notes when the value didn't change, but not omit them when a value DID change, please let me know. Also, we have, as I mentioned, hundreds of custom fields - so omiting them all wold be tricky and equally as cumbersome.
-
Thanks for the reply and suggestion. I tried your code (though commenting out the nlapiSubmitField line for the time being). The output of the looped nlapiLogExecution show that the nsDateCreated does contain an extra space between the month and the year, as I mention in my initial email. This space was messing things up…
-
I discovered some more information about the apparent bug I'm finding with 'contact.getValue("datecreated");' I think the length of the month name is the problem. When using the script you suggested, I found that splitting the returned value of 'datecreated' on spaces would result in the first value being 'DD-MONTH' but…
-
Thanks for the info, Yang. Our NetSuite account is due to be upgraded to 2009.1 tonight, as it happens :) I was able to work around the issue, so I'm not facing the challenge anymore, I was just continuing this thread incase it wasn't a known issue. Thankfully it is a known issue, and has already been addressed. I will…
-
Note that I think getName() returns the NAME of the template, not the subject. So I just got around to trying this out (no, the bugs weren't that great.. just needed a vacation!), and I found something very interesting: It seems that .getName() does indeed show the subject in the template, not the Name of the template. The…
-
I was thinking something along the same lines - I have 140 or saved searches and corresponding email templates, as well as dozens of others in the list, mostly using all using some kind of code (demoUK_7day, or whiteFRA_25day) - I was thinking of adding the subject to that enclosed in "#" characters, as I know I don't use…
-
Hi Steve, Thanks for the reply. My company currently swapped over to use NetSuite this last weekend, after 6 months of preperation, and massive integration with our public website. As such I'm not gonna be able to investigate this as thoroughly as I'd like.. so I was wondering.... ..could you give me a bit more of a clue…
-
and I appreciate the answer the question I asked, rather than the old forum favorite of "why are you doing it like that? What you should do is this..." :D (granted that's mostly from public and general forums, rather than product specifc ones like this) Anyhoo.. thanks for the sample code.. looking at it it makes perfect…
-
without actually trying it.. here's what I would try: - get the 'internalid' from the 'result' (result.getId() or result.getValue('internalid') - not sure which) - then use this code to update the contact record: nlapiSubmitField('contact',contactID,'custentity_yourField',yourValue);' I don't if that will work - but it's…
-
I found my own solution, after many hours of searching the help file (again, it's hard to find what you need to know if you don't understand the problem) in my post above I made mention of the column in my results I was trying to use had a "join" value of "company".. it took me a while and a "well, it can't make it any…
-
Like a lot of folks, I answered me own questions <g> My final, working solution is this: 'custentity_myinlinehtml' - default value: blank.. nada.. empty.. ziltch suitescript method called beforeLoad: function contactBeforeLoad(type,form) { var domain = nlapiGetFieldValue("custentity_domain"); var iframe_url =…
-
Thanks for those links, Jessie. I'll get to reading :)
-
Bruce, Thanks for that. Once David had explains where the logs were located, I was able to determine the way they are populated, such as the IN QUEUE and my own DEBUG statements. It's a great way to keep track of what's going on. Adam, Using an adaptation of your script I've been able to produce just what I needed. The…
-
yang: thanks for the tip. I'll give that a try. evan: thanks for replying too. I hadn't seen yours by the time yang replied, and his seems more inline with what I need.
-
Thanks for the confirmation and information, Yang. I'll do my research now with that knowledge, and see what I can put together. Kevin
-
Adam, Thanks for the suggestion - I think it will be perfect for what I'm tyring to do, at least until NetSuite expose the event handler for the 'remove' links. Looking at your code, most of it makes sense. I've not looked at scheduled scripts before, but they look fair straight forward. Almost a shame that the quickest…
-
I've since found a thread that talks about my issue: I need to run code when a line item is removed So, unless there's been an update since this thread was posted, it's not possible. Even with 'recalc' as my "if (type == 'recalc')" ? So, the next question is then how to remove 'remove' from the line. I've looked around the…
-
Great.. thanks David.
-
Thanks yang, It's much simpler than I thought, and much simpler that via the Web Services API's. Presumably this would go as an "after submit" rather than "before submit"? I'm thinking that because of the 'lapiSubmitRecord' line. (I'll probably have tested this as an 'after submit' by the time you see this reply)
-
Hi Ali, Eureka! Thanks for the advice. For me the missing element was setting the status to 'Released'. Once I did that my External URL said 'hello' :D
-
Actually.. I changed my mind. I think in my case the getOldRecord() is the one I want. I'm not really interested in what the changes are to the record, I just want to create a new note to attach to the Contact who's custom record is being 'xedited'. To do that I need to get the value of one of the non-changed fields…
-
Perfect. Thanks once more, Yang :)