RGHASPAY

Returns number of payment records associated with specific registration.

Reporting Area(s):

Accounting, Registrations

Required Parameters:

  1. Course # (i.e. cocrse, rgcrse, pycrse)
  2. Name ID (i.e. nmid, rgid, pyid)

Optional Parameters:

  1. Condition to return count (i.e. "pytype='3'"). Default is to include all undeleted payments
  2. Logical .t. returns the sum of all specified payments, .f. (Default) returns the count of all specified payments

Example(s):

RGHASPAY(rgcrse,rgid) returns the number of payments for the registration (i.e. 3)

RGHASPAY(rgcrse,rgid,"pytype $ '1234567ABCDEFGH' ") returns the number of payments for the registration excluding voided and refunded payments

RGHASPAY(rgcrse,rgid,"pytype $ '1234567ABCDEFGH' ",.t.) returns the sum of payments for the registration excluding voided and refunded payments

 

Related Topics Link IconRelated Topics