My Stuff
Comments
-
No supported way. But you can create an inline HTML field with a default value as follows: <style>div.uir-record-status { visibility:hidden; } </style> Make sure to go back into the field definition and uncheck the formula checkbox. NetSuite will detect the braces and misidentify the value as a SQL formula when…
-
Vendor bills are missing the summary box as well
-
I've the need to capture and display the TAX RATE, which is auto applied at each line level in an invoice form, and is displayed at each line level in the invoice report from "item.taxrate1" -- I need to then display it in the report summary, concatenated against a label. Example: Total TVA 8% ... $100.00. The issue is…
-
If this can't be accomplished via configuration, you could always create the drop-down and populate the options dynamically in the before load user event script.
-
True, if you need to change drop-down options without reloading the page, you could iframe a suitelet with the drop-down in an inlinehtml field. Or just use your own HTML in the inlinehtml field. Getting pretty complex for something that should be simple...
-
If you don't want the field to be inherited, then create separate fields: custbody_ret_auth_field_name that you apply to return authorizations custbody_sales_ord_field_name that you apply to sales orders etc.
-
I am trying to add a message to our sales order for suing a custom inlineHTML field. I am testing is a customer has "term" or not. If the customer does not have terms then I need to remind the sales team to ask for payment. I have tried using the following script: <script language='JavaScript'>if…
-
No worries, it can be tough to learn, but you'll be better for it! In the screenshot in your first post, you'll see a column for function. That function name has to reference a JavaScript function in the global scope of a client script that has been deployed to the record type you're working with. Inside that client…
-
SORD is just the prefix for the filename that NetSuite used, it's inconsequential. Yes, Suitelet scripts are editable. Obviously I'd recommend that any development be done in a sandbox. But if a sandbox is out of your budget, then be very careful :-)
-
Forgive me if these are obvious, but have you made sure that the customer you selected has contacts that are not inactive and that the customer record is selected in the company field on those contacts?
-
Honestly, based on your level of experience it sounds like you will most likely need to hire a consultant to help you out. Yes, your template needs to reference each field that is on the record - how else would the template know where to place the fields :-) But your template does not have to and really should not be…
-
For your first attempt at JavaScript development, this is a good try! There are a handful of script errors in the sample above that you'll need to correct: [LIST=1] [*]The variable custrecord_project_summary is never declared. If your goal is to look that field up from a record in NetSuite, then you need to use the search…
-
I'd most likely have the Print button link to a suitelet URL. Then the suitelet can print the custom record using a template. Here's an example of what the suitelet code could look like from NetSuite's help: function renderInlinePDF(request, response) { var salesOrderID = 3; var salesOrder = nlapiLoadRecord(‘salesorder',…
-
For sourcing to work, you need to have a custom field on the contact record linking to the custom record. Do you have that part yet?
-
It's hard to point you in the right direction without peeking in your account - I went through those exact steps in my dev account and the filtering works as expected. Maybe try reviewing each step?
-
Very doable - create one field on your custom record with the Type = List/Record and the Record Type = Customer. Then create a second field on your custom record with the Type = List/Record and the Record Type = Contact. For the second field, on the Sourcing and Filtering tab, add a line to the sublist with the following…
-
You have the right idea, but consider using the built-in "Name" field that NetSuite offers for custom records instead of a custom field with the course name. That way, when you link from the Completion Status record to the Training Course record, the link will automatically display the course's name.
-
As fourthwaveconsulting suggested, you need two custom record types. You already have a custom record type for "Training Courses." You need a second custom record type for "Training Courses Completion Status." That record is where you would have a checkbox for completion, a link to the employee record, and a link to the…
-
As mentioned in this thread, the custom sublists won't be available on the copied record until it is saved. But you do have a couple of options: 1. In the after submit for the copied record, re-load the record, add line items to the sublist, and re-submit the record. 2. Instead of using the native copy feature, create your…
-
Does your iframe contain a suitelet? If so, load the suitelet using the local URL instead of the absolute URL that includes the forms.netsuite.com domain.
-
You can do this by making a web request either from a client script or with an NL auth header as documented in SuiteAnswer 41804: https://netsuite.custhelp.com/app/answers/detail/a_id/41804
-
You're right that the request parameter is not available in the before load user event script in all contexts. You need to check that it is defined before attempting to use it. From Help: request : an nlobjRequest object representing the GET request (Only available for browser requests.)
-
I don't have code written at this point, but the basic process I'd follow is: [LIST=1] [*]With a tool like Fiddler or your web browser's developer tools, you can see the URL NetSuite requests and the HTML/JavaScript response when navigating between multiple pages of results. [*]You can make web requests for that paginated…
-
Slightly better description of the process: We have a custom record (let's call it 'service order') that is created from an outside source and imported into NetSuite. Then we have someone check/update the record in NetSuite, and then they set the status to 'ready to invoice'. At that point, when the custom record is saved,…
-
Basically anything except for creating the sales order directly inside the user event script can work. In addition to MChammaTX 's suggestions, some more exotic ideas are: 1. Call a RESTlet and create the sales order in the RESTlet 2. Schedule a CSV import with the sales order data 3. Invoke NetSuite's SOAP WSDL to create…
-
Thanks pcutler. That works but it didn't solve my permissions issue. I still get an error that I need a higher level of permission to open a purchase order. I guess using the suitelet isn't the permissions workaround I thought it was. I think I'll have to continue working around it by making scripts that execute on create…
-
The nlapiResolveURL method returns the URL as a string, so to append parameters you can use string concatenation. Make sure to use encodeURIComponent to escape necessary characters.
-
This is a common request, a few options: [LIST=1] [*]Copy/paste into Excel, sometimes that works [*]Click "Customize View", add a filter for the current record, and click Preview and then export the previewed search results [*]If you have access to a consultant or developer, ask them to write a script for you that adds an…
-
Unfortunately not all user event events are triggered from all actions. Some of these cases are described on SuiteAnswer 10635. If you can provide your use case, the user group may be able to make some suggestions about alternative approaches.
-
Try something like this (not tested, could have typos): function beforeLoad() { var sublistId = 'item'; var fieldId = 'custcol_my_field'; var displayType = 'hidden'; // or disabled, inline, etc. var field = nlapiGetNewRecord().getLineItemField(sublistId, fieldId, 1); // set the field's display type if(field) {…