Skip to content

ADDFEE2 ​

This version works in Student Manager

Returns the descriptions and amounts of Additional charges for specific registrations.

Reporting Area(s) ​

Registrations, Accounting

Required Parameters ​

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

Optional Parameters ​

  1. Logical .t. dollar value of optional charge, .f. description and amount of optional charge (default)
  2. Condition to return fee (i.e. "rfdesc='book'")
  3. Delimiter to place between description and fee amount (i.e. " ", ", ", " - ")
  4. Numeric return value: repeat N times the character string in Parameter 5 (to control spacing between Description and Fee Amount)

Example(s) ​

ADDFEE2(rgid, cocrse,.t.) returns dollar amount of Additional charges (12.00)

ADDFEE2(rgid, rgcrse, .f., "rfdesc= 'Book'") returns description & amount of Book fee (Book 12.00)

ADDFEE2(rgid,rgcrse,.f.,""," -- ") returns description and amount of Additional charges separated by ' --'

Notes ​

The optional third parameter determines if the function returns the Description or the $ amount. If .T. is the third parameter, it return the dollar amount (numeric) of the optional charge. If you leave it off, or pass it .F., it gives you the description plus the fee as a character string.

ADDFEE
ADDOPT