(0089315)
|
markmm82
|
2016-08-23 17:30
(edited on: 2016-09-06 10:31) |
|
As group admin role:
- Add the Enable Stock Reservations preference
- Log out and log in
Test Plan 1
1. Create a Sales Order for a quantity = 10
2. Add a product with stock in an on hand warehouse (Available stock = 100 units in storage bin RN-1-0-0, for instance).
3. Book it
4. Click on Manage Reservation button and reserve the stock (Allocated = 'N')
5. Create the Goods Shipment by the Create Shipments From Orders process
6. Check the Released quantity has been updated in the reservation
7. Go to Goods Shipment window and void the previously created record
8. Check a new reservation has been created for the sales order line
9. Try to close the order and check no error message is raised and the order is closed.
Test Plan 2
Repeat the 1-3 steps by selecting the Automatic Stock Reservation option at sales order line
Repeat the 5-9 steps. Notice you are able to close the order.
Test Plan 3
Repeat the 1-3 steps by selecting the Manual Stock Reservation option at sales order line
Repeat the 5-9 steps. Notice you are able to close the order.
Check that the sales order can be closed without any problem and the new created reservation, changes as below:
Quantity = Reserved Qty = Released = 0 units.
Status = Completed
If you try now to reserve same product, available qty = 100
Test Plan 4
Repeat same test as above for a product having stock in two different storage bins. Create a sales order for 2 units, reserve 1 unit from each storage bin, manually create the shipment. Check reservation is updated as Closed, Released quantity = 2. Void the shipment. Check a new reservation is created.
Check that the sales order can be closed without any problem and the new created reservation, changes as below:
Quantity = Reserved Qty = Released = 0 units.
Status = Completed
-----
Test Plan 5 (related issue 31799)
- Create a Sales Order, add two products with stock and Isquantityvariable = 'N'. Book it.
Realize header and lines reservation status is "Not Reserved".
- Select first line and create a reservation with the same quantity as ordered quantity.
Realize line reservation status is set to "Completely Reserved".
Realize header reservation status is set to "Partially Reserved".
- Select second line and create a reservation with the same quantity as ordered quantity.
Realize line reservation status is set to "Completely Reserved".
Realize header reservation status is set to "Completely Reserved".
- Check in Stock Reservation window, two related reservations are created with "Completed" status.
- Go to Goods Shipment window, create a header and select the previously created sales order lines. Complete it.
Realize sales order header and lines reservation status is still "Completely Reserved".
- Check in Stock Reservation window, two related reservations are updated to "Closed" status.
- Void created Goods Shipment.
Check process finishes successfully.
Realize sales order header and lines reservation status is still "Completely Reserved".
- Check in Stock Reservation window, two new reservations are created, related to the same sales order lines as previous ones, with "Completed" status.
Test Plan 6 (related issue 31799)
- Create a Sales Order for "Alimentos y Supermercados, S.A" business partner. Add a line with a product with stock and Isquantityvariable = 'Y'. Book it.
Realize header and line reservation status is "Not Reserved".
Realize a second line with "Descuento 10%" product is added.
- Add a reservation for the first line with less quantity as ordered quantity.
Realize both header and line reservation status is set to "Partially Reserved".
- Update reservation with same quantity as ordered quantity.
Realize both header and line reservation status is set to "Completely Reserved".
- Update reservation with more quantity as ordered quantity.
Realize both header and line reservation status is set to "Completely Reserved".
-----
Test Plan 7 (related issue 32390)
- Create three sales orders of 10 units
- Reserve the 10 units of the three orders and set the reservations as allocated
- Create a goods shipment with 2, 5 and 8 units of each sales order respectively
- Try to close any of previous sales orders (with 2,5,8 units released) and check the following error message is shown:
"There is more allocated quantity than ordered quantity"
Test Plan 6 (related issue 32390)
- Create a product named "Test A" in F&B España.
- Relate it to a purchase price list (Tarifa Bebidas Alegres) and a sales price list (Tarifa de Ventas).
- Create a goods receipt of 40 units.
- Create a sales orders of 10 units
- Reserve the 10 units as allocated
- Create a goods shipment for 2 units by using "Create Lines From" process
- After that try to close the sales order.
- Check the following error message is shown, which is correct:
"There is more allocated quantity than ordered quantity"
Either:
- Set allocated quantity to 2, same as released quantity by using "Manage Reservation" button
- or remove allocated check by using "Manage Reservation" button
Press Done.
Close the order
Repeat same steps as above but creating each a sales order for 10 units but shipping 5, 8 and 10 units, each time.
In the case of shipping 10 units, there is not need to execute any further action but to close the order, as the full order is shipped.
-----
Test Plan 8 (related issue 31902)
- Create a product for F&B España and add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas" .
- Create a receipt for created product, qty=29 in RN-0-0-0 locator.
- Create a sales order, add the previously created product and qty=15. Complete it.
- Add a complete reservation to it (qty=15 in RN-0-0-0).
- Realize a stock reservation has been created with qty=15, reserved qty=15, released=0 and a line with qty=15 released=0 in RN-0-0-0.
- Create a shipment from sales order with qty=15 in RN-0-0-0. Complete it.
- Realize stock reservation has been closed with qty=15, reserved qty=15, released=15 and line with qty=15 released=15 in RN-0-0-0.
- Void shipment.
- Realize a new stock reservation has been created in completed status with qty=15, reserved qty=15, released=0 and line with qty=15 released=0 in RN-0-0-0.
Test Plan 9 (related issue 31902)
- Create a product named "31902 I" for F&B España and add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas".
- Create another product named "31902 II" for F&B España and add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas".
- Create a purchase order for F&B España with below data:
Product "31902 I", qty ordered = 40
Product "31902 II", qty ordered = 60
Book the order.
- Create a receipt for created products:
Product "31902 I", qty received = 15 in RN-0-0-0
Product "31902 II", qty received = 20 in RN-1-0-0
Book the receipt.
- Create a sales order, add the previously created products:
Product "31902 I", qty ordered = 15
Product "31902 II", qty ordered = 20
- Add a complete reservation of each line
Product "31902 I", qty reserved = 15 in RN-0-0-0
Product "31902 II", qty reserved = 20 in RN-1-0-0
- Check that two stock reservations, one for each product, have been created:
For the first product "31902 I", qty= 15, Reserved Qty=15, Released = 0
For the second product "31902 II", qty=20, Reserved Qty=20, Released = 0
- Create a shipment from sales order for both products, full quantity each. Complete it.
- Check that stock reservations have changed its status to "Closed" with below data:
For the first product "31902 I", qty= 15, Reserved Qty=15, Released = 15
For the second product "31902 II", qty=20, Reserved Qty=20, Released = 20
- Void shipment.
- Check that two new stock reservations have been created in status "Completed" with below data:
For the first product "31902 I", qty= 15, Reserved Qty=15, Released = 0
For the second product "31902 II", qty=20, Reserved Qty=20, Released = 0
Test Plan 10 (related issue 31902)
- Repeat Test Plan 8 above until
- Create a shipment from sales order for both products, but this time do not ship the full quantity but part of it, therefore:
Product "31902 I", qty shipped = 5 from RN-0-0-0
Product "31902 II", qty shipped = 10 from RN-1-0-0
- Check that the two stock reservations have been updated therefore release qty shown is no longer 0 units but the corresponding qty (5 and 10)
- Create a new shipment for part of qty:
Product "31902 I", qty shipped = 7 from RN-0-0-0
Product "31902 II", qty shipped = 3f rom RN-1-0-0
Complete it.
- Check that stock reservations have been updated therefore release qty shown now is (5+7=12 and 10+3=13)
- Void second shipment, no error is shown.
- Check that stock reservation is still on "Completed" status and released qty is now back to 5 and 10
Test Plan 11 (related issue 31902)
- Repeat test plan 9 until
- Create a new shipment for part of qty, but this time ship all remaining quantity.
Product "31902 I", qty shipped = 10 from RN-0-0-0
Product "31902 II", qty shipped = 10 from RN-1-0-0
Complete it.
- Check that stock reservations have been updated therefore release qty shown is (5+10= 15 and 10+10= 20); full quantity of the sales order. Check also that the status of the stock reservation is now "Closed"
- Void second shipment
- Check that two new stock reservations have been created in status "Completed" with below information:
Stock Reservation 1 for Product "31902 I", qty= 15, reserved qty= 10, released=0
Stock Reservation 2 for Product "31902 II", qty= 20, reserved qty= 10, released=0
------
Test Plan 12 (related issue 31956)
- Create a product for España and add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas" .
- Create a receipt for created product, qty=25 in RN-0-0-0 locator.
- Create another receipt for created product, qty= 25 in RN-1-0-0 locator.
- Create a sales order, add the previously created product and qty=50. Complete it.
- Add a complete reservation to it (qty=25 in RN-0-0-0 and qty = 25 in RN-1-0-0).
- Realize a stock reservation has been created with qty=50, reserved qty=50, released=0 and two lines one per each locator with qty=25 released=0
- Create a shipment from sales order with two lines one per each locator, qty=25 each. Complete it.
- Realize stock reservation has been closed with qty=50, reserved qty=50, released=50 and two lines one per each locator with qty=25 released=25
- Void the shipment.
- Realize a new stock reservation has been created in completed status with qty=50, reserved qty=50, released=0 and two lines one per each locator with qty=25 released=0
Test Plan 13 (related issue 31956)
- Create a product for España and add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas" .
- Create a receipt for created product, qty=25 in RN-0-0-0 locator.
- Create another receipt for created product, qty= 25 in RN-1-0-0 locator.
- Create a sales order, add the previously created product and qty=50. Complete it.
- Add a complete reservation to it (qty=25 in RN-0-0-0 and qty = 25 in RN-1-0-0).
- Realize a stock reservation has been created with qty=50, reserved qty=50, released=0 and two lines one per each locator with qty=25 released=0
- Create a shipment from sales order with two lines:
Qty = 20 from RN-0-0-0
Qty = 20 from Rn-1-0-0
Complete it.
- Check that the stock reservation has been updated with qty=50, reserved qty=50, released=40 and two lines one per each locator with qty=25 released=20
- Create another shipment from sales order with two lines:
Qty = 5 from RN-0-0-0
Qty = 5 from Rn-1-0-0
Complete it.
- Check that the stock reservation has been updated to Closed with qty=50, reserved qty=50, released=50 and two lines one per each locator with qty=25 released=25
Void the second shipment.
Realize a new stock reservation has been created in completed status with qty=50, reserved qty=10, released=0 and two lines one per each locator with qty=5 released=0
-----
Test Plan 14 (related issue 32078)
- Create a product for España named "32078 A"
- Add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas" .
- Create a receipt for created product with qty=10 in RN-0-0-0 locator.
- Create a sales order, add the previously created product and qty=10. Complete it.
- Add a reservation to it of qty=7 in RN-0-0-0.
Realize a stock reservation has been created with qty=10, reserved qty=7, released=0 and a line with qty=7 released=0 in RN-0-0-0.
- Create another receipt for the same product. This time received 100 units in the storage bin RN-1-0-0. Complete it.
- Create a sales order, add previously created product and qty = 50. Complete it.
- Add reservation to it of qty=50 from RN-1-0-0.
Realize that a new stock reservation has been created with qty = 50, Reserved qty= 50
Test Plan 15 (related issue 32078)
- Create a product for España named "32078 B"
- Add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas".
- Create a Purchase Order for that product and qty=10. Book it.
- Create a Sales Order for the same product and qty=10. Book it.
- Go to the line, click on Manage Reservation button and select the purchase order line and enter 10 in the column Quantity.
- Realize a stock reservation has been created with qty=10, reserved qty=10, released=0 and a line related with purchase order line with qty=10 and released=0.
- Create another Purchase Order for that product and qty=100. Book it.
- Create a Sales Order for the same product and qty=90. Book it.
- Go to the line, click on Manage Reservation button and select the purchase order line and enter 50 in the column Quantity.
- Realize a stock reservation has been created with qty=90, reserved qty=50, released=0.
- Create a Goods Receipt from the purchase order, receipt all 100 units in storage bin RN-1-0-0.Complete it.
- Create a Goods Shipment from the sales order, to ship 90 units from the storage bin RN-1-0-0. Complete it.
- Go to the Stock reservation and verify it has changed as below:
- Quantity = 90
- Reserved Qty = 90
- Released = 90
|
|