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.

My Stuff

Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.

LesEy Newbie

Comments

  • Hi Try the following. function customRecordTypePageInit(type){ var intOppLineItemCount = nlapiGetLineItemCount( 'recmachcustrecord_pm_cr_opportunity'); alert('test'+intOppLineItemCount); } A handy tip is to use a javascript console in your web browser to view the properties of local variables.
  • I had a similar problem with executing a saved search on the Work Calendar. It seems Work Calendar is not supported. I managed to get it working by creating the following global var. var fBundleIds = new Array(); Not sure that will work for you though