ADDGRPAY ​
Returns payments for a group of registrations with payment totals per receipt number.
Reporting Area(s) ​
Registrations, Accounting
Required Parameters ​
- Group ID (i.e.: rggroupid)
Optional Parameters ​
- Fields from Pay table to return (i.e.: "dtoc(pydate)+ ' ' +pynumber+str(pyamt, 8,2)"
--OR--Numeric return value:
1= date+payer+type+receipt #+amount+check#/credit card #
2= date+payer+type+number+'Rct #:'+receipt #+amount
5= 'Paid #'+date+payer+type+number+receipt+amount
- Condition to return pay record (i.e. "pytype $ '456' " to show Visa, Master Card and Discover pay records). Default is all but bill/refund/voided/deleted.
- Logical .t. show detail of each payment (per reggie), .f. ONLY show the total for that receipt for this group
Example(s) ​
ADDGRPAY(rggroupid) returns Date, Payer Name, Pay Type, Receipt # and Total Amount for this receipt for this group
ADDGRPAY(rggroupid,2) returns Date, Payer Name, Pay Type, Number, label - 'Rct #:', Receipt Number, Payment Amount
Notes ​
Default list includes Payment Date, Payer Name, Pay Type, Receipt # and Total Amount per receipt for this group of payments excepting any billing, voided, or deleted payments.