parameter for Lookup form

Hi,

In some of the lookup form(Ex: HRMLevelIdLookUp) init method we can see the below code

if (element.args().dataset())
{
callerDataSource = element.args().record().dataSource();
callerRecord = callerDataSource.cursor();

Which means somewhere they have to set

args.dataset()

args.record()

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.

Hi,

args.dataset() & args.record() might be set on the caller form ie. the clicked method of the field on which the lookup opens.

hope this might resolve your problem.

Thanks,

HI,

i am posting packing slip i am getting this error

Period 7/22/2012 is not open.how to solve this problem plz guide me.

Thanks

Sailaja