My Stuff
Comments
-
Ah, we weren't on the same page on this. My field is not a field on a record, it's a SuiteLet field (i.e. nlobjForm.addField()) I just tried to go through the NS/NL client code to see if I could find the formatting stuff but it appears you've obfuscated the code, quite effectively I might add! :o
-
To see if this is caused by the new number formatting feature you can go to the display tab of the custom field and see if the preference of "Apply Formatting" is checked. By default any existing number fields have this flag unchecked but new custom number fields checked. Try to unset this flag if it is checked to see if…
-
Crap, wrong forum - can someone move to the SuiteScript forum please?
-
or you can set it in SS. The field name is "applyformatting". Let me know if this does not solve your problem. Can you elaborate on this, possibly provide an example? I don't see any methods to set the formatting of a field created in SS.
-
Steve, SuiteAnswers seem to be working fine, with no other customer feedback items to indicate otherwise. A support rep will be emailing shortly to followup and request some details if problem is still occurring. James James, It's definitely down again. I have just tried from 4 machines on three different physical networks…
-
I can see many uses for the function, but what I'm saying is that it doesn't appear to work correctly when searching for a line number. In my example I posted it would return -1 when searching for a line that has a line number 1 - so why no match? the line # doesn't appear to have much to do with the line index. I agree…
-
Steve, SuiteAnswers seem to be working fine, with no other customer feedback items to indicate otherwise. A support rep will be emailing shortly to followup and request some details if problem is still occurring. James I just checked and it is now working. Wasn't before, so must have been a short lived glitch. I tried on…
-
I would report this to support to see if this is a fallout from our new number formatting capabilities. Trying, but Suite Answers is down so I can't file a case. I will send an email to support@netsuite.com and maybe that will land somewhere appropriate.
-
Yep, running that script in the NS debugger. I haven't tried on the client yet but will give it a shot out of curiosity. I do have a workaround but appreciate your contribution. I'll enter a case with NetSuite and update this thread once I hear from them.
-
does this mean that I can not load Ship Items (record/list) from Suitelet as a drop down? my code is like this: var form = nlapiCreateForm('Select Item for Inventory Transfer'); form.addField('custpage_shipping_method', 'select', 'Shipping Method', 'shipitems').setMandatory(true); ... -192 is your friend.…
-
Now I see what you are doing, I missed that you had the redirection in there and it looks like there is a meta tag that handles this? I broke your code up into a couple lines so I could see it more clearly: assistant.setFinished("Congratulations, you have successfully uploaded your items. You will be automatically…
-
Did you ever sort this out? I've experienced the same thing and thought I'd check with you before I dig in and start researching.
-
But won't this just display the usual Assistant finish page? The cost sample you just posted looks just like the first one you posted in the original post. Am I missing something?
-
I spoke too soon - the images are missing from the SuiteAnswers help content. :h_a_w:
-
BTW, if anyone else comes across this support pointed out (on the phone) that the help is essentially echoed in the "SuiteAnswers" site and the help there is working. So I'm back in action thanks to SuiteAnswers (?!) :p
-
Good news! Thanks Elham
-
How about polling JS to check Window.closed on the popup and then refresh the main page when it is? I don't do client code, but maybe there is an event you can attach to on the window object to catch the close event, that would be even slicker. Here is a working example of a pattern that will support refreshing the page…
-
Of course, that's a great way to do it! I was coming at it all wrong trying to hook into the UI, much smarter to modify the response. Thanks! :)
-
Yuo can't script that window. For clients who have asked us for various customizations to this pop-up, we have rebuilt the entire window from scratch using a Suitelet, THEN enhanced it. This is exactly what I had begun working on but I hit a snag on how to handle the button on the Message sublist and the Email on the…
-
You raise a good point Olivier. In my case, the function is actually intended for a non-NetSuite application so I don't have access to the NS API. However, you piqued my interest how nlapiFormatCurrency() may be handling it. I dug around the source and it basically comes down to a round_currency() method in NLUtil.js which…
-
Hey Wes, I don't recall what happened with this. I don't think I ever had an issue with nlapiSetFieldValue() though, that doesn't sound right. Are you testing with a dead simple script to isolate the issue to the single nlapi* call?
-
I respect your resourcefulness and certainly understand the need to work around NS limitations. I just hope that someone over at NS (a decision maker or someone with influence) sees these types of things that we are doing and is moved to make changes so they aren't necessary.
-
I hope it ends up being easy! :p
-
nlapiRequestURL() - that's where I was going with my question about user interaction; you can accomplish what you want without ever involving the browser or the user.
-
Does your SuiteLet present the user with an interface or is it automatically doing something that requires no user interaction?
-
Hi Steve, 1. I haven't tested this in Netsuite formulas but escaping quotes in PL/SQL expressions is done by repeating a quote. e.g. 'this is ''my'' string' would be interpreted as a string with single quotes around the word my. I think I may have tried this but will give it another whack and let you know if it works. 2.…
-
Brett, Thanks for the reply and suggestions. I started to go down a related path by including the current URL into the link. Something like: .../hosting/scriptlet.nl?script=36&deploy=1&custparam_referrer=.../search/searchresults.nl?searchid=482& Then I would yank that out in my SuiteLet and decompose it into the required…
-
Jim, I don't think there is a concept of "Created From" like there is with transactions because there is no link maintain, just a simple association. So you would need to inspect the various associated record fields on the Task and take the non-null ones as your "Created From" record(s).
-
Not sure if its relevant in your scenario but you could consider a hybrid approach whereby you hold a reference to a custom record "state bag" for that session which you could then pass around either in page or within the session, and then hold a blob of json data in the custom record that you parse / stringify as you go.…
-
So I uh.... uhmm... I'm really not sure what was wrong with me before and I why I thought this wouldn't work. :p Figured out it was that I was trying to CLEAR the selection - that's what was giving me trouble. I've tried the following: nlapiSetFieldValue(sendMedRecReqAssistant.FLD.FAXTO_UPDATE, ' ');…