Revising estimate calculation logic
Context
An estimate can be revised due to following reasons.
Due to revision in rates.
Due to deviations (less/excess) in SOR/ Non-SOR quantities.
And for both the revision, logic to calculate estimated to be implemented as given below.
Details
For an estimate system should know the used and unused quantities of all the SORs/Non-SORs.
Used quantity to be fetched from approved MBs. In workflow MBs will not be considered to determine the used quantity.
Current effective rates to be applied to calculate the revised estimate amount and it will be calculated SOR/ Non-SOR wise as given below.
Amount = (Unused Quantity + Additional Quantity (if added any))* current effective rate.
For newly added SOR/ Non-SOR, current effective rates are applied.
Acceptance Criteria
The revised estimate amount is calculated using current effective rates on unused quantities of SORs.