Hi Experts,
I have a custom form with two columns Project and Activity. My requirement is to add a look up on activity field based on project selected in the project field. I am achieving this by below code
public void lookup(FormControl _formControl, str _filterStr)
{
//super(_formControl, _filterStr);
HierarchyTreeTable::lookupHierarchyTree(_formControl, ProjTable::find(ANCPettyCashProjJournalLines.ProjId));
}
However this code is displaying the entire activities including closed ones related to the project. What can I do to see only active activities in the lookup?