feeExists
Version
1.3
Parameters
Parameter | Type | Description |
---|---|---|
feestr | string | Fee code of fee to check for. |
fStatus1 … fStatusn (optional) | string | List of fee statuses to check for. Enter one or more statuses. |
Returns
Returns true if a fee whose fee code is feestr has been added to the record.
Notes
If optional fStatus1 … fStatusn parameter(s) are supplied, also checks that feestr has one of the statuses in fStatus1 … fStatusn.
A fee has one of the following statuses: NEW, INVOICED, VOIDED, CREDITED.
Example
To determine if fee “FEE001” has been added and not invoiced:
feeExists("FEE001","NEW")