My Stuff
Comments
-
I didn't realize there was a context menu on the document, I had always used the one invoked from the Package Explorer. Mystery solved! Thanks for the extra info.
-
I just called getRemainingInstructions() from a scheduled script: var ctx=nlapiGetContext(); return (ctx.getRemainingUsage()<50 || ctx.getRemainingInstructions()<100); and got: TypeError: Cannot find function getRemainingInstructions Is this function not available yet? You now want to use…
-
The only one I know of is CTRL-Shift-Semicolon for Save&Upload Awesome! That's the one I wanted. Thanks! I tried to figure out where you learned about that and I checked the help to see if it was right there in front of my face. It..... sorta is?... there is a screen shot where I see Save and Upload Ctrl+Shift+; however IN…
-
You're a funny man Steve, funny indeed... I suppose we all have our moments, right? :p
-
Yes, this is what you get with a Record is Parent setup. You can also set this up with the UI API I think but I'm not sure. On your child record add a field for the parent and set the Record is Parent option. Also check the Allow List Editing (or something like that). Then on the parent record you should be able to add…
-
Hmph! That was simple. Thanks Yang! startcol - This starts a new column (also disables automatic field balancing if set for any field) startrow - For outside fields, this places the field on a new row Would anyone reading this argue that the exact opposite appears to be true? The reality is that startcol did NOT start a…
-
Thanks Oliver and Yang.
-
This is the kind of crap that happens: // We only want to process pos that are pending receipt or // partially received // Note: I'm getting this field from the record rather than a search // to keep the code consistent and easier to understand. NetSuite // returns an entirely different set of values for status when loaded…
-
case# 866064 Defect 162781
-
Good lord! Searches return what appears to be enum values, e.g. 'pendingReceipt' Netsuite, why would you return different values for a search then you would from a regular record load? Do you have any idea how confusing and error prone all these variations are? [LIST] [*]transaction search filter for Status is 'status'…
-
Oh good, that is good news Yang. I thought that was the case, but after the feedback from CS and QA I thought maybe it was a bug fix. I just received the update notification on the issue, you aren't working on it right now are you? :p
-
Steve - looks like you self-resolved? sorta..., QA came back with a clue that ended up panning out. In the meantime I had removed the offending code (which was workaround code for another defect) and everything seemed to work. In case anyone is wondering, the problem was that the default customer form had the Type…
-
I had to create 200 deployments of a scheduled script so I could accomplish what you want to do.
-
Yes, absolutely that is the correct way to handle overflow. I should have been more clear; my use case is for a poor-mans deferred User Event processing of web services operations. We have a client application here that makes HEAVY use of web services for task level operations. The execution of SuiteScript brings…
-
check out: nlobjList.addButton() add some code to handle the click event and load a SuiteLet. In the SuiteLet you will execute the same search you used to build your list, then iterate through the results creating csv data structure and then serve it to the user. Don't forget to double quote quoted values. var data = [];…
-
If I understand your requirement correctly this can be done easily. You would want to deploy a User Event script and handle the BeforeSubmit event. In this event you will have access to the new (potentially changed) record (including lines) and the old (before the submit) record. Given these two pieces of data you compare…
-
Bud, You need to "serve up" the merged result. You accomplish this by writing to the response object. What you write to the response is what will be returned to the requester which in your case is your client code requesting the SuiteLet URL. SO... in your SuiteLet entry method you will have a nlobjResponse and…
-
OK, I did your test. FF shows the alert, IE does not and throws the exact same error. Now, my library file has thousands of lines of code, so tonight, when all users are off the system I will rip it down to the single object in question and see what I get. I will post results later.
-
You cannot call nlapiScheduleScript from client code. To solve your problem we need more information. Where are you loading the data from? An external service or from NetSuite? If it's NetSuite can you break the search up into different sections using filters and load the data in several requests?
-
Thanks for the info Dinko- It sounds like rather than actually disabling fields at the line level you are disabling the entire column (or enabling) when the user edits a line. Is that correct? Does this result in a "flashing" toggle of the crosshatch disabled background? Maybe I haven't correctly interpreted your solution?
-
Support for nlapiGetFieldText(...) and nlapiGetLineItemText(...) in Server SuiteScript is coming in the v2009.1 release. Ditto for nlobjRecord.getFieldText(...) and nlobjRecord.getLineItemText(...). YEAH! WooHoo!
-
I appreciate the explanation instead of the irritating "show me how to do it, i need it ASAP" ;) You already have most of the work done. Change your current code: var emailBody = nlapiMergeRecord(emailTemplateID,'contact',contact_id).getValue(); nlapiSendEmail(senderID,emailTo,emailSubject,emailBody); To this: var…
-
Thanks for the update, good to know! Totally inconsistent and illogical behavior, but still good to know. :p
-
What you should do ( ;) ) is keep the language in the name, consistently enclosed in a specific character (e.g. '(' ')' ) then you can remove that from the string before applying as the subject. This way you can still identify them easily from the UI.
-
So, my question is.. can i get the Subject from the email template as well, so that I don't have to hard-code it in my SuiteScript .js file? In this case, nlobjFile.getName() is your friend!
-
No there isn't but this is something we are considering (among other enhancement requests) for a future release. Please contact support to vote for this enhancement in order to get it prioritized higher. I can't wait for this, it will feel so nice to get things organized. In the meantime, here is the ER info: 124410…
-
Hi Kate. Can you post an example how to use Custom HTML and Suitescript UI objects in suitelets? I think maybe you are hoping you can mix nl ui objects WITHIN html? If so, it's not possible. Would be really nice if it was though.…
-
https://usergroup.netsuite.com/users/showthread.php?t=13357&highlight=getTab
-
Hi Yang, I know I personally think of a SuiteLet in several ways, one of which is a UI element. For example, I have a set of "controls" which I also refer to as "SuiteLets" - these are reusable bits of presentation code based around the NS UI api objects. For example I have a PhysicianViewPart, MedicalInfoPart,…
-
Good lord... Here is my solution if you are interested. I couldn't decide which implementation I liked better so I left them both in there. Let me know which style you like, I'm curious. PMDUtils.GetEntityTypeFromEntityStatus = function PMDUtils_getEntityTypeFromEntityStatus(statusId) { Guard.NotNullOrEmpty(statusId, 'A…