lookupFeesByValuationSlidingScale

Similar to the lookupFeesByValuation function, but introduces another element in the standard choice tables which serves as a divisor for the capval.

Version

1.6

Parameters

Parameter Type Description
stdChoiceEntry string Item name of standard choices used as lookup table.
stdChoiceValue string Standard choices value.
capval number Number value (e.g. valuation) to compare.
valueIndex (optional) integer Determines which value to return. Defaults to 1, the first value.

Notes

Set up the standard choices lookup table as follows:

  • Value column = Lookup value.

  • Value Desc column = one or more 3-number series, where

    • 1st number = number to compare compareValue against

    • 2nd number = divisor (e.g., 100, 1000, etc.)

    • 3rd number = base fee

    • 4th number = used to calculate add-on fee

Use a pipe(|) to separate each number. Use a caret(^) to separate each 4-number series.