Hello everyone,
I need to create an action button which displays a list of documents linked to a specific customer. Can anyone check and correct if the code below is fine?
lAction := lAnomalyList.RUNMODAL;
IF lAction = ACTION::LookupOK THEN BEGIN
lAnomalyHeader.SETRANGE("Customer No.", lCustomer."No.");
//lAnomalyList.SETSELECTIONFILTER(lAnomalyHeader);
lAnomalyHeader.FINDSET ;
lAnomalyList.SETRECORD(pRec) ;
lAnomalyList.RUN ;
END;
Thank you!
*This post is locked for comments
I have the same question (0)