My Stuff
Comments
-
Thanks Marty, Yep we went with this approach as well, Support also pointed me to Suiteanswers were they suggest using a beforeLoad script to dynamically create form fields which also works. In saying all this I raised a number of cases, and I believe customer is now exposed although I haven't had a chance to check yet.
-
Not a nice solution but you could: 1) Hide the memo field 2) Create a custom textarea field and place it where you would like 3) Copy the contents of the custom textarea field into the memo field via script (client or userevent) or / workflow
-
You can also use Pivot Reports, have a look at "Building a Pivot Report Using SuiteScript" in the help. This is a really useful and largely under used piece of suitescript functionality. The only downside is its not possible to specify user editable filters.
-
In the first instance I would see if you can restructure your validation logic to trigger in an another way (other than from the buttons), and if possible add the Approve and Reject validation to the Save Record client script handler. If I have understood correctly I think you are asking is whether you can use client…
-
It is possible to do this via client side workflow but as far as I know there isn't a supported client side API to do this. I believe the client side workflow generates a script call to nlapiSetFieldMandatory("custpage_employee",true) which changes the label to display the * next to the field, but it doesn't apply business…
-
Interesting ;) this looks to be a subset of variables that are initialized in page_init() client side. I would guess this must be intentional as they would have to initialise the window object, and its part of efforts to unify the implementation of client and server apis. function page_init() { window.pageinitstart = new…
-
Eeek indeed :) yes this is standard NS functionality would be good for some NetSuite guidance on this.
-
Just to add some clarity; Tasklinks are generally used to reference urls' of pages that aren't referenceable as a RECORD, SUITELET or RESTLET using nlapiResolveURL. In your example nlapiResolveURL('TASKLINK','EDIT_TRAN_CUSTDEP') can be interchanged with nlapiResolveURL('RECORD','customerdeposit',null,'EDIT'). I believe…
-
Hi Brad, The reason its not working is the two values are compared as strings which will compare them alphanumerically, easy fix you need to do the following: var tranDateStr = nlapiGetFieldValue('trandate'); var tranDate = nlapiStringToDate(tranDateStr); var compareDate = new Date(2014,4,9); if(tranDate > compareDate)…
-
Hi assuming all the coding is correct, its possible the issue is in the order in which the scripts are executed. Have a look at Customization > Scripting > Scripted Records. If you load the sales order record in edit mode you will see instructions on specifying the order the scripts run.
-
Would be good to see the error message you are getting but a couple of points: 1) there seems to be a space in the field name on this line transferOrder.setFieldValue('custbody_originating_ sales_order', orderId) although I don't think this would be your issue unless its a mandatory field. 2) if you are just inserting new…
-
Hi you should raise this error to support as its coming from the underlying javascript engine, are you 100% sure there are no differences between your production and sandbox account (different features enabled). Have you tried diagnosing the issue? adding comments to see how far the restlet script proceeds, confirming…
-
Hi Jack, probably the easiest thing to do would be to use the restlet to receive the requests and save the data into a custom record. Then have a scheduled script that you can invoke using nlapiScheduleScript to process the request custom records to fulfill the sales orders. The scheduled script won't run in parallel if…
-
Hi, I am surprised this works at all as you are defining a head tag within the body of the page, I am guessing the browser is being nice and trying to working things out. Depending on what you are trying to do you may be better off just defining the css on the tags you want alter. So for your introduction I would suggest…
-
Hi Pier, this sounds like something specific in your script, so you may need to share some of the code. In the first instance I would suggest double checking that your restlet isn't being called twice (a simple nlapiLogExecution as the script is entered), next I would check that you don't have user event code running on…
-
If you load a record in dynamic mode you can use getSelectOptions to get the internalid in the label of each custom form. That should give you the information you need. var recordId = 1; var rec = nlapiLoadRecord("customrecord_example",recordId,{recordmode: 'dynamic'}); var formOptArr =…
-
The error message seems to suggests its an issue with the columns from the loaded search rather than the getColumns call. I would suggest loading the search in the debugger and reviewing the "search" variable seeming if there is anything strange there. Just from the text it looks like its not happy with a…
-
As Oliver has pointed out you can't create a new user note from the employee record, its not an editable sublist. The user note is a record in its own right, and is loosely associated to the record by setting the recordTypeId and the internalid of the record you wish to associate to. The example below shows you how this…
-
My only suggestion would be to try using 'anyof' instead of 'is' whilst I believe 'is' works 'anyof' gives you more flexibility. for the logic you have outlined you could just use 'noneof' instead of the negation to give the result set you are looking for
-
Okay so its not reaching your suitelet; which explains why its not logged anything, and I believe the parameters you have supplied are complete and presumably correct. So firstly just to confirm you have exposed the suitelet as "available without login" (I am assuming it is as you are referencing the forms URL) otherwise…
-
Can you post a code snippet? are you using addTab and placing your sublist within it?
-
My guess would be something to do with the user the script is running as. When you are creating the support case through the debugger the script is running as your user. I am guessing your suitelet is running as "available without login" and as such is running as the special "system" user, and that user can't be set on one…
-
You can have a look at the documentation http://bfo.com/products/report/docs/tags/ The documentation says: The width and height of the barcode on the page are determined by the value of the code, the codetype attribute and the bar-width. The height is dependent on the width, and whether the showtext attribute is set. The…
-
Okay so your suitelet you included in your initial post is building up a string into the variable strName, and within that string is the html that is interpreted by BFO to generate the PDF output. The particular line in question you need to look at is here: // original line from code strName = strName + "<td…
-
I think your workflow logic might be out. You seem to indicate that you are running this logic in the beforeLoad, so I think what is happening is: 1. Before Load is called: at this point the data to display on the form has already been loaded from the record. 2. Initialise a variable object lRDeductor by loading the record…
-
Hi Aaron, Firstly I don't believe you are doing anything incorrectly and would suggest you raise a support case. I have also seen similar results to you with a test set of 25,000 and have not yet adopted the getResults approach, and instead used the internalidnumber as a filter. My expectation for using getResults, was…
-
I think you probably need to experiment with attributes and see what you find. From the documentation, it seems to inherit a lot of the image attributes here is the direct link With a lot of the BFO library its a case of experimenting with attributes; we had a lot of fun recreating UK payroll tax documents such as the P45
-
To quote the most recent available restlet guide 2013.2 page 10 Heading Restlets Compared to SuiteTalk Supported Concurrency: up to 50 (combined with Suitelets), no special license required
-
I would appreciate some clarity around this point as well, many past design decisions are based on the benefits of a lightweight interface and the available concurrency.
-
Just as a thought what is your use case for wanting to do this? the only scenario I can see where you would want to do this if you are using a scheduled script to call a third party suitelet that returns data from code that you don't have access to include in your scheduled script. Just to recap a couple of things: 1)…