Skip to content

CRSEINC ​

Returns income for a course.

Reporting Area(s) ​

Courses, Accounting

Required Parameters ​

  1. Course # (i.e. cocrse, rgcrse, pycrse)
  2. 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)

  1. 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

GTCODUE
TKINCOME
GTCODUE3
GTCODUE4