Wrong default quantity on generate load screen

Issue No: LG-1705
Created 10/24/2018 8:15:20 AM
Type Bug
Priority Minor
Status Closed
Resolution Fixed
Fixed Version 18.3
Description       Scenario -   Create a contract for 4 25Ton loads on load based contract   Generate 1 Load and save   Click Load to generate loads again. It is defaulting to the number of loads on the contract, not the balance of loads. It should default to the available qty of loads (similar to the functionality when generating loads on a qty based contract)   !pastedImage_d107071_0.png|height=409,width=998!     Steps:   # Create sales contract as load based contract (4 loads / 25 per load) # Go to generate Load shipment # Select created load shipment # Only generate 1 load and click save # Create new load shipment and select create contract   Issue :   No of loads did not change, even 1 load is already scheduled   !pastedImage_d107071_1.png!   Acceptance:   Should able to update No. of loads based on the available no. of loads