Example

The account Sales will return the value of UnitsSold * Price.

Table 26. Example of Pro_Rata_Ratio Function

Account

Jan2001

Feb2001

Mar2001

A#UnitsSold

1000

2000

5000

A#Price

1.25

1.00

0.50

Units_Rates(“A#UnitsSold”,A#Price)

1250

2000

2500

The result returned from the UNITS_RATES function is as follows:

HS.EXP “A#Sales = A#UnitsSold * A#Price”