In some of the lookup form(Ex: HRMLevelIdLookUp) init method we can see the below code
callerDataSource = element.args().record().dataSource();
callerRecord = callerDataSource.cursor();
Which means somewhere they have to set
like thatt. But im not able to identify where do we need to set. Because I wants to do the same check for another lookup form. Please help me to resolve this.