addCustomFee

Adds a custom fee feecode to the record, from the fee schedule feesched with fee period feeperiod.

Version

1.5

Parameters

Parameter Type Description
feecode string Fee code to be added.
feesched string Fee schedule of the fee to be added.
feeDescr string A description of the custom fee item.
feePeriod string Fee period to be used.
feeAm double Fee quantity.
feeACC string Fee account code 1.
capID (optional) CapIDModel Record to add fee to.

Returns

Returns the Fee Sequence number of the fee added.

The fee period feeperiod must be a valid fee period for feecode in feesched, or this function throws an error.

See also

addAllFees