Hi
I'm looking at the std code and can't understand why when we create a lookup in class HcmWorkerLookup -> lookupWorker there are lines like below
FormAutoLookupFactory::buildLookupFromCustomForm(stringControl, workerLookupForm, AbsoluteFieldBinding::construct(fieldStr(HcmWorker, PersonnelNumber), tableStr(HcmWorker)), args);
Here as I understand we specify the fields from which lookup should return as a third parameter , e.g it's AbsoluteFieldBinding::construct(fieldStr(HcmWorker, PersonnelNumber), tableStr(HcmWorker)),
Now if I go to the form HcmWorkerLookUp -> run(), here we again fo the same :
this.selectMode(hcmWorker_PersonnelNumberID);
What's the purpose of doing this twice?
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (