Hi everyone,
I have a question: what's the best practice for creating a sublist?
I tried using savedSearch as a sublist, but when I tried to use the parent record lineCount in the userEvent, no data was found.
I also tried creating a field of type list/record and checking isParent. Then, any child fields related to this parent field would appear in the parent record. However, I can't access them directly from the parent record in SuiteScript. So, I used the N/Search module for the Child type and then filtered the appropriate parent.
Is there another way?
Thank you.