My Stuff
Comments
-
The only way I have found to use ajax with a restlet is to use it in a mobile app e.g. PhoneGap Build. Otherwise the cross domain restriction keeps you from calling it. The rule of thumb I have come away with is if I have some compiled code I can use restlet, but if I am using client side code I will use a suitelet with…
-
I'll grab the points :) Most of my answers have been left unmarked and/or not voted for. Irritates me, really. I always mark an answer as accepted and give it a vote.
-
I agree that restlet would be the way to go. I have called them from a mobile app and it worked like a charm. The app I was working with was built in HTML and JavaScript (jQuery), so I have that code to share, if you would like. I haven't done it with Xcode, but I know it can be done. A quick search for objective C and…
-
I'm using Studio 3 with no issues. For code completion make sure you have the NS Api inside your project as a standard file. With Studio 2 you had to add a global reference - this is no longer the case with Studio 3. I have found that the standard ctrl+space works, as well as predictive typing for the API as well as custom…
-
Has this changed recently? I had this working back in December and promptly forgot about it until yesterday. The powers that be want to finally release this code and as I go to check the script it is back to looping through all the items and only placing the last one. The firefieldchanged param is set to false and…
-
Got it. I just added a hidden field on the proposal record and set it to true after I added all the items. I only add the items if it is false.
-
Two things : 1. I would trigger the script on recalc so you know that the item has actually been added 2. You will need to set firefieldchanged param to false and synchronous to true to successfully commit your lines You should also consider adding validations to not constantly add the lines when your Convert to Cloud item…
-
nlapiSelectNewLineItem('item'); nlapiSetCurrentLineItemValue('item', 'item', 714, false, true); // Using a dummy description item nlapiSetCurrentLineItemValue('item', 'description', 'New description' + i, false, true); nlapiSetCurrentLineItemValue('item', 'amount', 0, false, true); nlapiCommitLineItem('item'); Worked like…
-
Yep, it was an error all right. User error. I was trying to add line items to a form that didn't have access to those items. Doh.
-
I've opened a support case. I am pretty sure I am experiencing a bug. Unless y'all can spot an error.
-
Thanks. Added my vote.
-
I'd looking to do this also. If anyone has a script they're willing to share, it would be much appreciated. Thanks! Here is the code I use to geocode after save of a customer: function getMapCoords(type) { if(type == 'create' || type == 'edit') { var numberOfAddresses = nlapiGetLineItemCount('addressbook'); for(var i = 1;…
-
Agile Project Management to track Features / Defects and plan iterations for developers I would like to see this as well.
-
Have you tried removing the space outside the table? I don't know if that is why, but I have found trying to do any HTML with NS is touchy. Or, more likely, I am just bad at good HTML :)
-
You have quotes around columns and so it is trying to send a string as the column parameter.
-
I recently created a custom center, as well. I was trying to add the documents tab and was in the middle of recreating it when showed up on my tab bar. I have no idea why it did and I was able to remove the custom one after. Creating the custom center and getting the setup tab on it turned out to not be possible and I have…
-
Does anyone know?
-
Negative. Or, at least I can't find the correct permissions. I actually went through every permission in the role's setup options and enabled it. I might have missed one, though. So, if you can remember the right one/ones....
-
I talked with a support person about it today and got all the way to him being stumped, too. He is checking on it now and will get back to me. You can go to Home -> Set Preferences -> Appearance and click on Use Classic Interface and it will show up (along with all the ones I don't want), but that defeats the whole purpose…
-
I couldn't get that tip from Explore to work for us. Have you tried it with transaction records? May be I messed it up.
-
jobresources Thank you. I was trying 'resources' like it says in the Scriptable Sublists in the help
-
That makes sense and I was looking to do something like that. How do I know what to search on? DO I have access to the opportunity ID? The internal id is in the URL, can I parse that somehow? Or am I over thinking it?
-
Thanks Olivier. You're totally the man. I got it done and I was totally over thinking it :) *edit - I apologize for the misspelling. Fixed
-
The process to add a button in view mode is considerably more complicated. You need a first User event script with beforeLoad to add the button using form.addButton. In the form.addButton you need to specify the function name to call. This function must exist in a client script. The client script must be dynamically…
-
I would love to hear more about this as well. We are looking to do this also.
-
Hi all, This sounds crazy, but I cannot for the life of me figure out how to setup a filter for Opportunities that are either 'In Progress', or 'Issued Estimate'. Sounds simple right? When you do a saved search the criteria is 'Document Status', if you load the record into the debugger its 'documentstatus'. Here's the code…
-
I ended up just using a work around of probability between 1 and 99. Hackish, but works.
-
try this Troy. In this way you will not need a custom field. Create a similar search( same criteria and columns) name it as DrillDown Search.. [DO NOT GROUP THE RESULTS] - make sure to have a Available Filter setup .. eg. Device ID, etc (whatever field that groups the search) in your existing search (the one above) create…
-
I often make use of URL hacking in NS to get what I want. Show Activity in edit mode, for instance. &xml=t is a good trick, as well. I wouldn't have thought of using this as a column in a search to do, in effect, sub queries. Very nice trick.
-
Ok, I am thinking this is not possible without the ability to use loops, but can anyone think of a way to calculate the number of business days (excluding 12 hours a day and weekends) between two dates? I would be using this on two dates on cases.