GTCODUE3 ​
Returns total due for a course with multiple options.
Reporting Area(s) ​
Courses, Accounting
Required Parameters ​
- Course # (i.e. cocrse, rgcrse, pycrse)
Optional Parameters ​
- Logical .t. include canceled registrations, .f. don't include (default)
- Numeric return value:
0= Total Due For Class
1=List of Main Course Fees
2=Total Amount of Course Fee
3= Total Amount of Additional/Optional Fees
- Character return value: return specific fee information (i.e. "Registration Fee", "Staff Fee", "Member Fee")
- Logical .t. returns count of the specified fee, .f. returns sum of the specified fee (Default)
Example(s) ​
GTCODUE3(rgcrse,.f.,3,"Book",.f.) returns sum of all occurrences of Book fee excluding any canceled registrations
GTCODUE3(rgcrse,.t.,1,"Member Fee",.t.) returns total count of all occurrences of Member Fee including canceled registrations