megaphone
Update your Profile with your Support type to get your Support Type badge.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Stay in the know of how NetSuite can help grow your business with our guides, webinars, and events. Subscribe Here
What Topic Should We Cover Next? Your idea could be our next feature—drop your suggestion now!
No Limits. Just possibilities. Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Discover what's next at SuiteConnect Tour 2026.
Try Intelligent Payment Automation – Fee Free For Your First Month For more information, visit this thread.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.

My Stuff

New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.

3957277 Newbie

Comments

  • You could try using jQuery to move the HTML element of the field to where you wanted it.
  • Hi Linda, Your portlet code is creating two field with the same ID "custpage_newsflash", all fields created must have a unique ID. If you change the ID for the second field it should work correctly. Hope this helps.
  • Hi Suman, If you go to the scripted records for the record type your user events are deployed on i.e. sales order. You can drag and drop them to set the order in which they execute. This can be accessed by going to Customisation -> Scripting -> Scripted Records. Hope this helps.
  • @wchase to set a field disabled use .setDisplayType('disabled'); @YesCondor, the way I posted will only work in user event scripts, for a client side you can use nlapiSetLineItemMandatory('sublist', 'field', linenumber);. Hope this helps.
  • Hi, The following code can be used to set a column field to mandatory and then to set the value of that field. Where sublist is the internal id of the sublist you are using. function beforeLoad(type) { if (type == 'create') { var line = nlapiGetLineItemField('sublist', 'custcol_start_zip_code', 1); line.setMandatory(true);…
  • Also if you are struggling to find the internal ID of the sublist you are using, open up the console in your browser by pressing f12 and then use the following code on an existing record. nlapiLoadRecord(nlapiGetRecordType(), nlapiGetRecordId()).linetypes This returns a list of all the sublists for that record type. Hope…
  • Hi Pablo, I had to tick the "Allow Child Record Editing" box on the custom record first but then your method works. Much Appreciated thanks.
  • Hi Pablo, Thanks for the reply. I just tried this and I am getting a result of -1, when there are currently 3 records in the list. Is there any settings that need to be enabled in the custom record set for this to work correctly? Cheers.
  • Hi Mark, The option to print all attachments as PDF can be set in an employees preferences. This can be done from home -> Set Preferences. Then on the transactions tab change the "transaction email attachment format" to PDF. However you will need to get employees to set this themselves as I don't think you can mas update…
  • No worries, I've had the same problem in the past and it took me a while to find it, glad I could help.
  • @radioblaster The script can also be attached at a form level which will stop it being removed from the file cabinet. If you go to the list of transaction & entry forms you can view attached scripts there.
  • We are also having the exact same issue. This is affecting all of our custom fields and doesn't seem to be taking the "Maximum Entries in Dropdowns" preference into account.
  • Hi Carrie, I have been having the exact same issue and it was due to a script making changes to a related record. In this case we edited a quote, and the linked opportunity would change. This would then trigger the error message you described. Have a look to see if any of the related records are being affected. Hope this…