-
Income is distributed from highest priority (10) to lowest (1), followed by
capascending (nils last). -
If
prerequisite_accountis set, and that account'samount < cap, then skip this account. -
If
add_per_monthis a percentage, this indicates a % amount remaining at the start of that priority level, not a % of the total income value. This amount will be distributed into the account. -
add_per_monthdistribution shall not exceed themonthly_capon that account for the month. (only applies to the % version ofadd_per_month). -
add_per_monthdistribution shall not exceed theannual_capon that account for the calendar year (Jan 1 to Dec 31). -
add_per_monthdistribution shall not exceed thecapon that account. -
Overflow beyond an account's
caporannual_capthat would have otherwise satisfied the account'smonthly_capcan be distributed into that account'soverflow_into. If there is nomonthly_capon the account, then any amount beyond thecapthat remains inadd_per_monthcan be distributed into theoverflow_into. These overflowed amounts do count towards monthly_cap and annual_cap values for the overflowed_into account. -
The rules for an overflow_into's
cap,monthly_cap, andannual_capvalues apply. Any additional overflow for thesecaps should then continue overflowing to the nextoverflow_intountil either the total originaladd_per_monthamount has been exhausted, or acapis reached with nooverflow_intospecified. -
If an account fulfills the
capin all overflows and still has some amount fromadd_per_monthremaining, it will distribute the remaining amount into any accounts that had this one as aprerequisite_accountwith a priority >= this one's, in the same order as step (1), using the same distribution rules with the exception of rule 9b.
9b. The new distribution will look at "percentage" add_per_month accounts and distribute into them a % amount based on what that account would have received at it's priority level if it had not been originally skipped, during this distribution.
-
Any funds remaining after complete distribution has been completed will be placed in
User#undistributed_funds -
It skips all disabled accounts for distribution
NOTE: An alternate date can be selected for the 'Income'. annual_cap and monthly_cap rules use the specified date (or "Today" if not specified) when determining distribution.