Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How to resolve the INVALID_RCRD_INITIALIZE in getCurrentSublistSubrecord() via Client Script?
Hello experts, I need your help.
I experienced this error using a client script in 2.1 version. I have previously used the same method in a 2.x version using a suitelet without any problem. Documentation states it supports both client and server scripts.
https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4296710967.html
Could be a related issue but hasCurrentSublistSubrecord() returns true for a subrecord that previously has data and cleared either by 'Remove' individually or 'Clear All Lines.' Is this the expected behaviour?
My record is dynamic.
I also found someone on reddit having the same issue: https://www.reddit.com/r/Netsuite/comments/wlnv1v/code_invalid_rcrd_initialize_details_you_have/?sort=new