function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
magdamagda 

picklist with fiel dependencies, create apex code to read thisone

hi,

what i want to do is:

3 picklist level 1, level2 ,level3
filed dependencies between this field.

It is possible to write an apex code being able to read all combination and write one row per combination?

Because if i can do that i have the possibility after that to search in each rows or not?

thx

Magda
Divya GoelDivya Goel

Yes, It is possible

Thanks,

 

 

 

magdamagda
hi,

thank you. But do you have more information for me about that?

thx,


Divya GoelDivya Goel
Apply nested for loops for each picklist values. Inside the third for loop write the value of each picklist values.