Agreement on Invoice

The agreement number will be picked up based on the following logic/order:

1. Hard limit agreements will be selected before soft limit agreements
2. Expiration Date (expiring agreements have higher priority over non-expiring agreement)
3. Maximum available funding (baselined funding - billed) (agreements with more available funding will be selected before agreements with lesser balance funding)
4. Agreement Id (older agreements will be picked first than the more recently created agreements)

Say we have 2 agreements A1 and A2 and having Balance Funding amount of $10000 and $5000 respectively. Normally if if you try to generate the invoice, all others being equal it will pick agreement A1 for the invoice.

Say we need to generate an invoice for $5000 on agreement A2, then set hard limit and an expiration date on A2 and soft limit on A1, So as per the above logic A2 will be selected.

No comments: