Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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