Description |
*This issue relates to i21 Help Desk ticket:* [ HDTN-251289 - Contract - If price is already fixed should not allow to reduce the no. of lots|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-251289]
Steps:
* Create a contract with quantity 600 bags of 60 kgs with 2 lots and save
!pastedImage_d144327_0.png|height=142,width=570!
!pastedImage_d144327_1.png|height=212,width=551!
* Fix the price for 2 lots
!pastedImage_d144327_2.png|height=294,width=551!
* For the same contract reduce the quantity to 300 bags of 60 kgs which is 1 lot and save
!pastedImage_d144327_3.png|height=210,width=551!
!pastedImage_d144327_4.png|height=136,width=551!
!pastedImage_d144327_5.png|height=215,width=551!
Issue:
* It is allowing to save the contract without giving the pop up message as "Cannot reduce number of lots to 1. As 2 lots are price fixed"
* And in the Price contract showing negative Lots unfixed
!pastedImage_d144327_6.png|height=277,width=551!
Acceptance:
It should not allow to save the contract if no. of lots is reduced than price fixed lots for that contract
|