Openbravo Issue Tracking System - QA
View Issue Details
0038093QAAutomation - Generalpublic2018-03-09 13:282018-04-24 08:48
plujan 
AtulOpenbravo 
normalminorhave not tried
closedfixed 
5
 
 
aferraz
0038093: After the fix of 28645 should not be possible to enter a reservation greater than the sales order. However it is possible
After the fix of 0028645 should be possible to enter a reservation greater than the sales order. Automated test for 0028618 Regression must be updated accordingly to compare the Stock Reservation tab and Stock tab Reserved and Released quantities.
- Login as QA testing Admin
- Make sure Enable Stock Reservation preference is set with value Yes.
- Check for Product Final good C, Is Quantity Variable flag is set as Yes.
- Navigate to Sales Order window and create one record.
- In Header set Business Partner: Customer A, Document Type: Standard Order.
- In line add Product Final good C, Ordered Quantity = 1, Stock Reservation :Automatic.
- Book Order.
- Navigate to Lines, select previously created line, click on Manage Reservation button, set Quantity = 2.
- Navigate to Stock Reservation window and filter record by the previously created Sales Order Line.
- Realize that Reserved Quantity = 2, Quantity = 1, Released = 0.
- Navigate to Goods shipment window, create one against the above Sales Order and its Line.
- Edit Goods shipment line and set quantity as 2.
- Complete the Goods shipment.
- Navigate to Stock Reservation window and filter record by previously created Sales Order Line.
- Automatedd test compares Reserved Quantity = 1, Released = 1, it should compare Reserved Quantity = 2, Released = 2
- In Stock Data Tab, automated test compares Quantity = 1, Released = 1, it should compare Quantity = 2, Released = 2.
No tags attached.
related to defect 0028618 closed Sandrahuguet Openbravo ERP It is possible to reserve more qty than the qty of the order 
related to defect 0037925 closed markmm82 Modules Cannot process a picking list if Movement Quantity is higher than ordered quantity (Is Quantity Variable feature) 
depends on defect 0028645 closed vmromanos Openbravo ERP It would be nice to be able to reserve more qty than the qty of the order if you have defined the 'is qty variable' 
Issue History
2018-03-09 13:28plujanNew Issue
2018-03-09 13:28plujanAssigned To => Triage Finance
2018-03-09 13:28plujanModules => Core
2018-03-09 13:28plujanTriggers an Emergency Pack => No
2018-03-09 13:29plujanRelationship addedrelated to 0028618
2018-03-09 13:57plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16823#r16823
2018-03-09 14:17dmiguelezAssigned ToTriage Finance => AtulOpenbravo
2018-03-13 09:13AtulOpenbravoStatusnew => scheduled
2018-03-14 07:26AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16835#r16835
2018-03-15 18:05AtulOpenbravoNote Added: 0103290
2018-03-15 18:05AtulOpenbravoSummaryIt is possible to reserve a stock quantity greater than the sales order quantity => Using IsQuantityVariable, stock quantity can be reserved greater than the sales order quantity
2018-03-15 18:05AtulOpenbravoDescription Updatedbug_revision_view_page.php?rev_id=16862#r16862
2018-03-15 18:05AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16863#r16863
2018-03-15 18:06AtulOpenbravoRelationship addeddepends on 0028645
2018-03-15 18:07AtulOpenbravoNote Added: 0103291
2018-03-15 18:08AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16864#r16864
2018-03-15 18:14AtulOpenbravoSummaryUsing IsQuantityVariable, stock quantity can be reserved greater than the sales order quantity => Compare appropriate reserved and released quantities in resreg3 automated tests
2018-03-16 08:51aferrazRelationship addedrelated to 0037925
2018-03-16 09:06aferrazProjectOpenbravo ERP => QA
2018-03-16 09:07aferrazCategory07. Sales management => Automation - General
2018-03-16 09:07aferrazversionpi =>
2018-03-16 09:09aferrazSummaryCompare appropriate reserved and released quantities in resreg3 automated tests => After the fix of 0028645 should not be possible to enter a reservation greater than the sales order. However it is possible
2018-03-16 09:09aferrazProjectQA => Openbravo ERP
2018-03-16 09:11aferrazCategoryAutomation - General => 07. Sales management
2018-03-16 09:15aferrazSummaryAfter the fix of 0028645 should not be possible to enter a reservation greater than the sales order. However it is possible => After the fix of 28645 should not be possible to enter a reservation greater than the sales order. However it is possible
2018-03-16 09:16aferrazNote Edited: 0103290bug_revision_view_page.php?bugnote_id=0103290#r16866
2018-03-16 09:16aferrazReview Assigned To => aferraz
2018-03-16 09:16aferrazStatusscheduled => closed
2018-03-16 09:16aferrazResolutionopen => no change required
2018-04-13 14:13hgbotCheckin
2018-04-13 14:13hgbotNote Added: 0103881
2018-04-13 14:13hgbotStatusclosed => resolved
2018-04-13 14:13hgbotResolutionno change required => fixed
2018-04-13 14:13hgbotFixed in SCM revision => http://code.openbravo.com/tools/automation/int/rev/0c7bfa3ba610861756b0e48bf28b144226090d98 [^]
2018-04-24 08:47aferrazProjectOpenbravo ERP => QA
2018-04-24 08:47aferrazCategory07. Sales management => Automation - General
2018-04-24 08:48aferrazNote Added: 0104050
2018-04-24 08:48aferrazStatusresolved => closed

Notes
(0103290)
AtulOpenbravo   
2018-03-15 18:05   
(edited on: 2018-03-16 09:16)
As per the feature request 0028645, it is possible to reserve quantity more than sales order quantity. If a goods shipment against such reserved quantities is created against orders with the more quantity, When such shipments are processed, Stock Reservation and Stock Data is updated with the relevant reserved and released quantities. Current behaviour after 0037925 fix is correct and needs to be adapted in Automated Test for 0028618.

(0103291)
AtulOpenbravo   
2018-03-15 18:07   
- Login as QA testing Admin
- Make sure Enable Stock Reservation preference is set with value Yes.
- Check for Product Final good C, Is Quantity Variable flag is set as Yes.
- Navigate to Sales Order window and create one record.
- In Header set Business Partner: Customer A, Document Type: Standard Order.
- In line add Product Final good C, Ordered Quantity = 1, Stock Reservation :Automatic.
- Book Order.
- Navigate to Lines, select previously created line, click on Manage Reservation button, set Quantity = 2.
- Navigate to Stock Reservation window and filter record by the previously created Sales Order Line.
- Realize that Reserved Quantity = 2, Quantity = 1, Released = 0.
- Navigate to Goods shipment window, create one against the above Sales Order and its Line.
- Edit Goods shipment line and set quantity as 2.
- Complete the Goods shipment.
- Navigate to Stock Reservation window and filter record by previously created Sales Order Line.
- Realize that Reserved Quantity = 2, Released = 2
- In Stock tab, Quantity = 2, Released = 2
(0103881)
hgbot   
2018-04-13 14:13   
Repository: tools/automation/int
Changeset: 0c7bfa3ba610861756b0e48bf28b144226090d98
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Mar 15 01:03:50 2018 +0530
URL: http://code.openbravo.com/tools/automation/int/rev/0c7bfa3ba610861756b0e48bf28b144226090d98 [^]

Fixes Issue 0038093:Compare appropriate reserved
and released quantities in resreg3 automated tests

** When Goods Shipment against order having reserved
quantity more than order quantity is completed with
quantity as per reserved quantity, Reserved and
Released quantities in Stock Reservation and Stock Data
are updated as per reserved quantity and shipped
quantity. Reservation Regression 3 Automated test needs
to compare appropriate quantities accordingly.

---
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/reservation/testsuites/RES_Regressions/RES_Regressions3/RESRegression28618.java
---
(0104050)
aferraz   
2018-04-24 08:48   
Reviewed