i'm working on my first report, to provide informations about salescredit-memos for our sales-representatives.
Now I'm trying to add a filter to the report.
Our NAV supplier added an custom option field named "Return Operation" to the table 115 (sc-credit memolines), which
shows if the return is accepted or refused.
So I've added a CAL Global (boolean) and also an option field to the request page. (show only accepted)
Now I have to write some CAL Code so that the report will only print / display all lines (accepted and refused) or just the accepted.
I'm pretty sure that I've have to put it in the OnAfterGetRecord-Trigger, but I have no idea about the syntax.