LS screen- Remove 'space' if present before or after container number

Issue No: LG-3722
Created 11/1/2022 9:08:10 AM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *Steps:* 1. Go to > Contract Management > Open contract P-1548 > Click on duplicate > With Costs > Click on save > New duplicate contract will get created (Note down new created contract number)   2. Go to > Logistics > Load Shipmen/Schedules > Click on New 3. Go to line item > Select Vendor > Select Purchase Contract > Click on tab >Go to Warehouse tab> Add Storage unit > Click on save > New LS will get created 4. Go to > Container tab > Add container number as below 4.1) TEST12 > Quantity 80 60 Kg Bags---- *Without 'Space'* 4.2) TEST34 > Quantity 80 60 Kg Bags----' *Space' added before container number* 4.3) TEST56 > Quantity 80 60 Kg Bags----' *Space' added after container number* 4.4) TEST78 > Quantity 80 60 Kg Bags----' *Space' added before ad after container number* 5. Click on 'Link' > All 4 containers will be added in below grid for 'Quality' purpose 6. Linked Containers and Orders > Select 1st container > Click on Quality 7. New Sample window will open > 7.1) Sample type -- Arrival Sample 7.2) Go to > Test Details tab> Add values in 'Actual value' column then click on save. 7.3) Approve the sample and click on Save   8. Repeat steps from 6 to 7.3 for each container and click on save 9. On the Linked Containers and Orders grid > Sample status shows approved for all containers   *Issue:* 1. Go to > Logistics > Load Shipmen/Schedules > Search by 'Containers' option > Filter by LS number 2. Sample status doesn't show for 2nd and 4th container   *Expectations:* 1. On LS screen > Container tab> Auto trim if *'space'* is present before or after container number 2. Do not remove/trim *'space'* if present in middle of he container number