Skip to Content
0
Feb 28, 2022 at 10:45 AM

Read fields of view entity in Custom entity

1414 Views Last edit Mar 01, 2022 at 11:05 AM 4 rev

I have one requirement to create Search Help in RAP model. in Item entity I have two fields based on which I want to fetch data. For eg. if profit center field is not initial then fetch from table1 elseif cost center is not initial then fetch from table2 else fetch from table3. How to write such logic? Am I suppose to write in my custom entity class? How will I access Item entity fields in my custom class for fetching data

if there is any other way please let me know.