CRSEINC ​
Returns income for a course.
Reporting Area(s) ​
Courses, Accounting
Required Parameters ​
- Course # (i.e. cocrse, rgcrse, pycrse)
- Numeric return value:
1= Total Due
2= Payments
3= Balance Due
4= Net Income based on amount paid (Paid - Exp)
5= Net income based on amount due (Due - Exp)
- Logical .t. include canceled records, .f. do not include canceled records (default)
Optional Parameters ​
None
Example(s) ​
CRSEINC(cocrse,3) returns balance due for course, EXCLUDING canceled registrations
CRSEINC(cocrse,1,.t.) returns total due for the course, INCLUDING canceled registrations