VendOverdueCITPITJournalLineDetail_W::calcTotalLineDetails Method
The method calculates the overdue and paid amounts by query
Syntax
client server public static container calcTotalLineDetails(Query _query, [boolean _exclude])
Run On
Called
Parameters
- _query
Type: Query Class
The query with ranges on search
- _exclude
Type: boolean
Excludes from the calculation the rows that was excluded
Return Value
Type: container
A contaniner with results of search. Firs value is overdue amount, second is paid amount
Remarks
Values are considered on the same field OverdueAmount. If the value is less than zero - this is overdue amount, if greater than zero - this is paid amount.