From 4d41ad573549835d2277a9ac1f85bb1d63c62437 Mon Sep 17 00:00:00 2001 From: Steve Ireland Date: Tue, 29 May 2018 19:45:14 -0400 Subject: [PATCH] Insure that the receiving_quantity is not zero --- application/migrations/sqlscripts/3.2.0_to_3.2.1.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/migrations/sqlscripts/3.2.0_to_3.2.1.sql b/application/migrations/sqlscripts/3.2.0_to_3.2.1.sql index 0baf01230..d7c93906b 100644 --- a/application/migrations/sqlscripts/3.2.0_to_3.2.1.sql +++ b/application/migrations/sqlscripts/3.2.0_to_3.2.1.sql @@ -19,3 +19,8 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES INSERT INTO `ospos_app_config` (`key`, `value`) VALUES ('print_delay_autoreturn', '0'); + + +-- Insure that the receiving quantity is not zero + +UPDATE ospos_receivings_items SET receiving_quantity = 1 WHERE receiving_quantity = 0;