My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Comments
-
Only ids are supported. You can submit an enhancement to include names as placeholders.
-
You can consider using the File Drag and Drop suiteapp. It allows you to specify the target folder globally or per record type. You can also use folder patterns. For example, \HR Documents\Subsidiary{subsidiaryId}\Department{departmentId}\Record{recordId} translates to \HR Documents\Subsidiary4\Department8\Record22
-
Based on my testing, adding 10 select fields does not affect load time. The performance will be substantial when performing nlapiSearchRecord() and you are including those columns.
-
If you have the source codes, you can use IDEs (like the SuiteCloud IDE) to search the contents of the javascript files.
-
ExtJs 3.4 is built-in into NetSuite so you just call it from client scripts
-
You can create a front-end suitelet that can be re-used on both the portlet and record page. You embed the iframe (which contains the suitelet) by dynamically adding an inlinehtml field.
-
Is the delay due to sourcing? If yes, when calling nlapiSetFieldValue(), set the synchronous parameter to true
-
You can get the fields of suitelets or any other script by running a search on "script" record type. Example: nlapiSearchRecord('script', null, null, [new nlobjSearchColumn('scriptid')])
-
Scheduled scripts run as admin so the script will have access to the item record and fields.
-
I am not sure if you can use the URL directly but you can do it like this. // create the file first // get the file content given the image URL var contents = nlapiRequestURL('http://test.com/test.jpg'); var file = nlapiCreateFile('test.jpg', 'JPGIMAGE', contents); file.setFolder(-4) var fileId = nlapiSubmitFile(file); var…
-
If the search formula already works in the UI, one option is to load the search via nlapiLoadSearch(). As for the code above, you need to use filter expressions (instead of nlobjSearchObject) so that var filters1 = []; filters1.push(new nlobjSearchFilter('type', null, 'anyof','CustInvc')); filters1.push(new…
-
You do something like this: var filter1 = [['column1', 'is', 'abc'], 'and', ['column2', 'is', 'def']]; var filter2 = ['column3', 'is', 'xyz']; var filters = [filters1, 'or', filter2];
-
You can leave it empty and you can still save the form.
-
Thanks for the correction. I fixed the code.
-
Try this: <span style="font-size:'12px'"><span style="font-family:'courier new'">// on the after submit user event of the customer record var customerId = nlapGetNewRecord().getId(); var parentDateModified = nlapGetNewRecord().getValue('lastmodifieddate'); var results = nlapiSearchRecord('contact', null, [ 'entityid',…
-
Email Capture Plugin together with the new parameter "replyTo" of nlapiSendEmail() can handle this. The plugin will provide you with a unique email address that you can pass as a parameter to replyTo.
-
In client script, you can use window.location.host
-
You can use Ext.Msg which is already built-in into NetSuite. Example: Ext.Msg.alert('title here', 'message here');
-
I think the limit is per user login. "RESTlets can support up to 50 concurrent connections from a single user login. (Note that any concurrent Suitelet connections also count toward this limit. ) If more than 50 concurrent connections are made, an HTTP error code of 500 is returned, and an ExceededRequestLimitFault is…
-
This solution requires creating a custom record with 1) a select field with scripted record type as list 2) a text field that sources the script id from the 1st field. In code, create a new record passing {recordmode: 'dynamic'} (without saving) and set the the numeric internal id then get the script id from the sourced…
-
You might want to look at nlapiRequestURL() Okay. But from suitescript (clientside scripting) is it possible to achieve? Thanks. Regards, Shrinivas
-
I tried that before I think, but just to be sure, I did it just now. Nope, it says it's undefined. You might need to submit another search replacing the current saved search columns with: var columns = [new nlobjSearchColumn('internalid', null, 'count')];
-
That should work. Set the session variable in POST submit and retrieve it in the GET request.
-
You need to pass the headers parameter: var headers = new Array(); headers['Content-Type'] = "application/x-www-form-urlencoded; charset=UTF-8" ; var response = nlapiRequestURL(soapURL, POSTData, headers );
-
In order to upload a local file to the File Cabinet, you need to write a desktop program (for example .NET Forms). You then use web services to upload the files to the file cabinet.
-
Are you trying to the list via suitescript?
-
Yes, you can append the information in the URL or save the company id in the session object. You might also try looking at the nlobjAssistant as this was designed for this purpose.
-
Users are not able to see older posts by other user's if they start to follow a record later. Do you have to follow a record to see posts on a record? If everyone has access to a customer record and they can select the SuiteSocial tab, shouldn't you be able to see all posts? Is there another setting or role setup that I…
-
I am trying to create different subscription types but it seems that when I try to use a custom field to be tracked there is a limit to the number of custom fields that I have on my list. There should be no limit to the number of custom fields to be tracked. File a case so that we can investigate.
-
Please file a case so that we can investigate. Every time that I add Invoice as one of the 'enabled' SuiteSocial records I produce an error on that set-up page or yield the following error upon completion: Notice This request is missing a required parameter. This seems like a NetSuite error. I also get the same error…