Petro - Quantity at Header Level

Issue No: CT-7373
Created 6/10/2022 4:46:26 AM
Type Feature
Priority Major
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-259762 - Contracts using basket need to work with transports|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-259762]   *This issue relates to i21 Help Desk ticket:* [ HDTN-274767 - Petro - Quantity at Header Level|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-274767]   Changes in Header:   * Add a checkbox in Additional Info – “Quantity at header level ” ** !pastedImage_d187608_0.png|height=315,width=553! ** All the below functionality will be enabled only when checkbox is checked. * Add two fields below Quantity on Header ** !pastedImage_d187608_1.png|height=339,width=553! ** Balance = Header Quantity – sum of applied on all sequences ** Available = Header Quantity – sum of applied on all sequences – Sum of all Qty Scheduled on sequences * Sequence level changes ** Quantity validation should be removed ( Header Quantity = sum of all sequences) ** Sequence Quantity should be same as Header quantity on all sequences ** Balance = Same as Header balance ** Available = Same as Header Available ** Applied = No change from existing logic ** Qty Scheduled = No change from existing logic ** When the Header balance = 0 *** Mark all sequences as complete. *** Change Sequence quantity = Applied Quantity ( So that total sum of all sequence quantity is same as header quantity ) * Other Validations: ** Disable the Slice Functionality. ** All the sequences should have same UOM. ** When contract is duplicated, copy the checkbox (edited)