
The function editor consists of three main sections:

When the function cursor executes, the selected schema fields provide the argument data for the selected function.
The assignment field editor includes a facets (BFacets) editor. In cases where the selected input fields of a function include different units (BUnit facet data) you need to select the unit type for the output field.
As an example, assume you have two schema fields to use as data arguments for a Max function. The first field’s values are units of Celsius, while the second field’s values are units of Fahrenheit. To compare the two values, you must have a common unit type. You must also define the unit type of your result so that you can correctly interpret the data from the assigned function.

By assigning the unit type to the output field, you provide the common unit type used for comparison by the function at the time of cursor execution. You also determine the unit type used for the comparison result, which determines the actual value of the result data.