My Stuff
Comments
-
I hope that link works for you - if not, open your NetSuite Help and find the Custom Field Types page.
-
This documentation in the link below only tells you the max length of the different text field types, but the other types shouldn't usually have any concern over field lengths. URL length limits depend on things outside NetSuite, but I'm not sure what the length limit is for them in NetSuite.…
-
I can do this on Custom record fields by editing the field's Help text, but for standard records, yeah I think you'll have to use a client script to create a click event handler for the label to pop up an alert or something. That's what I would do. In Chrome or Firefox(with Firebug installed), right-click the label and…
-
Could you do it with a saved search that returns a "Count" summary field?
-
Is your script deployed to only run for certain type of event ("create", "edit", "view", etc.)?
-
Not sure why that's happening. Is nlapiLoadRecord being called from a Client Script or a Suitelet? Also you can debug the record object returned by document.write(JSON.stringify(record)) It may also be helpful to add semicolons ';' after each script command. Have you tried running the same command with id hardcoded, from…
-
ANyone know how to remove security questions/answers from a user?
-
Most, if not all, aggregation functions have to be used in the Search Results metadata rather than any formula, if I'm not mistaken
-
What's happening in this part? ... THEN ({opportunity.projectedamount} COUNT({amount)) ... Are you meaning to concatenate the projected amount with the count of the amount fields?
-
Another alternative that might work is to use a Formula Field which references the desired field in the other record type (this could work if it's a join field).
-
Workflows are far less prone to programmer error ("bugs"), however. So if you're never going to need it to do anything more than a workflow can do, workflow sounds like the safer way.
-
Hmm.. I have an idea where you could add a User Event Script for the 'beforeSubmit' event, where it checks if the file has been submitted (and cancels the operation if it hasn't), but I haven't determined how to detect whether the file has been submitted. Probably something like charking the filecabinet ID or having it…
-
You can remove anything you want in a Client Script. But you have to find the element in the DOM using document.getElementById() or a jQuery selector, which means it will break when NetSuite changes their layout this year. You can use jQuery in a netsuite record view simply by using jQuery.stuff instead of $.stuff - for…
-
I know how to do it in a Suitelet, but I'm unfamiliar with file uploads via Netsuite records interface such as Transactions.
-
I mean you can remove anything from the UI. Removing records and stuff - That probably depends on your access role :)
-
In javascript, AFAIK, You define the var at the scope you want it to exist. If you only want it to exist inside the if{} or the else{} then you declare it inside one of those. If you only need it to exist inside the function equipmentPMList(){} then define it above the if{}. That way it'll exist in the scope that contains…
-
It may be possible to get all that behavior with just the User Event script and maybe a client script tacked on, but I've been working a lot with suitelets lately so naturally it seems like the solution to everything :)
-
You could probably get this behavior by writing a suitelet for it. You could add a file input to the suitelet form and dynamically assign its folder based on the transaction type. It could be linked to from an inlinehtml field on the transaction record view, which uses a concatenated formula so the transaction type in the…
-
You could have the user event script, on record load, register a cancel button event listener (or worst case, create a clickjacking div over the cancel button) to override the behavior, maybe? But the best of all things would be if you could accomplish an onUnload event handler for clearing the lock or whatever needs to…
-
A hackish way to force the behavior only for certain lists could be to add a bunch of dummy records, but that is indeed hackish
-
I only know a little about those things, but if I'm not mistaken, the multiselect fields give popup behavior when the list becomes too large to fit in the dropdown.
-
Yes, ownership of something in Netsuite can mislead you as to permissions level. It is a good idea to test your stuff by logging in as a different user as well as at different permission levels.
-
I'm not too familiar with NetSuite dates and such, but my first approach would be to try using a formula that compares the milliseconds dates (not the familiar month-day-year strings, but the raw milliseconds data). If the Javascript and the SQL database that NetSuite uses as its back end both use the same basis for their…
-
What happens when you try to use max and a date?
-
I also would like to know how to 'check' the 'Show Inactives' checkbox, programmatically on an nlapiSearchRecord or nlapiCreateSearch call.
-
That's strange to me too. I have't tried a dropdown or multiselect in a suitelet yet, but I definitely wouldn't expect choosing an item to reload the whole page. A form object's. setScript() function could include client-side functions that listen for changes in the input fields and handle that event with a redirect. But…
-
And then how do you refer to the form object within the execution context of the Client script?
-
That's right, Yang. I noticed it only goes back to midnight for me too. Also, make sure your deployment's logging level is set to Debug since your logexecution commands are at that level
-
The only downside is that the dropdown lists I generated in HTML don't look like the ones NetSuite generates. Plus I had to wire them up by hand. But you do what you have to do to get what you need.
-
I have an editor sublist with this feature - I had to code it myself in Javascript/jQuery and there's a lot of event handling to set up, and AJAX calls to make to a headless suitelet, but it works.