My Stuff
Comments
-
Any idea what Netsuite is going to propose? I think it makes sense for them to just follow the guidelines outlined above (in Mark's link) and scrub the data it sends in those fields. That is what makes the most sense in my eyes. Why should we, who again aren't even aware of which fields are being sent to Cybersource, have…
-
We also use BarTender, although Nelliott seems to say that you can do it native now in Netsuite!
-
Wouldn't this be a great application of using a JSON construct on the item record and displaying that in your webstore? I can't find any documentation or others that are doing this, but with SCA (SuiteCommerce Advanced) I would imagine this is simple... This is the last post I can find regarding this sort of…
-
This is so useful, and cool. Is this documented anywhere at all? How about for location information - ie Quantity on Hand for a specific Inventory Location (Location on Hand)? Currently, we have to jump through hoops to try to get that info on the search... or filter by Inventory Location. But, if there were a way to…
-
Thanks. So, I am not fully understanding the suggestion, but the preference does not do the trick on custom fields on a Suitelet. I have dropdowns with literally thousands of options within; and the maximum for that preference is supposedly 500. I've played with this and this does not work, no. In regards to the two…
-
Thanks, David. I figured we could do something like that, but that would mean pulling in the ID and storing in a hidden field, while showing the text in the displayed input field. I'm just wondering, why is it not built in just like any native dropdown according to the preference set on my user account?
-
I was working on a custom sublist in a Suitelet
-
How can we do this in 1.0 safely - ie an older script that needs to be updated to remove references to domains... I would like to incorporate this somehow into that 1.0 script. Should I be feeding the info into the UE script via a client side 2.0 script that calls url.resolveDomain? Thoughts?
-
chanarbon What's the recommended way to accomplish getting the appropriate data center url? (In a User Event script, not web service)
-
So, I am not understanding something here. In 2.0 there is no equivalent to nlapiInsertOptions or nlapiRemoveOptions - as is evident in the map from 1.0 to 2.0. How would I accomplish something like this in 2.0 on the client? //Add the department/proj field var deptProjField = itemSublist.addField({ id: 'dept', type:…
-
FYI, there is a reference to the subsidiary in the code (values: 9). I am trying to force the user to select the sub, and then update a few fields based on that selection, including the department, as illustrated above. The code itself works in the Suitelet, but I need it to happen on the client side... Thanks!
-
...and just like that, now it works. I had used the Eclipse to build the template for me to use and that seems to have caused the scripts to fail. Must have been because I had all of the methods / script execution types declared but not really defined (none of them had any body, so many return trues were missing). Thanks…
-
I had tried something like that, but it seems like Netsuite doesn't like it for some reason. I now noticed after looking at it that although nothing was firing (no console.log), there was something different about the page. When I loaded the Suitelet without the client script referenced, I was able to select the options…
-
This definitely works, I can confirm. HOWEVER, it does not work on a new line. . . only on existing lines. I suspect that is because the call to getSublistField does not return anything for a new line. I cannot believe that there is no mapped 2.0 API for this... how about simply locking down the amount field so that…
-
Quite useful, yes!
-
I had the following code (which is almost identical to yours). Please note, I am in a custom button press event, not on change of a field. I am sourcing the scriptContext to a variable on page init: //Loop through the sublist for (var i = 0; i < lines; i++) { console.log('selecting line'); currentRecord.selectLine({…
-
Any resolution to this?
-
Sorry, two different causes for two very basic mistakes. I wasn't referencing the line properly in my code pasted above. Should just read: i (not lines[i])! The other error was related to one of the functions that wasn't validating on the field, which didn't affect checkboxes - only the textarea. Sorry! All is good now~
-
My issue is that this is a static LIST type of sublist, so selectLine does not seem to be working. The funny part of it is that the built-in Mark All buttons (addMarkAllButtons()) actually call a routine that does this in 1.0 using "nlapiSelectLineItem" - which doesn't seem to work with 2.0 in this situation on LIST type…
-
In the end, I found that there is a sublist called 'submachine' that houses the Subsidiary information. Hope this helps.
-
I am wondering the same thing. Did you ever figure this out? Anyone?
-
How about accessing scriptContext or currentRecord via the Client script in View mode? It seems like they are only available in Edit or other contexts...
-
I meant to include in my initial post: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4637585044.html The first link you provided contains this in the table "CurrentRecord Object Members" CurrentRecord.getField(options)record.Field
-
Thanks, Robert - just came across that Help topic! Sorry for the bother and thanks for the instructions.
-
I seemed to get it working with a Post Sourcing function as opposed to a Field Changed event. Thanks, Olivier! (Any ideas why the documentation seems to limit this simply to PageInit events, though?)
-
Funny, the documentation steered me wrong, here. Olivier, see below: From the latest SuiteScript Reference Guide: For client-side scripting, this API can be triggered by a PageInit client event trigger Earlier versions were more direct: For client-side scripting, this API can be triggered by a PageInit client event…
-
Not possible at all? Can't you just pull up the documents attached to one of the projects, and then reattach them to the other project? Then, you can deactivate the one you no longer wish to keep. No? This can all be scripted, no?
-
saenzmariano You never told me this trick! I need to try this, although like I told kcng I'll be uploading to 2017.1 sooner than later. Thanks
-
We had a similar issue and couldn't get the pdfset working in our own trials with pdf tags containing a src attribute. I just posted about it here: https://usergroup.netsuite.com/users/forum/platform-areas/customization/bfo/383035-advanced-pdf-merged-with-pdf-in-file-cabinet In code (SuiteScript 2.0) it works - we can…
-
The real question is, Freemarker syntax aside, why in the world Netsuite would be assigning booleans strings and vice versa, inconsistently! The same was true with our account(s) after looking further, even within Production or Sandbox respectively, some records posed an issue, others not. I opened a case with Netsuite...…