Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Weekly Quiz! You only have until April 11, 2PM EST to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

How to resolve the INVALID_RCRD_INITIALIZE in getCurrentSublistSubrecord() via Client Script?

edited Dec 15, 2022 4:04PM in Ask A Guru 7 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders