My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Comments
-
So until the 2007 beta, i'm pretty much out of luck? Or is there a different approach/script we can try? My hope was that i could implement a script that would, when going from estimate->order, would copy the estimate number into a custom field. Is it possible to run a script like that?
-
Any idea what the script would look like for that? I ususally have to steak developer time to get that sort of thing but if its jsut a few lines maybe you can just copy/pase it for me. The request has been logged.
-
Yes. From the estimate we order, then fulfill, then bill/invoice. I need the estimate number on the invoice (so the customer can see referecne teh earlier document). Its odd to me that this isn't a built-in ability...wouldn't most customers who got an estimate want to see a reference to it on their invoice so they can…
-
Thanks Evan. I'll be sure to try this out when we get our beta (July 20 I think) and let you know how it goes.
-
Evan, I followed your instructions, but nothing seems to be happening. The Quote field appears on the invoice as a free-text field, but nothing is being put into the box when i go through from estimate->order->invoice (i am testing this in our sandbox account). The script i created from your code above is listed in the…
-
I believe the script was set to be run when the Estimate is saved or when the order is saved, I can't quite remember. Iain Bennett would be the guy to ask.
-
Hi guys, Iain put some serious effort in on this and was unable to get it to function properly. Here is the code snippet he provided: function beforeLoad2(type) { var so_id = nlapiGetFieldValue('createdfrom'); if ( so_id != null ) { var quote_id = nlapiLookupField('estimate',so_id,'tranid');…
-
How would I integrate this with a postsourcing script that is already running? Here is the current script: function postSourcing(type, name) { var itemRate = nlapiGetCurrentLineItemValue('item', 'rate'); var rateModel = nlapiGetCurrentLineItemValue('item', 'custcol_rate_model'); var floorPrice =…
-
To maybe save some time for you down the road: SimpleDateFormat is actually a class for the Java programming language. Java is entirely different from JavaScript despite the similar names. Thanks for the info John...I was under the impression that, since the structures are mostly the same, that Java things like that could…
-
You can (and should) use the utility method nlapiDateToString() - this will return a formatted date string using the same formatting from your preferences. nlapiDateToString(new Date()); Additionally you can pass a second format specifier argument for some additional formatting options (although you can't specify detailed…