Processing rules for each equipment unit's base charges |
When base charges are calculated during end of period's equipment usage processing, the following processing rules are used for each eligible equipment unit.
Get the number of transactions to be processed and the totals for all transactions of the following:
Variable charges (meter 1 charges, meter 2 charges, days charges, hours charges, and other charges)
Meter 1 units operated
Meter 2 units operated
Days used
Meter 1 charges
Meter 2 charges
Get the applicable base rate, apportionment method, meter 1 rate, meter 2 rate, free meter 1 units per month, and free meter 2 units per month. The applicable rates are the most recent rates that were effective on or before the last day of the month and year for which the processing is being run. If there is no applicable set of rates, set all rates and free meter units per month to zero.
To protect against failure to run end-of-period's equipment usage processing for one or more months, multiply the base rate and the free meter units per month by the number of months determined in item 3 of Equipment usage for month processing (technical details).
If base rate is not zero, apportion base charges as follows:
For units with apportionment by variable charges, if there is only one transaction for the unit (which must have been inserted under item 2 of Equipment usage for month processing [technical details]), or if total variable charges is less than zero (indicating that the only transaction charges posted were corrections to previously processed transactions), apply the entire base rate to the department to which the unit is assigned (the transaction inserted under item 2). Otherwise, prorate the base charge among all transactions based on the total variable charges on each transaction.
For units with apportionment by days assigned, if there is only one transaction for the unit (which must have been inserted under item 2 of Equipment usage for month processing [technical details]), or if total days used is less than zero (indicating that the only transaction charges posted were corrections to previously processed transactions), apply the entire base rate to the department to which the unit is assigned (the transaction inserted under item 2). Otherwise, prorate the base charge among all transactions based on the total days used on each transaction.
Apply the department rental charge markup percentage for the department on each transaction to the base charge applied to that transaction, and set the month and year processed to the month and year for which processing is being run.