Posting Strategy
If an invoice that contains one or more rent lines is paid in full, there is a commission liability for that invoice
1. For commissions based on percent, the liability is the sum of rent lines on the invoice times the commission percent (e.g., two rent lines totaling 2,000 x commission rate of 20% = 200)
2. For commissions based on a flat rate (not percent), the liability is the count of the rent lines times the flat rate (e.g., two rent lines at 20 per rent line = 40)
At the following points, the system will determine if the initial commission liability has been added to the commissions table. If not, it will add it (based on the above description):
1. A payment is received on an invoice that pays the invoice in full.
2. A commission agent is added to a reservation after one or more invoices containing rent lines have been generated and have been paid in full.
