Tags

Ultimate Order Combination – Testing Cases

Case 1: (Advanced Version)

Start from beginning 0 orders in Db

Reports are at 0;

Order #441 product 1 Stock before combination 200
Order #442 product 2 Stock before combination 200

Total Orders in list  before combination 24 after combination 25

Report total sale 2278.07

Report net Sale  2068.44

Report Orders 24

Report Item Sold 48

Step 1

. After Combining selecting Remove Original Orders “none”

#705

Total Orders in list 60

Product 1 stock 200, Product 2 stock 200

Report total sale 2278.07
Report net Sale  2068.44
Report Orders 24
Report Item Sold 48

Step 2

 After Combining selecting Remove Original Orders “Move original orders to trash”

Total Orders in list 8 (One Order #705 Combined in step 1 and One Order #706 combined in step 2 and others are existing)

Product 1 stock 200, Product 2 stock 200

Report total sale 2278.07
Report net Sale  2068.44
Report Orders 24
Report Item Sold 48

Order 421 | 424 | 427 in trash,

Step 3

 Restore 421 | 424 | 427 from trash

Total Orders in list 8 (421, 424, 427, 425, 444, 446, 447, 706)

Product 1 stock 200 , Product 2 stock 200

Report total sale 2278.07
Report net Sale  2068.44
Report Orders 24
Report Item Sold 48

Trash is empty.

Step 4

 After Combining selecting Remove Original Orders “Delete original orders permanently”

Total Orders in list 8 (421, 424, 427, 425, 444, 446, 447, 706) as 421, 424, 427 are deleted permanently

Report total sale 1401.67
Report new Sale 1251.67
Report Orders 25
Report Item Sold 37
Report Orders 23

Report Item Sold 37