Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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