My Stuff
Comments
-
Yeah it's a select field... Who designs a language that doesn't work? Only Latin makes more sense...
-
Hey you know what???? I made it NOT a select field and BANG! It works! Thanks for getting the creative juices flowing Yang
-
Ok... I'm a bit closer with this... <script type="text/javascript" language="javascript"> var s_promocode = nlapiGetFieldValue('promocode'); </script> <p onClick="window.location='http://www.wineboxwarehouse.com.au/?promocode=' + s_promocode">link 2</p> But it is passing the internal id of the promocode into the url…
-
I stopped using internal id's when after our last major upgrade (to 2008.1) our internal id's got shuffled around. Do you know how much work that was? Thanks for your help and follow-up though - most appreciated.
-
Ok, so I've got: // JavaScript Document function set_promocode() { var currentPromocode = nlapiGetFieldValue('promocode'); if ( currentPromocode == null || currentPromocode.length == 0 ) nlapiSetFieldValue('promocode', nlapiGetFieldValue('custentitypromocode')); } and I've attached that script to the sales order entry…
-
This is now balancing precariously on top of my dangerously full 'too hard basket' Thanks anyway... I'll try another avenue.
-
function set_promocode() { if ( nlapiGetFieldValue('promocode') == "" ) nlapiSetFieldValue('promocode', nlapiGetFieldValue('custentitypromocode')) } doesn't seem to work either, no matter where i call "set_promocode" from any ideas?
-
Thanks Yang I'll give that a try tomorrow.
-
scripting bites... when are we just going to be able to tell our computers what we wants them to do? "You there, field a... take what field x says and make it your own" I've had enough of this getvalue setvalue colon comma bracket squiggly bit... grr!
-
care to share?
-
perhaps you could post the script that is causing the problems?
-
Not sure if this is what you mean but... Setup>Customization>Record Types. Then click on "List" on the appropriate Record. That should give you a list of names/internal id's
-
Are you talking about within a website template? Try this: <%=getCurrentAttribute('item','storedisplaythumbnailhtml')%> Or to have a clickable link: <A href="<%=getCurrentAttribute('item','storeurl')%>"><%=getCurrentAttribute('item','storedisplaythumbnailhtml')%></A>
-
Hi Mat, No it is not via templates, I want to view them in suitelet form Oh... you didn't explain... well done on getting it to work though...
-
Nice sales pitch... I'll see how I go on my own first - thanks
-
The help guide refers to downloading and installing eclipse: 1. Download and install Eclipse and the JSEclipse plugin. Go to the following URLs to get the latest version of each. Eclipse Website InterAKT Website (for JSEclipse Plugin) Which version should we be installing? Eclipse Ganymede Packages - Windows (compare…
-
Ok... thanks... but from a non-programmer point of view, which version should we be installing? Surely there is a difference or they wouldn't supply an option.
-
Thanks Yang - appreciate your feedback - cheers!
-
It's great that you always follow through on your experiences Steve - saves all of us the same stuffing around. Nothing worse than searching this forum and finding what you are after, only to find the user has closed their own query with something like - "I have fixed this now, don't worry" - no explanation... nothing.
-
nope! Not a whisker closer.
-
Setup>Customisation>Script Debugger
-
You can create tabs that are restricted by audience
-
not great on scripting but perhaps... var userId = nlapiGetUser(); nlapiSendEmail(userId,etc. etc... If this id not what you are after I apologise for misunderstanding
-
Hi Kate Sorry, I've been away No Purchase Order does not show up. There is no other script associated with it.
-
Thanks Yang Reason I ask is after reading the help topics it tells me all these wonderful things i can do, but it is really vague on how to implement them for someone like me that has never learnt any scripting of any nature. So you say an after submit will work? Great! Say I wanted to cc a Purchase Order once submitted to…
-
Thanks for that Kate I'll test it out and let you know the results asap.
-
edit: I posted this before reading the above post - thanks Kate, I'll see how I go hmm... hasn't seemed to work. I loaded the file in and referenced it in the "Script File" field under the "Custom Code" tab of the Purchase Order form. I clicked "Save & Email" and the vendor received a copy but team@wineboxwarehouse.com.au…
-
Everything is as normal there... Thanks Yang
-
btw I am a very fast learner. All I ever need is someone to baby-step me through once and then... watch out world!
-
I really have no idea what I'm doing... // JavaScript Document function email_team() { nlapiSendEmail( 1, 'team@wineboxwarehouse.com.au', 'Purchase Order Notification', emailBody , null, null, transaction ); }