My Stuff
Comments
-
sig, have you tried using server-side code for this?
-
hi bill, it's a custom record form
-
thanks corey - looks useful, however i'd like to achieve this using custom forms and a single record type if possible - easier to set up and manage...
-
thanks for the tip yang - beforeLoad does the job ben
-
You can get the user's IP from request.getHeader('NS-Client-IP') in a server-side script -ben
-
The internal Id is required in order for the encoded reply to email address to generate. Hello Lorne, Netsuite... Did something change within the last 12 months here? We used to use nlapiSendEmail to send a message to the contact on a case when the case was closed. If the contact replied to that message, the reply was…
-
Many thanks Voltron - i'm getting my two cases attached to this now
-
hi yang, i can read it but there are two issues (client script) 1. when creating an invoice with billable time, it seems that the subtotal is now updated after the page init script has run. Previously, the pageinit script was able to read the value of the billable time from the subtotal field. 2. the field changed event…
-
many thanks - that was it @yang: ignorance and laziness. your system is dangerously easy to customise ;) -ben
-
This is as designed. When transferring files from Eclipse to NetSuite using the NetSuite add-on, files are automatically placed into a subfolder of the SuiteScripts directory based on the Eclipse project name. This does not cause a problem though. SuiteScripts in subfolders are usable as if they were at the top level…
-
Hi, I'm having a similar problem with Eclipse uploading my suitescript files to a sub-folder of the SuiteScripts folder rather than directly into it i followed the instructions in "Importing Existing SuiteScript Files into Eclipse", importing them into a project called "NetSuite" and now eclipse is uploading the files to…
-
steve - yes, known problems, workaround here https://usergroup.netsuite.com/users/showthread.php?t=13751 -ben
-
Is it possible yet to do this - to access the contacts sublist on a project? The resources sublist doesn't help - i want to count and access the customer's contacts that i've attached to a project thanks ben
-
hi, i'm having a similar problem - trying to trigger a script when a case is created from an email - the script doesn't seem to fire. However the script does fire when i update a case by email (replying to the original "case created" email) this is a Message, aftersubmit script. It applies to 'all roles', but could this be…
-
actually i mis-read the reference doc - service items should behave like inventory items so this looks like a bug...
-
hi, following your method works for rounding - as long as i don't try to add urls to a column. the commented-out lines below cause the portlet to hang "refreshing..."... var col = portlet.addColumn('entityid','text', 'Project', 'LEFT'); //col.setURL(nlapiResolveURL('RECORD','job')); //col.addParamToURL('id','id', true);…
-
hi, i've tried var col = portlet.addColumn('entityid','text', 'Project', 'LEFT'); col.setURL(nlapiResolveURL('RECORD','job')); col.addParamToURL('id','internalid', true); ... returncols[10] = new nlobjSearchColumn('internalid'); which hangs (i can't ask for 'id' in nlobjSearchColumn as this isn't available) i'm a bit lost…
-
good, thanks
-
thanks yang - i see how to go now
-
doh! thanks
-
yang, thanks for your many prompt replies today hidden fields - i looked in the Help but couldn't see how to set these with (for instance) nlobjForm.addField. (I want to use the SuiteScript UI, not custom HTML) -ben
-
that works now - many thanks yang!
-
otherprices is accepted as the search column var filters = new Array(); filters[0] = new nlobjSearchFilter('internalid', null, 'anyof', itemId,null); var result = nlapiSearchRecord('serviceitem', null, filters, new nlobjSearchColumn('otherprices')) but i can't get the various price columns out of the result - i've tried…
-
thanks yang - that was the trick, but unfortunately changing the 'price' field doesn't seem to update the 'rate' field is there any way to access the various prices for a serviceitem with server script? for instance, given the id of the price level and the id of the service item, can i get the $ amount? thanks ben
-
thanks yang - can you show me the syntax for getting the price level column? var filters = new Array(); filters[0] = new nlobjSearchFilter('internalid', null, 'anyof', itemId,null); var result = nlapiSearchRecord('serviceitem', null, filters, new nlobjSearchColumn('price')) result[0].getId() returns the service item's id,…
-
bumping... yang...?
-
scott, i haven't used web orders but i know that on invoices you can't see the porate field - maybe something like that is happening to web SOs. try looking up from the item record itself: nlapiLookupField('inventoryitem', record.getLineItemValue('item','item',i), 'cost', null) or nlapiLookupField('noninventoryitem',…
-
yang, just to be clear: CURRENTLY results[i].getText() returns null results[i].getValue() returns the field label as set on the custom record entry form IDEALLY results[i].getText() returns the field label as set on the actual entry form UI results[i].getValue() returns the technical fieldname does that make sense? ben
-
so is an inventoryitem record a transaction record? the field is certainly a body field and not a machine field.
-
thanks evan. i can retrieve the notes (i get the right number of lines in the search results) but i can't extract any actual field data - filters[0] = new nlobjSearchFilter('internalid',null,'anyof',record.getId()); columns[0] = new nlobjSearchColumn('type','systemnotes') columns[1] = new…