Mi contenido
Comentarios
-
Try nlapiGetMatrixField('price', 'price', 1) and use the getName method on the return field object. Thanks Caroline, but using this would not access the name of each price level (actually using nlapiGetLineItemField). It only returns the "header" naem "pricelevel". Thanks for your reply however.
-
I know hiding is your preferred but certainly can disable/enable the column in both user event and client side if that helps.
-
Try getting value of "pricelevelname". nlapiGetLineItemValue('price','pricelevelname',1) Nope. Returns null.
-
Thanks for the input. I also would find it useful for various custom centers we create where the roles tend to evolve over time and having the 'role center' makes that a bit more convenient. Any others? That's a bit of a security hole since a new role would automatically be included. I agree, but no more so than currently…
-
Not sure I am totally following, but to use nlapiSetCurrentLineItemValue you need to be sure you are actually on a line item to begin with. Typically this occurs under three events: 1. A UI click into the specific line item that fires a line init event (or a field changed event on the line). 2. Using…
-
...you cannot call nlapiCommitLineItem until the server call for the item information has completed. The only way to know that the server call is complete is to create a post-sourcing function that sets a flag. Or set the synchronous flag on nlapiSetCurrentLineItemValue to true which should wait for all processing before…
-
FYI. Defect # 258233 - SuiteScript > nlapiRequestURLWithCredentials does not decrypt the GUID on postdata SUMMARY: Using nlapiRequestURLWithCredentials does not decrypt the postdata parameter, thus resulting to a failed login. Alternate Solution: None Your defect has been prioritized as an S2.
-
Hi Ray, Yes, I saw the notice today as well. I need to go back and look at this because I'm not sure this covers the actual issue (trying to use a credential in an XML POST content rather than in the URL itself), but I do remember dealing with a few other issues, one being trying to send over HTTP versus HTTPS (primarily…
-
Hi Ray, Your setup looks correct and should work. Not sure why it would not work. This is a stretch for sure but try adding a timestamp to the parameters to reduce the chance of any caching or some other odd happening with the request. For what it's worth, I've had two different attempts that have failed for me. 1. I…
-
Hi Ray, Yes, I saw the notice today as well. I need to go back and look at this because I'm not sure this covers the actual issue (trying to use a credential in an XML POST content rather than in the URL itself), but I do remember dealing with a few other issues, one being trying to send over HTTP versus HTTPS (primarily…
-
does anyone know if there are size limits on the session objects and if there is a limit on how many objects one can use? Not aware of any size limit, though speed/performance will for sure dictate the size/efficiency of the object. If talking about class objects, I tend to compress objects to their properties and values…
-
I hate namespaces.... Try: var theID = nlapiSelectNode(xmls, ".//*[local-name()='IdToReturn']"); Will find the node using it's non-namespaced name -- unless you have multiple namespaces with the same node name then this won't work that well.
-
Yes, just saw this as well. NetSuite documentation folks: the online docs do not show nlobjContext.getSetting and nlobjContext.setSetting as deprecated but the API Reference marks them both as deprecated (2010.01 which AFAIK is the latest version of the reference)... Can someone from NetSuite comment on this? Are these…
-
nlapiLogExecution works fine if you set your SCO script up as a deployed script rather than a form level script. OK, I presume you mean set up as a client global script and identify my client-side functions here? If so, I did that and even set audience to all still nothing works (Note: customers are not logged in at this…
-
Very helpful Brett, thank-you. Perhaps we need to start a "documentation" thread here that user's can provide actual examples since the NS documentation in this case is so limited and convoluted. Your one example explained more in 45 seconds than I've derived thus far from reading the help over and over and over... Best.…
-
Fully and completely agree. Been doing this a long time and scriptable cart is the most backward, illogical and complicated approach to scripting. It completely flies in the face of the logic for scripting anywhere else in NetSuite and IMO is a pure hack that is virtually unuseable. So, the client runs on the server-side?…
-
In view mode, I do switch the field to an inline with img tag and display the URL (another pain about files is that I can't source in the URL and I either need to do AJAX on client side or wait until server side to load the file and get the URL -- another topic). What's odd is that I can type ahead and it will pop up a…en Why image type not supported for nlobjForm.addField? Comentario por censys_sl Oct 26, 2011 9:42AM
-
Hi John, I did think of that and tried fieldGroup_1 and even fieldGroup_-1 and that didn't work. I'll try the whole thing with fg_ just to see but not holding my breath. It appears, unless I am missing something, that 2011.1 failed to fix this serious issue. For example, performing a nlobjForm.insertField method should be…
-
OK, that did it. Thanks Brett for reminding me of the order when in dynamic mode. For those who may run into this in the future: If you use nlapiLoadRecord or nlapiCreateRecord AND set the initialization to recordmode=dynamic, setting an addressbook line, the state field must be set after first setting 'country' AND after…
-
Hmmm, good point. For the one that works when I set displaystate and dropdownstate, yes, I am setting country prior to state. For the one that times out, no, I am setting based on a pre-defined array of fields, so I'll update this list to do country first and maybe at least get it to work. However, I'm still at wits end on…
-
Very sure the value is there... I not new to this API or setting this field. Have done it successfully numerous times. The only thing with this that may be different than before is that I am performing this from a client-side context. It's happening in two client's accounts so far. In one of the accounts, in addition to…
-
I'm doing that. Doesn't set. When I go into the customer record and look at the address line everything is set except the state -- it's empty.
-
I have to chime in as well having a whole bunch of clients who use custom on-the-fly fields in forms. This breaks everything on new forms. Forces the client to either stay on the old forms or remove all field groups from the forms when they upgrade. This was not well thought out at all! There are two Defects (one…
-
1) insertField does not work as specified. Try inserting a custpage field in front of another existing field that has a field group. It does NOT insert in front of it. Defect! Status: Open - Resolution TBD Case: 1263464; Defect 192367 S3 : nlobjForm.insertField does not insert field as expected.
-
Hi, changing to nlapiGetLineItemText() gives me "United States"...how do I get _unitedStates from client script code? Thanks! Ricardo. Well, FWIW, you could apply a set of expressions to the text value to convert it to the desired web service enum. It appears all they do is lower case the first letter and then wipe out any…
-
Apologies if I haven't understood your post and am answering a question you haven't asked... Can adding the field "Partner" to the "Available filters" tab and checking "Show in footer" give you what you are after? No, it's a little more complicated than that. We are actually assigning Partners to employees, so we want the…
-
Yuck. Solution due today, so will file an issue but isn't what I was hoping to hear... Case 1173071
-
To update for anyone else seeing this. Turns out that the new initialize values parameter with the record mode of dynamic is causing the problem. nlapiCreateRecord('opportunity',{recordmode:'dynamic'}); If you remove recordmode (specifically remove dynamic or UI-based sourcing), it seems to solve the issue. This stinks in…
-
to add to this major frustration, I just tried to do a search using nlapiSearchRecord on roles (recordtype = role). Can't do it. 'Role' is invalid. OK, then why can I do a saved search on Roles with no problem. Better yet, I have the ID of the saved search so maybe apply that. But wait, you need the record type to even run…
-
Just curious, why are you calling toString() in: vals.push((opts[i].getId()).toString() Old habit adopted as a result of doing searches when setting filters on list/record fields where the array of values (e.g 'anyof' array of IDs) often failed unless they were strings...