GTACCTPD

Returns total paid for an account number.

Reporting Area(s):

Courses, Accounting

Required Parameters:

  1. Course # (i.e. cocrse, rgcrse, pycrse)

Optional Parameters:

  1. Logical .t. include billings, .f. don't include (default)
  2. Character return value: only report specific payment types (i.e. "456" returns total payments by credit card)
  3. Logical .t. include canceled records, .f. don't include (default)
  4. 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

 

Related Topics Link IconRelated Topics