how can i take only positive value from G/L entry table according to document no in a report?

hello, i have a “sales invoice line” child table and G/L entry master table.

i add Sales Invoice Line and G/L entry as a data item.

i want to take postive amount from G/L entry table accroding to document no.

i am going to make a report.

where should i set this condition?

please help me.

You can set it in the DataItemTableView property or you can write code in the OnAfterGetRecord trigger (research CurrReport.SKIP).