GTACCTPD ​
Returns total paid for an account number.
Reporting Area(s) ​
Courses, Accounting
Required Parameters ​
- Course # (i.e. cocrse, rgcrse, pycrse)
Optional Parameters ​
- Logical .t. include billings, .f. don't include (default)
- Character return value: only report specific payment types (i.e. "456" returns total payments by credit card)
- Logical .t. include canceled records, .f. don't include (default)
- Character return value: only report records meeting criteria (i.e. cocrse="06F")
Example(s) ​
GTACCTPD(cocrse) returns total paid for the account number EXCLUDING billings (i.e. $660.00)
GTACCTPD(cocrse,.f. ,"456") returns total paid by credit card for the account number (i.e. $250.00)
GTACCTPD(cocrse,.f. ,"",.f.,"cocrse='06F'") returns total paid for the account number for all courses beginning with 06F