My Stuff
Comments
-
Ha! Custom records of states?... we do the same thing, for the same reason. I do have a working suitelet with several custom record fields that work, some with hundreds of values. However, now that I think of it, they are all multi-select. Are you populating your values with the source parameter in nlobjForm.addField()? My…
-
I do this as well. It would be nice if NS would add a couple more functions to the search formula function library (beyond the ANSI SQL and ORACLE set) Maybe:[LIST] [*]FORMAT('Rate: {{0:C}}, transaction date {{1}}', {some_currency_field}, {some_date}) - basically .Net String.Format() syntax ;) [*]LINK([url], [title],…
-
It shouldn't matter, but can you specify if the UE was an afterSubmit or beforeSubmit Kate, It was a BeforeSubmit.
-
I narrowed it way down and have found out the following: Multiple Record Level Client deployed scripts will work fine. For example, two scripts that alert() in their respective onInit methods will each be called. calling nlobjForm.setScript() in a BeforeLoad UE script does NOT work. Yang? Expected? Defect? By Design? :(
-
Hi Olivier, Thanks for the reply. I didn't realize that subList.addField returned a regular field. Now that I read the last sentence in the help I see it's right there! Setting the display type works for me, but I don't seem to be able to get setDisplaySize() to have any effect at all. Have you ever used it to set the…
-
Latest version with a couple more methods and a StringToDate method that supports am/pm /** * @class DateUtils * @Description Duh, it's a utility class for working with dates?? */ function DateUtils(){} /** * Returns a new Date object that has the TimeZone component removed. * @return {Date} The new Date object */…
-
case# 733351
-
Personally, I have found Datejs very useful and feature complete when doing scripting work that involves dates and times. I plugged it into my library suite and thus far I have not encountered any issues. Thanks, Ted It does have some great features and I really like the syntax. Thanks for suggesting this. I'm resisting…
-
I needed MIN/MAX functionality for Date objects and date strings. I added 4 methods to my DateUtils class/object/whatever: [LIST] [*]Min({Date}, {Date}) : {Date} [*]MinStr({String}, {String}) : {String} [*]Max({Date}, {Date}) : {Date} [*] MaxStr({String}, {String}) : {String}[/LIST] Here is the latest version: /** * @class…
-
Hi Kate, That is pretty accurate. I'm triggering the script on the Save event. The changes do appear to be comitted so it seems that the hangup is on the reloading of the record. -Steve
-
Thanks Yang, You might want to poll the users first, I'm not sure if anyone actually uses the stuff. :p
-
Steve - It appears you can only set a single script file. At this time, consider the statement in the doc to be incorrect. It will be corrected for the next Help/PDF build. Thanks, Kate Thanks for the update Kate. Just a general comment to NetSuite: This kind of crap wastes my time. I made design decisions based on the…
-
'popup' sounds VERY interesting though!! :D
-
This is an interesting suggestion and touches upon something I've been wondering about. I'm not a web guy, don't really have any experience with AJAX or anything, but I think I know how they work. My question is, when you say "post back" to you mean use the xml object from my SuiteLet client script to make a request…
-
I've redesigned my approach to this problem and I think I have a much simpler and superior solution than my last one. I'm adding a listener to the onUnload event of the page and reverting the state of the "In Use" field in this handler. I also created a scheduled cleanup script that will search for orphans and revert their…
-
oh man, that's way simpler than what I was thinking! I'm so used to avoiding client DB calls that I didn't even think of that! :p Well, now I have a decision to make. My ADD kicked in big time and I came up with a quick "ajax" solution. I really don't know how to justify sticking with it now that I see the much simpler and…
-
Hi John, That is a good suggestion, however in our workflow I try not to couple processes to specific users. So if user A starts to work with a record and abandons it for some reason, I want another user to be able to pick it up and finish the job if possible. hope that makes sense.
-
ah, thanks! There it is... right there in the help! :p
-
Defect 144598 - nlapiSendFax() not handling templates correctly. SUMMARY: nlapiSendFax() doesn't handle HTML in the body of the fax, it sends the raw HTML not the rendered html. Time to make some noise, I bet this is an S3 right now....
-
my excitement was premature. nlapiSendFax() doesn't handle HTML in the body of the fax, it sends the raw HTML not the rendered html. If I send a fax from the UI with an HTML fax template it arrives just fine. When I send a fax using nlapiSendFax with the same template I get the html source. Here is my code (this is testing…
-
Have you contacted support about your problem? I'm about to contact them and was just curious if they have given you any information about the problem yet?
-
man, we have opposite results! I'm getting raw HTML in the body and merged PDFs that look correct. We are setup with eFax as our "integrated fax provider" - who are you using?
-
YEAH!!!!!!! I was misunderstanding the steps and abilities of this method. Looks like it does exactly what I will need for a particular use case. Well done, well done. :D
-
Refer to the SuiteScript Reference Guide, the Search Column section. Search column fields are not always the same as real fields. Hi Olivier, Ah, you are correct! Thanks for the news, albeit not great news for me. It's a bummer, over the past 1.5 years I've been slowly building up these "enums" with field ids... it would…
-
HI Yang, I will enter the case. You are correct, in most cases they do match which is good, but at the same time it's one of those problems that because so many DO match that when you encounter a discrepancy it's not always something that gets checked (because they usually are the same) I'm glad to hear you guys plan on…
-
I thought I'd share my script to work with States. I have created a custom record to model states. Currently it doesn't have anything but the abbreviation (also happens to be the NS Id) and the full name. I may have some future systems that will require additional intelligence in the state records (IE: Timezone, DMEMAC,…
-
Ah.... you are right, I see now. :o Well, that will teach me to shout out something to a large group with out verifying it! NetSuite: Can you delete this post... forever.... please :p
-
If this enhancement would be useful to you, then go ahead and vote for it. There aren't enough requests for this feature yet. I will vote for it, I use states in many, many custom records and this would make things easier. It also seems like it *should* be supported considering the direction NetSuite is headed with…
-
Hi, I may be showing my lack of understanding of bitwise operations, but this seems odd that the following code gives expected results: var a = 'cat'; var b = 'dog'; var c = 'rat'; var result = new Boolean('cat' === a | b | c); alert(result); the above example returns true. Am I still missing something?
-
Right on, Tim, thanks for the info. At least I know it's not supported so I can move on with another solution. Now that we have SuiteLets and all the great things we can do with them.... the states and countries are going to need to be supported quick! :o