WHOPAY ​
Returns Payer Name/Billing Detail on Receipts and Invoices.
Reporting Area(s) ​
Registrations, Accounting
Required Parameters ​
- Course # (i.e. cocrse, pycrse, rgcrse)
- Name ID (i.e. nmid, rgid, pyid)
Optional Parameters ​
- Numeric return value: Number of payment to return
--OR--Character return value: payment to return (i.e. "pytype='3' ")
- Logical .t. returns the sequence at the end of the pay detail (i.e.: 1/3, (first of 3 payments), .f. don't include pay sequence (default)
- Numeric return value:
1= add PYAUTHNUM to address
2= add PYCONT to address
3= add both PYAUTHNUM and PYCONT
4= only show PYAUTHNUM if billing
Example(s) ​
WHOPAY(cocrse,rgid) returns payment detail on first payment made (i.e. ACEware Systems, Inc. 121 S 4th St, Ste. 205 Manhattan, KS 66502)
WHOPAY(cocrse,rgid,2,.t.) returns payment detail on second payment made with sequence detail at end (i.e. Susan Kraft 12 West Main Manhattan KS 66502 2/2)