Hi All,
I have a CDT where I have a
Many to One and
One to Many relation ships like
{1,A,B,{Many to One },B,C,D, {One to Many}
now when I tried fetching the data
like rule!xyz().A I am getting result,
rule!xyz().ManytoOne I am getting result
But when I am doing rule!xyz().OnetoMany It is throwing an error like Cannot index "OnetoMany" because it is an array type (List of OnetoMany). Only fields with scalar types can be indexed from an array.
Please let me know how to fetch the OnetoMany Data from this CDT.
TIA
Harsha :)
Discussion posts and replies are publicly visible
Hi Harsha,
First check the configuration in CDT is correct as shown below:
If the configuration is correct, make sure to user index function to fetch the multiple records.
Regards,
Ravi