Process Selected Documents

matias_jaure
matias_jaure Member Posts: 157
Hi people!.. I have a thing to solve here, I create a report to process all purchase invoice and do come stuff with it. This report process all purchase invoice that are open, but client wants to process only the selected in the list of invoices form, I don´t know how to solve it.
Thanks all!!

Answers

  • remco_rausch
    remco_rausch Member Posts: 68
    Hi,

    I think you might want to look at the SETSELECTIONFILTER function.

    Regards,

    Remco
  • matias_jaure
    matias_jaure Member Posts: 157
    Thenk you very much! I had to do it in a codeunit, with the same functionallity but passing by parameter the Record and it works pefect!
    CurrForm.SETSELECTIONFILTER(Record);
    Codeunit.Run(Record);