INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 07:18:46";
UPDATE user SET loginip = "197.32.147.47", lastactivetime = "2024-02-26 10:48:46", deviceType = "DESKTOP" WHERE userid = 3;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 10:48:46', '3', '', '197.32.147.47', '', 'DESKTOP');
UPDATE programsettings SET companyname = 'GT4', address = 'المنصورة', specializtion = 'jh', phone = '01002019235', faxnumber = '0502232923', email = 'mrabozied@gt4it.com', website = 'www.gt4host.com', logo = '471502e62c0be89a8d90663028144a83.jpg', roundnumbers = '0', saveprinting = '1', deptprinting = '0', printingpapersize = '0', userid = '1', showPreviousPrice = '0', parcode = '0', priceing = '0', lastprice = '0', searchvalue = '1', updateproductprice = '0', allowfinsldelete = '0', updateclientprice = '0', `partition` = '0', taxcard = '332', commercialregistration = '3213123312', costcenter = '1', clinic = '1', workshop = '1', transport = '1', manufacturing = '0', masterCopy = '0' , dailyentrydate = '2020-04-18' ,updatefiledate = '2024-02-26',workerbetweenstores = '1',workshoptimeout = '24',drivertimeout = '3',currancy = 'جنيه',serial='9c2d4cf4cf5d4e24d5070164705832c3a5d1287f641a2960e48e04ae57a2ad0a5441322ca7cf34efd63003fdb348adbd0b61197c7c87d8dd5bc298c352482bc6',allowdateedit = '0', clientcode = '1' ,clientserial = '1',timezone = 'Africa/Cairo' , expiredate ='1' , production ='1' , description='1' , service ='1' , date='1' , limitamount = '0' , measuringunit = '1' , print_amount = '0' , billid = '0' , precentages = '1' , realprice = '1' ,delegate_seller = '0' , storeserial = '1' ,clientfieldrequired ='0' , clientcodname='0' , colortype = '0' , nakdyOnly = '0' , nakdyKashf = '0' , discount_pres_direct = '0' , general_discount = '0' , sells_return = '0' ,scunitname ='0',vatValue = '0.00',syncstructure = '1',showPrevPrices = '0',isOpticProg='1',reportsPlusHours = '2' , showM5zon = '1',restaurantStoreId = '1',restuarantPrintTimeout = '8',sumSameProductForStore = '0', editAllPrice = '1', isCafe = '0' ,isRestaurent = '0' ,productDays = '0',thereIsRestTax = '0',restTaxVal = '0',restPrintLang = '0',taxNameFlag = '0',parcodeDigits = '5' ,specializedParcodeDigits = '7', clientDefaultDebtLimit = '10000' , clientDefaultDebtLimitControl = '0',usedParcode = '0' ,productbycodeimage = '' ,commentClient='تعليق على العميل ',Inventoryevaluation='first',Profitevaluation='first' , delivery='-2',premiums = '0',operationnumEdit = '0',noOfDecimalPlaces = '2',unReviewBills = '0', unReviewBillsPass = '123',billReviewNote = '',tamweenBakery = '0',three_months = '0',six_months = '0',twelve_months = '0',eighteen_months = '0',twentyfour_months = '0',thirty_months = '0',sixthirty_months = '0',fortytwo_months = '0',fortyeight_months = '0',mandobCollectionRatio='0',takeAwayClient = '0',restaurantServiceOn = ',-2,-1,1,',earlyrepayment = '0',visaPay = '0',headerPrint='',headerPrintSand='',printSand='0',makeDailyEntry='0',clientShowTawla='0',billRest='1',suppIsClientToo='0',isCarBill='0',expensesproduct='1',projectshownew='1',showparcode='0',changeBuyPriceChangeSellInBuyBillCtrl = '0',changeBuyPriceChangeSellInProductCtrl = '0',inventoryvaluation = '1',showBillCollectionSearch='0' WHERE programsettingsid = '1';
UPDATE programsettings SET companyname = 'GT4', address = 'المنصورة', specializtion = 'jh', phone = '01002019235', faxnumber = '0502232923', email = 'mrabozied@gt4it.com', website = 'www.gt4host.com', logo = '471502e62c0be89a8d90663028144a83.jpg', roundnumbers = '0', saveprinting = '1', deptprinting = '0', printingpapersize = '0', userid = '1', showPreviousPrice = '0', parcode = '0', priceing = '0', lastprice = '0', searchvalue = '1', updateproductprice = '0', allowfinsldelete = '0', updateclientprice = '0', `partition` = '0', taxcard = '332', commercialregistration = '3213123312', costcenter = '1', clinic = '1', workshop = '1', transport = '1', manufacturing = '0', masterCopy = '0' , dailyentrydate = '2020-04-18' ,updatefiledate = '2024-02-26',workerbetweenstores = '1',workshoptimeout = '24',drivertimeout = '3',currancy = 'جنيه',serial='9c2d4cf4cf5d4e24d5070164705832c3a5d1287f641a2960e48e04ae57a2ad0a5441322ca7cf34efd63003fdb348adbd0b61197c7c87d8dd5bc298c352482bc6',allowdateedit = '0', clientcode = '1' ,clientserial = '1',timezone = 'Africa/Cairo' , expiredate ='1' , production ='1' , description='1' , service ='1' , date='1' , limitamount = '0' , measuringunit = '1' , print_amount = '0' , billid = '0' , precentages = '1' , realprice = '1' ,delegate_seller = '0' , storeserial = '1' ,clientfieldrequired ='0' , clientcodname='0' , colortype = '0' , nakdyOnly = '0' , nakdyKashf = '0' , discount_pres_direct = '0' , general_discount = '0' , sells_return = '0' ,scunitname ='0',vatValue = '0.00',syncstructure = '1',showPrevPrices = '0',isOpticProg='1',reportsPlusHours = '2' , showM5zon = '1',restaurantStoreId = '1',restuarantPrintTimeout = '8',sumSameProductForStore = '0', editAllPrice = '1', isCafe = '0' ,isRestaurent = '0' ,productDays = '0',thereIsRestTax = '0',restTaxVal = '0',restPrintLang = '0',taxNameFlag = '0',parcodeDigits = '5' ,specializedParcodeDigits = '7', clientDefaultDebtLimit = '10000' , clientDefaultDebtLimitControl = '0',usedParcode = '0' ,productbycodeimage = '' ,commentClient='تعليق على العميل ',Inventoryevaluation='first',Profitevaluation='first' , delivery='-2',premiums = '0',operationnumEdit = '0',noOfDecimalPlaces = '2',unReviewBills = '0', unReviewBillsPass = '123',billReviewNote = '',tamweenBakery = '0',three_months = '0',six_months = '0',twelve_months = '0',eighteen_months = '0',twentyfour_months = '0',thirty_months = '0',sixthirty_months = '0',fortytwo_months = '0',fortyeight_months = '0',mandobCollectionRatio='0',takeAwayClient = '0',restaurantServiceOn = ',-2,-1,1,',earlyrepayment = '0',visaPay = '0',headerPrint='',headerPrintSand='',printSand='0',makeDailyEntry='0',clientShowTawla='0',billRest='1',suppIsClientToo='0',isCarBill='0',expensesproduct='1',projectshownew='1',showparcode='0',changeBuyPriceChangeSellInBuyBillCtrl = '0',changeBuyPriceChangeSellInProductCtrl = '0',inventoryvaluation = '1',showBillCollectionSearch='0' WHERE programsettingsid = '1';
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 07:18:50";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 07:18:55";
UPDATE user SET loginip = "197.32.147.47", lastactivetime = "2024-02-26 10:48:55", deviceType = "DESKTOP" WHERE userid = 3;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 10:48:55', '3', 'addsellBill', '197.32.147.47', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:14:22";
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:14:27";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 11:44:27", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 11:44:27', '4', '', '197.35.245.191', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:14:27";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:14:31";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 11:44:31", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 11:44:31', '4', 'addsellBill', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:14:31";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 11:44:31", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 11:44:31', '4', 'addsellBill', '197.35.245.191', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:18:13";
UPDATE user SET loginip = "197.32.147.47", lastactivetime = "2024-02-26 11:48:13", deviceType = "DESKTOP" WHERE userid = 3;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 11:48:13', '3', '', '197.32.147.47', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:18:14";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:18:16";
UPDATE user SET loginip = "197.32.147.47", lastactivetime = "2024-02-26 11:48:16", deviceType = "DESKTOP" WHERE userid = 3;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 11:48:16', '3', 'addsellBill', '197.32.147.47', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:42:05";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:12:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 12:12:05', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:42:05";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:42:10";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:12:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:12:10', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:45:57";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:15:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:15:57', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5546';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1518', '8', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5545';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1516', '8', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5540';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1285', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5538';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5526';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '8', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5516';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '8', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5513';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('532', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5512';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '8', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5509';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1505', '8', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5505';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1504', '8', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5503';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1502', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5502';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1501', '8', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5489';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5488';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5486';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1493', '8', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5470';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1491', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5469';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1490', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5461';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1489', '8', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5459';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1487', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5437';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1480', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5436';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1481', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5424';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1462', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5423';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1464', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5422';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5421';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1460', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5420';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1463', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5419';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5375';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1175', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5370';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1457', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5351';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1396', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5347';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1453', '8', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5337';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1452', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5334';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('267', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5323';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1346', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5318';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1445', '8', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5317';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1446', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5310';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1443', '8', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5286';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1434', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5279';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1432', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5274';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1426', '8', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5254';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1425', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5235';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1418', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5225';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1415', '8', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5192';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1401', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5191';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1402', '8', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5176';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1398', '8', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5164';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('441', '8', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5151';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1393', '8', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5137';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1390', '8', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5128';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1387', '8', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5093';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1374', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5087';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1296', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5080';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('581', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5073';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1370', '8', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5038';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1358', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5035';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1357', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5031';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1356', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5028';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1355', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4972';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('461', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4971';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('610', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4959';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1332', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4956';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('398', '8', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4952';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1330', '8', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4951';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1331', '8', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4940';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1286', '8', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4939';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1294', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4938';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1329', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4909';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1321', '8', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4850';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1305', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4829';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1299', '8', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4828';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1297', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4827';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1298', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4826';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1295', '8', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4771';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1220', '8', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4770';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1225', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4713';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1281', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4712';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1271', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4711';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1229', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4710';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1224', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4709';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1232', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4708';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1280', '8', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4678';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1231', '8', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4677';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1226', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4676';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1230', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4598';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1236', '8', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4597';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('664', '8', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4595';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('534', '8', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4594';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('529', '8', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4593';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('27', '8', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4592';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('163', '8', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4532';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1218', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4531';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1219', '8', '34', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '34.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4530';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1235', '8', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4529';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1221', '8', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4528';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1222', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4527';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1127', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4526';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1223', '8', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4400';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1189', '8', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4368';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1185', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4362';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4306';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1172', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4305';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4264';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4249';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4197';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('124', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4196';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('125', '8', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4151';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1133', '8', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:46:11";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:16:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:16:11', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:46:25";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:16:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('productController.php', '2024-02-26 12:16:25', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:46:36";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:16:36", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 12:16:36', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:46:45";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:16:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 12:16:45', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:47:57";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:17:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:17:57', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:49:20";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:19:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:19:21', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4363';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3168';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('963', '8', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2042';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('660', '8', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1569';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('216', '8', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:49:23";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:19:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:19:23', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:49:33";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:19:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 12:19:33', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:49:40";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:19:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 12:19:40', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:49:58";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:19:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 12:19:58', '1', '', '156.210.115.101', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:54:40";
UPDATE user SET loginip = "197.63.243.170", lastactivetime = "2024-02-26 12:24:40", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 12:24:40', '8', '', '197.63.243.170', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:54:41";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:54:44";
UPDATE user SET loginip = "197.63.243.170", lastactivetime = "2024-02-26 12:24:44", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 12:24:44', '8', 'addsellBill', '197.63.243.170', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:58:00";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:28:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 12:28:01', '1', 'add', '156.210.115.101', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS insertUniqueOptNum;;

CREATE PROCEDURE insertUniqueOptNum(IN optnum INT,IN storeidfrom INT,IN storeidto INT,IN productid INT,IN transferproductamount DECIMAL(10,2),IN transferproductdate DATE,IN userid INT,IN conditions INT,IN `comment` TEXT,IN deloperationnum INT,IN sizeid INT,IN colorid INT,IN driverid INT,IN drivertimeout INT,IN driverdate datetime,IN delivererid INT,IN deliverdate datetime,OUT inserted_id INT,OUT optnum_used INT)
BEGIN
DECLARE n INT DEFAULT 0;
DECLARE id INT DEFAULT 0;
DECLARE lastopt INT DEFAULT 0;


DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
    ROLLBACK;
    GET DIAGNOSTICS CONDITION 1 @sqlstate = RETURNED_SQLSTATE,
     @errno = MYSQL_ERRNO, @text = MESSAGE_TEXT;
    SET @full_error = CONCAT("ERROR ", @errno, " (", @sqlstate, "): ", @text);
    SELECT @full_error;
    ROLLBACK;
END;



START TRANSACTION;


SELECT COUNT(*) FROM storemovement WHERE `operationnum` = optnum INTO n;
SELECT DISTINCT operationnum FROM storemovement WHERE operationnum != 0  ORDER BY operationnum DESC limit 1 INTO lastopt;
set lastopt = lastopt+1;

	IF n > 0 THEN


      INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,comment ,
                lastopt,
                deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),lastopt INTO inserted_id,optnum_used;
ELSE

    INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid,transferproductamount, transferproductdate, userid, conditions ,comment
                ,optnum
                ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),optnum INTO inserted_id,optnum_used;
	END IF;

COMMIT WORK; -- it is mandatory dont wait comit in php.as if sp didnot found comit before reaching the end it will rollback giving no errors at all

End;
;;

;
BEGIN;
CALL insertUniqueOptNum(1792,1,8,385,13,'2024-02-26',1,0, '' ,0,0,0,0,0,'2024-02-26 12:28:01',0,'',@id,@optnum);
UPDATE storedetail SET  productquantity = '-29', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '385';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 385, 0, 0
                    , 185.00, -13, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 185.00,
                        buyQuantity =buyQuantity+-13, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "13*2024-02-26*185.00," WHERE transferproductid = 7896;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('385', '1', '13', '1', '7896', 'تحويل منتجات من المخزن', 'storemovementController.php', '-16.00', '-29', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '13', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1180';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 385, 0, 0
                    , 185.00, 13, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+13, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('385', '8', '13', '0', '7896', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '13', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1185', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4364';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1185, 0, 0
                    , 290.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 290.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*290.00," WHERE transferproductid = 7897;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1185', '1', '1', '1', '7897', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4368';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1185, 0, 0
                    , 290.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1185', '8', '1', '0', '7897', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1458', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5371';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1458, 0, 0
                    , 250.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 250.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*250.00," WHERE transferproductid = 7898;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '1', '1', '1', '7898', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5419';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1458, 0, 0
                    , 250.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '8', '1', '0', '7898', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1300', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4832';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1300, 0, 0
                    , 275.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 275.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*275.00," WHERE transferproductid = 7899;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1300', '1', '1', '1', '7899', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('1300', '8', '1', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1300, 0, 0
                    , 275.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1300', '8', '1', '0', '7899', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1163', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-15', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4241';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1163, 0, 0
                    , 270.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*270.00," WHERE transferproductid = 7900;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '1', '1', '1', '7900', 'تحويل منتجات من المخزن', 'storemovementController.php', '-14.00', '-15', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4249';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1163, 0, 0
                    , 270.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '8', '1', '0', '7900', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1183', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-21', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4347';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1183, 0, 0
                    , 160.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 160.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*160.00," WHERE transferproductid = 7901;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '1', '1', '1', '7901', 'تحويل منتجات من المخزن', 'storemovementController.php', '-20.00', '-21', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4363';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1183, 0, 0
                    , 160.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '8', '1', '0', '7901', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '456', '8', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '456';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 456, 0, 0
                    , 240.00, -8, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 240.00,
                        buyQuantity =buyQuantity+-8, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "8*2024-02-26*240.00," WHERE transferproductid = 7902;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('456', '1', '8', '1', '7902', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-8', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('456', '8', '8', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 456, 0, 0
                    , 240.00, 8, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+8, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('456', '8', '8', '0', '7902', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '8', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1160', '2', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4238';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1160, 0, 0
                    , 270.00, -2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*270.00," WHERE transferproductid = 7903;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '1', '2', '1', '7903', 'تحويل منتجات من المخزن', 'storemovementController.php', '1.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4246';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1160, 0, 0
                    , 270.00, 2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '8', '2', '0', '7903', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '617', '2', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1881';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 617, 0, 0
                    , 220.00, -2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 220.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*220.00," WHERE transferproductid = 7904;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('617', '1', '2', '1', '7904', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1890';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 617, 0, 0
                    , 220.00, 2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('617', '8', '2', '0', '7904', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1182', '2', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4346';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1182, 0, 0
                    , 260.00, -2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 260.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*260.00," WHERE transferproductid = 7905;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '1', '2', '1', '7905', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4362';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1182, 0, 0
                    , 260.00, 2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '8', '2', '0', '7905', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1505', '8', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5507';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1505, 0, 0
                    , 300.00, -8, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-8, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "8*2024-02-26*300.00," WHERE transferproductid = 7906;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1505', '1', '8', '1', '7906', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-8', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5509';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1505, 0, 0
                    , 300.00, 8, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+8, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1505', '8', '8', '0', '7906', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '8', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '466', '10', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '22', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '466';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 466, 0, 0
                    , 240.00, -10, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 240.00,
                        buyQuantity =buyQuantity+-10, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "10*2024-02-26*240.00," WHERE transferproductid = 7907;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '1', '10', '1', '7907', 'تحويل منتجات من المخزن', 'storemovementController.php', '32.00', '22', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '10', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1196';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 466, 0, 0
                    , 240.00, 10, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+10, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '8', '10', '0', '7907', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '10', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1506', '17', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-74', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5510';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1506, 0, 0
                    , 345.00, -17, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 345.00,
                        buyQuantity =buyQuantity+-17, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "17*2024-02-26*345.00," WHERE transferproductid = 7908;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '1', '17', '1', '7908', 'تحويل منتجات من المخزن', 'storemovementController.php', '-57.00', '-74', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '17', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5512';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1506, 0, 0
                    , 345.00, 17, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+17, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '8', '17', '0', '7908', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '17', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1492', '7', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5464';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1492, 0, 0
                    , 300.00, -7, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-7, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "7*2024-02-26*300.00," WHERE transferproductid = 7909;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '1', '7', '1', '7909', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-7', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5489';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1492, 0, 0
                    , 300.00, 7, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+7, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '8', '7', '0', '7909', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '7', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1480', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5425';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1480, 0, 0
                    , 290.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 290.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*290.00," WHERE transferproductid = 7910;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1480', '1', '1', '1', '7910', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5437';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1480, 0, 0
                    , 290.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1480', '8', '1', '0', '7910', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1509', '6', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5520';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1509, 0, 0
                    , 380.00, -6, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 380.00,
                        buyQuantity =buyQuantity+-6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "6*2024-02-26*380.00," WHERE transferproductid = 7911;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '1', '6', '1', '7911', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-6', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5526';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1509, 0, 0
                    , 380.00, 6, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '8', '6', '0', '7911', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '6', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1504', '3', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5504';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1504, 0, 0
                    , 390.00, -3, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 390.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*390.00," WHERE transferproductid = 7912;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1504', '1', '3', '1', '7912', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-4', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5505';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1504, 0, 0
                    , 390.00, 3, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1504', '8', '3', '0', '7912', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1502', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-17', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5495';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1502, 0, 0
                    , 380.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 380.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*380.00," WHERE transferproductid = 7913;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1502', '1', '1', '1', '7913', 'تحويل منتجات من المخزن', 'storemovementController.php', '-16.00', '-17', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5503';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1502, 0, 0
                    , 380.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1502', '8', '1', '0', '7913', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1507', '9', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-37', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5515';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1507, 0, 0
                    , 400.00, -9, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 400.00,
                        buyQuantity =buyQuantity+-9, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "9*2024-02-26*400.00," WHERE transferproductid = 7914;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '1', '9', '1', '7914', 'تحويل منتجات من المخزن', 'storemovementController.php', '-28.00', '-37', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '9', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5516';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1507, 0, 0
                    , 400.00, 9, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+9, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '8', '9', '0', '7914', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '9', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1495', '2', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-30', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5473';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1495, 0, 0
                    , 350.00, -2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 350.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*350.00," WHERE transferproductid = 7915;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '1', '2', '1', '7915', 'تحويل منتجات من المخزن', 'storemovementController.php', '-28.00', '-30', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5488';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1495, 0, 0
                    , 350.00, 2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '8', '2', '0', '7915', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '519', '10', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-10', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '519';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 519, 0, 0
                    , 175.00, -10, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 175.00,
                        buyQuantity =buyQuantity+-10, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "10*2024-02-26*175.00," WHERE transferproductid = 7916;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('519', '1', '10', '1', '7916', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-10', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('519', '8', '10', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 519, 0, 0
                    , 175.00, 10, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+10, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('519', '8', '10', '0', '7916', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '10', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1493', '19', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-70', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5471';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1493, 0, 0
                    , 350.00, -19, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 350.00,
                        buyQuantity =buyQuantity+-19, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "19*2024-02-26*350.00," WHERE transferproductid = 7917;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1493', '1', '19', '1', '7917', 'تحويل منتجات من المخزن', 'storemovementController.php', '-51.00', '-70', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '19', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5486';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1493, 0, 0
                    , 350.00, 19, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+19, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1493', '8', '19', '0', '7917', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '19', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '518', '7', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '518';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 518, 0, 0
                    , 210.00, -7, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 210.00,
                        buyQuantity =buyQuantity+-7, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "7*2024-02-26*210.00," WHERE transferproductid = 7918;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('518', '1', '7', '1', '7918', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-7', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1208';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 518, 0, 0
                    , 210.00, 7, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+7, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('518', '8', '7', '0', '7918', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '7', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1459', '1', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-61', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5372';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1459, 0, 0
                    , 255.00, -1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 255.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*255.00," WHERE transferproductid = 7919;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1459', '1', '1', '1', '7919', 'تحويل منتجات من المخزن', 'storemovementController.php', '-60.00', '-61', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5418';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1459, 0, 0
                    , 255.00, 1, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1459', '8', '1', '0', '7919', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '8', '1171', '2', '2024-02-26', '1', '0','1792',null,null,'2024-02-26 12:28:01',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4297';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1171, 0, 0
                    , 270.00, -2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*270.00," WHERE transferproductid = 7920;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '1', '2', '1', '7920', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4305';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1171, 0, 0
                    , 270.00, 2, 0, 0, 1, '2024-02-26 12:28:01')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:28:01' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '8', '2', '0', '7920', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 08:58:01";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:28:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 12:28:02', '1', 'editshow', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:01:45";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:31:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:31:45', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:12:14";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:42:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:42:15', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5555';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1442', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5554';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('861', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5553';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('922', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5552';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1250', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5550';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1265', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5549';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1306', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5539';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '6', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5529';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5519';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1508', '6', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5491';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1499', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5482';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1496', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5481';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5480';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1498', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5415';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1477', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5414';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1476', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5412';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1474', '6', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5411';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1473', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5410';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1472', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5409';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1471', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5406';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1468', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5405';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1467', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5389';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5388';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1465', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5367';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1457', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5365';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1423', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5360';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1456', '6', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5345';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1453', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5338';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1451', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5297';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1437', '6', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5296';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1436', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5295';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1435', '6', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5281';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1432', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5273';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1426', '6', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5272';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1431', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5271';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1430', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5270';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1429', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5269';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1428', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5268';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1427', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5257';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1425', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5256';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1424', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5248';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1422', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5223';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1415', '6', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5221';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1414', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5220';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1413', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5185';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1298', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5184';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1402', '6', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5183';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1289', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5159';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1390', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5158';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1394', '6', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5131';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1388', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5125';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1382', '6', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5123';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1386', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5122';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1385', '6', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5097';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1376', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5096';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1342', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5076';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1371', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5075';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1370', '6', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5059';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1331', '6', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5055';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1366', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5054';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1365', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5053';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1364', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5052';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1363', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5051';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1362', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5041';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1360', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5013';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1351', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5012';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1350', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5011';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1349', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5010';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1348', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5009';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1347', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5008';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1333', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5007';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1330', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5006';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1340', '6', '32', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '32.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5005';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1339', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5004';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1346', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5002';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1345', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4945';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1294', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4931';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1323', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4929';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1313', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4927';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('644', '6', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4916';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1321', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4915';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1253', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4899';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1237', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4898';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1228', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4897';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1238', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4895';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1310', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4894';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1309', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4881';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1319', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4847';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1305', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4845';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1304', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4844';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1301', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4784';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1288', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4782';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('215', '6', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4781';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1281', '6', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4780';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1230', '6', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4779';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1233', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4746';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1283', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4741';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1284', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4740';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1285', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4739';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1224', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4738';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1232', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4736';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1282', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4735';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1226', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4734';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1271', '6', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4733';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1231', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4732';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1280', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4630';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1266', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4629';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1264', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4628';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1258', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4627';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1248', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4626';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1236', '6', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4624';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('411', '6', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4623';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('654', '6', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4621';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('523', '6', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4620';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('13', '6', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4619';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('17', '6', '25', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4541';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1217', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4539';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1219', '6', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4538';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1235', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4537';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1221', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4536';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1222', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4534';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1223', '6', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4479';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1201', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4478';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1212', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4359';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4358';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4321';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1174', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4285';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1165', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4276';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1151', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4273';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1155', '6', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4272';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4271';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4269';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4268';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4193';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1144', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4192';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1143', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4182';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1141', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4179';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1138', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4177';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1134', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4176';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1142', '6', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4127';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1128', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4125';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1123', '6', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4124';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1124', '6', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4024';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1119', '6', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4022';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('621', '6', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4021';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('95', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4020';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('80', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4019';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('242', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4018';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('570', '6', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4015';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('182', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4014';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('781', '6', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4013';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('622', '6', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3981';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1111', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3934';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1104', '6', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3933';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1105', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3932';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1074', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3931';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1090', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3930';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1077', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3929';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1091', '6', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3928';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1092', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3927';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1078', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3797';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1071', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3752';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1069', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3750';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1064', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3749';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('432', '6', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3748';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('624', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3747';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1063', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3746';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1062', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3713';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1060', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3678';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1052', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3677';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1051', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3671';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1049', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3670';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1041', '6', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3667';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1042', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3666';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1046', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3560';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1021', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3548';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1022', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3535';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('759', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3534';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('930', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3532';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('931', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3531';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('951', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3517';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1014', '6', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3516';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1018', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3515';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1017', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3514';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1015', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3513';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1019', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3479';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('987', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3471';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1012', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3470';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('159', '6', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3430';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('996', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3429';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('995', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3428';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1003', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3404';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('731', '6', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3344';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('885', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3342';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('576', '6', '32', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '32.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3307';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('964', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3251';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('767', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3248';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('969', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3213';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('967', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3212';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('18', '6', '27', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3198';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('776', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3151';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('954', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3126';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('948', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3125';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('947', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3123';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('941', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3067';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('945', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3066';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('943', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3063';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('944', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3062';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('940', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3061';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('12', '6', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3060';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3059';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('32', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3058';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('24', '6', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3054';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('185', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3053';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('121', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3052';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('107', '6', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3051';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('854', '6', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3048';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('120', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2784';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('809', '6', '34', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '34.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2780';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('811', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2779';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('855', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2737';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('853', '6', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2715';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('777', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2713';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('649', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2711';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('643', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2669';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('821', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2668';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('822', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2662';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('817', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2661';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('766', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2659';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('845', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2645';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('840', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2644';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('839', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2640';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('835', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2639';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('834', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2636';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('831', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2627';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('792', '6', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2626';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('806', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2625';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('802', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2624';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('807', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2622';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('800', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2435';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('788', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2434';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('790', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2330';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('752', '6', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2321';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('717', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2318';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('749', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2317';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('753', '6', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2316';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('764', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2250';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('634', '6', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2249';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('123', '6', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2248';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('739', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2247';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('738', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2245';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('593', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2244';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('656', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2242';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('664', '6', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2241';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('678', '6', '59', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '59.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2240';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('639', '6', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2238';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('647', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2237';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('662', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2236';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('658', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2235';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('660', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2233';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('638', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2232';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('681', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2231';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('283', '6', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2230';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('39', '6', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2229';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('671', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2228';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('669', '6', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2227';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('571', '6', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2226';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('569', '6', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2223';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('299', '6', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1922';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('181', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1888';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('617', '6', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1667';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('386', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1666';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('599', '6', '75', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '75.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1664';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('336', '6', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1663';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('253', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1492';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('561', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1489';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1488';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('562', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1062';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('255', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1061';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('254', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1060';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('251', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1055';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('126', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1053';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('450', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1051';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('517', '6', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1050';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('516', '6', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1049';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('515', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1048';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('514', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1047';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('513', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1045';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('385', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1043';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('383', '6', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1042';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('382', '6', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1040';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('454', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1039';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('455', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1038';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('453', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1037';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('532', '6', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1036';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('535', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1032';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('533', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1024';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('538', '6', '49', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '49.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1021';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('303', '6', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1020';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('374', '6', '52', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '52.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1011';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('413', '6', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1007';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('304', '6', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1006';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('459', '6', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '00', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1002';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('421', '6', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '00', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '996';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('429', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '994';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('422', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '992';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('426', '6', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '986';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('372', '6', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '985';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('375', '6', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '984';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('334', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '983';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('468', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '982';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('467', '6', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '981';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('471', '6', '25', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '977';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('542', '6', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '970';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('474', '6', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '967';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('480', '6', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '955';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('490', '6', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '954';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('458', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '953';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('397', '6', '64', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '64.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '950';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('353', '6', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '947';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('90', '6', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '945';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('528', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '944';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('395', '6', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '937';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('369', '6', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '934';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('376', '6', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '933';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('357', '6', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:12:46";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:42:46", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:42:46', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:12:57";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:42:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 12:42:57', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:03";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:43:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 12:43:03', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:32";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:43:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:43:32', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:43";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:43:43", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 12:43:43', '4', 'addAndRetuen', '197.35.245.191', '', 'DESKTOP');

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 065dc5d7fc9358
-- ----------------------------------------------------------------------------------------------------

BEGIN;
INSERT INTO sellbill (sellbilldate, sellbillserial, sellbillclientid, sellbilltotaldeptbefor, sellbilltotaldeptafter, sellbilldiscount, sellbilldiscounttype, sellbilltotalbill, sellbillaftertotalbill, sellbilltotalpayed, sellbillfinalbill, sellbillstoreid, sellbillsysdate,comment, userid, conditions, sellbillclientname, sellbillsaveid, sellbildirectpayment, billnameid, sellerid, tempclientName, sellQuantity,tax ,carnumber, cartype, carchase, carmotor,costcenterid,dailyentryid,obygyVisitId,onlineOrderId,delbyuserid,delivery,totalafterdelivery,billReservation,billReservationDate,webApiId,visaAccountId,cashPayed,visaPayed,isBankAccountTransfer,extraDiscountPer,extraDiscountVal,taxOfDiscountPer,taxOfDiscountVal,taxBillNumber,collectionType,collectionDate) VALUES ('2024-02-26 11:44:31', '065dc5d7fc9358', '1', '0.00', '0', '0', '1', '420', '420', '420', '0', '7', '2024-02-26 12:43:43', '', '4', '0', 'نقدي', '7', '0', '3', '0', 'نقدي', '1' ,'0','','','','','-1','0','0','0','0','0','420','0','','0','0','420','0','0','0','0','0','0','0','0','');
UPDATE client SET  clientdebt = '0', userid = '4' WHERE clientid = '1';
INSERT INTO clientdebtchange (clientid, clientdebtchangebefore, clientdebtchangeamount, clientdebtchangetype, processname, clientdebtchangemodelid, clientdebtchangeafter, clientdebtchangedate, userid, tablename, comment, totalOperationCost,discount,reciptid,dailyentryid , num , billid , paytype, costcenterid,currencyId,conversionFactor,payedInCurrency,saveConversionFactor ) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','15530', '0', '2024-02-26 12:43:43', '4', 'sellbillController.php', 'اضافة فاتورة مبيعات', '420', '0', null, '0', null, null,'', '0','1','1','0','1');
INSERT INTO sellbilldetail (buyprice, parcode, sellbillid, sellbilldetailcatid, sellbilldetailproductid, sellbilldetailquantity, sellbilldetailprice, sellbilldetailtotalprice, discountvalue, note, pricetype, sellbilldetaildate, productunitid, buydiscount, buydiscounttype,storeid,discounttype,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,onlineOrderId,pricetypepro,playstationPlayId,soldSerialsInDetails,buyPricesHistoryBookIdQuantity) VALUES ('400','01507', '15530', '1', '1507', '1', '420', '420', '0', '', '0', '2024-02-26 12:43:43', '1507', '0.00', '0', '7','0','','','0','0','0','0','0','0','0','0','','');
UPDATE sellbilldetail SET  lastbuyprice = 400.00 , meanbuyprice = 400.00, lastbuyprice_withDiscount = 400.00, meanbuyprice_withDiscount = 400.00
                where sellbilldetailid = 46086;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet)
                    VALUES (1507, '2024-02-26', 420, 400, 400
                    , 400, 400, 400, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+420, sellCostBuyPrice =sellCostBuyPrice+400
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+400, sellCostMeanBuyPrice = sellCostMeanBuyPrice+400
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+400, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+400
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                        , netQuantity = netQuantity+1
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice)
                    VALUES (7, '2024-02-26', 420, 400, 400
                    , 400, 400, 400, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+420, sellCostBuyPrice =sellCostBuyPrice+400
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+400, sellCostMeanBuyPrice = sellCostMeanBuyPrice+400
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+400, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+400
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
UPDATE storedetail SET  productquantity = '5', userid = '4', storedetaildate = '2024-02-26 12:43:43' WHERE storedetailid = '5517';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '7', '1', '1', '15530', 'اضافة فاتورة مبيعات', 'sellbillController.php', '6.00', '5', '4', '2024-02-26 12:43:43','0','0');
UPDATE save SET  savecurrentvalue = '650',  userid = '4' WHERE saveid = '7';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('230.00','420', '0', '7', 'اضافة فاتورة مبيعات', '15530', '650', '2024-02-26 12:43:43', '4',  'sellbillController.php','1','');
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES ('2024-02-26', 420, 400, 400
                    , 400, 400, 400, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+420, sellCostBuyPrice =sellCostBuyPrice+400
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+400, sellCostMeanBuyPrice = sellCostMeanBuyPrice+400
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+400, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+400
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES (1, '2024-02-26', 420, 400, 400
                    , 400, 400, 400, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+420, sellCostBuyPrice =sellCostBuyPrice+400
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+400, sellCostMeanBuyPrice = sellCostMeanBuyPrice+400
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+400, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+400
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice)
                    VALUES (1, 420, 400, 400
                    , 400, 400, 400, 0)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+420, netSellCostBuyPrice = netSellCostBuyPrice+400
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+400
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+400
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+400
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+400
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+0;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 065dc5d7fc9358 and sellbillId = 15530 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:43";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:43:44", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 12:43:44', '4', 'addsellBill', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:52";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:43:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:43:52', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1044';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('384', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:53";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:43:53", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 12:43:53', '4', '', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:54";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:43:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:43:54', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:56";
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:13:56";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:43:56", deviceType = "DESKTOP" WHERE userid = 1;
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:43:56", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 12:43:56', '1', '', '156.210.115.101', '', 'DESKTOP');
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 12:43:56', '4', 'addsellBill', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:14:34";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:44:34", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 12:44:34', '4', '', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:14:36";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:44:36", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 12:44:36', '4', 'showDetail', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:15:33";
UPDATE user SET loginip = "197.35.245.191", lastactivetime = "2024-02-26 12:45:33", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 12:45:34', '4', 'addsellBill', '197.35.245.191', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:20:07";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:50:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 12:50:07', '1', 'add', '156.210.115.101', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS insertUniqueOptNum;;

CREATE PROCEDURE insertUniqueOptNum(IN optnum INT,IN storeidfrom INT,IN storeidto INT,IN productid INT,IN transferproductamount DECIMAL(10,2),IN transferproductdate DATE,IN userid INT,IN conditions INT,IN `comment` TEXT,IN deloperationnum INT,IN sizeid INT,IN colorid INT,IN driverid INT,IN drivertimeout INT,IN driverdate datetime,IN delivererid INT,IN deliverdate datetime,OUT inserted_id INT,OUT optnum_used INT)
BEGIN
DECLARE n INT DEFAULT 0;
DECLARE id INT DEFAULT 0;
DECLARE lastopt INT DEFAULT 0;


DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
    ROLLBACK;
    GET DIAGNOSTICS CONDITION 1 @sqlstate = RETURNED_SQLSTATE,
     @errno = MYSQL_ERRNO, @text = MESSAGE_TEXT;
    SET @full_error = CONCAT("ERROR ", @errno, " (", @sqlstate, "): ", @text);
    SELECT @full_error;
    ROLLBACK;
END;



START TRANSACTION;


SELECT COUNT(*) FROM storemovement WHERE `operationnum` = optnum INTO n;
SELECT DISTINCT operationnum FROM storemovement WHERE operationnum != 0  ORDER BY operationnum DESC limit 1 INTO lastopt;
set lastopt = lastopt+1;

	IF n > 0 THEN


      INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,comment ,
                lastopt,
                deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),lastopt INTO inserted_id,optnum_used;
ELSE

    INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid,transferproductamount, transferproductdate, userid, conditions ,comment
                ,optnum
                ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),optnum INTO inserted_id,optnum_used;
	END IF;

COMMIT WORK; -- it is mandatory dont wait comit in php.as if sp didnot found comit before reaching the end it will rollback giving no errors at all

End;
;;

;
BEGIN;
CALL insertUniqueOptNum(1793,1,6,1134,1,'2024-02-26',1,0, '' ,0,0,0,0,0,'2024-02-26 12:50:07',0,'',@id,@optnum);
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4152';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1134, 0, 0
                    , 260.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 260.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*260.00," WHERE transferproductid = 7921;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1134', '1', '1', '1', '7921', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4177';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1134, 0, 0
                    , 260.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1134', '6', '1', '0', '7921', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1173', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4301';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1173, 0, 0
                    , 230.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 230.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*230.00," WHERE transferproductid = 7922;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1173', '1', '1', '1', '7922', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('1173', '6', '1', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1173, 0, 0
                    , 230.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1173', '6', '1', '0', '7922', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '565', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1484';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 565, 0, 0
                    , 150.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 150.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*150.00," WHERE transferproductid = 7923;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '1', '1', '1', '7923', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1489';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 565, 0, 0
                    , 150.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '6', '1', '0', '7923', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1473', '4', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5398';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1473, 0, 0
                    , 500.00, -4, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 500.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*500.00," WHERE transferproductid = 7924;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1473', '1', '4', '1', '7924', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-4', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5411';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1473, 0, 0
                    , 500.00, 4, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1473', '6', '4', '0', '7924', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1471', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5396';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1471, 0, 0
                    , 535.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 535.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*535.00," WHERE transferproductid = 7925;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1471', '1', '1', '1', '7925', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5409';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1471, 0, 0
                    , 535.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1471', '6', '1', '0', '7925', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1467', '4', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5392';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1467, 0, 0
                    , 505.00, -4, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 505.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*505.00," WHERE transferproductid = 7926;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1467', '1', '4', '1', '7926', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-4', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5405';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1467, 0, 0
                    , 505.00, 4, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1467', '6', '4', '0', '7926', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1476', '3', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5401';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1476, 0, 0
                    , 515.00, -3, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 515.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*515.00," WHERE transferproductid = 7927;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1476', '1', '3', '1', '7927', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5414';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1476, 0, 0
                    , 515.00, 3, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1476', '6', '3', '0', '7927', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1468', '2', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5393';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1468, 0, 0
                    , 525.00, -2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 525.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*525.00," WHERE transferproductid = 7928;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1468', '1', '2', '1', '7928', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5406';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1468, 0, 0
                    , 525.00, 2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1468', '6', '2', '0', '7928', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1472', '3', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5397';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1472, 0, 0
                    , 560.00, -3, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 560.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*560.00," WHERE transferproductid = 7929;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1472', '1', '3', '1', '7929', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5410';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1472, 0, 0
                    , 560.00, 3, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1472', '6', '3', '0', '7929', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1499', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5490';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1499, 0, 0
                    , 475.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 475.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*475.00," WHERE transferproductid = 7930;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1499', '1', '1', '1', '7930', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5491';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1499, 0, 0
                    , 475.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1499', '6', '1', '0', '7930', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1477', '3', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5402';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1477, 0, 0
                    , 525.00, -3, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 525.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*525.00," WHERE transferproductid = 7931;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1477', '1', '3', '1', '7931', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5415';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1477, 0, 0
                    , 525.00, 3, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1477', '6', '3', '0', '7931', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1466', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5387';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1466, 0, 0
                    , 255.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 255.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*255.00," WHERE transferproductid = 7932;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '1', '1', '1', '7932', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5389';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1466, 0, 0
                    , 255.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '6', '1', '0', '7932', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1465', '2', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5386';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1465, 0, 0
                    , 250.00, -2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 250.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*250.00," WHERE transferproductid = 7933;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1465', '1', '2', '1', '7933', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5388';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1465, 0, 0
                    , 250.00, 2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1465', '6', '2', '0', '7933', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1512', '19', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-40', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5528';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1512, 0, 0
                    , 390.00, -19, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 390.00,
                        buyQuantity =buyQuantity+-19, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "19*2024-02-26*390.00," WHERE transferproductid = 7934;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '1', '19', '1', '7934', 'تحويل منتجات من المخزن', 'storemovementController.php', '-21.00', '-40', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '19', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5529';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1512, 0, 0
                    , 390.00, 19, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+19, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '6', '19', '0', '7934', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '19', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1507', '22', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-59', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5515';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1507, 0, 0
                    , 400.00, -22, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 400.00,
                        buyQuantity =buyQuantity+-22, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "22*2024-02-26*400.00," WHERE transferproductid = 7935;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '1', '22', '1', '7935', 'تحويل منتجات من المخزن', 'storemovementController.php', '-37.00', '-59', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '22', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5539';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1507, 0, 0
                    , 400.00, 22, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+22, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '6', '22', '0', '7935', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '22', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1497', '8', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5475';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1497, 0, 0
                    , 300.00, -8, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-8, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "8*2024-02-26*300.00," WHERE transferproductid = 7936;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '1', '8', '1', '7936', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-8', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5481';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1497, 0, 0
                    , 300.00, 8, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+8, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '6', '8', '0', '7936', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '8', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1160', '6', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4238';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1160, 0, 0
                    , 270.00, -6, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "6*2024-02-26*270.00," WHERE transferproductid = 7937;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '1', '6', '1', '7937', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-7', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4272';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1160, 0, 0
                    , 270.00, 6, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '6', '6', '0', '7937', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '6', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1508', '27', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-27', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5518';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1508, 0, 0
                    , 260.00, -27, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 260.00,
                        buyQuantity =buyQuantity+-27, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "27*2024-02-26*260.00," WHERE transferproductid = 7938;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1508', '1', '27', '1', '7938', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-27', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '27', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5519';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1508, 0, 0
                    , 260.00, 27, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+27, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1508', '6', '27', '0', '7938', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '27', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1165', '2', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4261';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1165, 0, 0
                    , 260.00, -2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 260.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*260.00," WHERE transferproductid = 7939;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1165', '1', '2', '1', '7939', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4285';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1165, 0, 0
                    , 260.00, 2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1165', '6', '2', '0', '7939', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1163', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-16', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4241';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1163, 0, 0
                    , 270.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*270.00," WHERE transferproductid = 7940;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '1', '1', '1', '7940', 'تحويل منتجات من المخزن', 'storemovementController.php', '-15.00', '-16', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4271';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1163, 0, 0
                    , 270.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '6', '1', '0', '7940', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1164', '2', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4250';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1164, 0, 0
                    , 270.00, -2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*270.00," WHERE transferproductid = 7941;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '1', '2', '1', '7941', 'تحويل منتجات من المخزن', 'storemovementController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4269';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1164, 0, 0
                    , 270.00, 2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '6', '2', '0', '7941', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '1161', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4239';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1161, 0, 0
                    , 270.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*270.00," WHERE transferproductid = 7942;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '1', '1', '1', '7942', 'تحويل منتجات من المخزن', 'storemovementController.php', '-2.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4268';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1161, 0, 0
                    , 270.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '6', '1', '0', '7942', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '302', '2', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '302';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 302, 0, 0
                    , 200.00, -2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 200.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*200.00," WHERE transferproductid = 7943;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('302', '1', '2', '1', '7943', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('302', '6', '2', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 302, 0, 0
                    , 200.00, 2, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('302', '6', '2', '0', '7943', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '6', '565', '1', '2024-02-26', '1', '0','1793',null,null,'2024-02-26 12:50:07',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1484';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 565, 0, 0
                    , 150.00, -1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyprice = 150.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*150.00," WHERE transferproductid = 7944;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '1', '1', '1', '7944', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1489';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 565, 0, 0
                    , 150.00, 1, 0, 0, 1, '2024-02-26 12:50:07')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 12:50:07' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '6', '1', '0', '7944', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '1.00', '2', '1', '2024-02-26','0','0');
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:20:08";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:50:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 12:50:08', '1', 'editshow', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:26:00";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:56:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:56:01', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:28:02";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:58:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:58:02', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '31', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5642';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1588', '6', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '42.00', '31', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:28:04";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:58:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:58:04', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:28:34";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:58:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:58:35', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '358', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5626';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1579', '6', '319', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '39.00', '358', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:28:37";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:58:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:58:37', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:28:57";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:58:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:58:57', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '35', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5626';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1579', '6', '323', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '358.00', '35', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:28:59";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:58:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:58:59', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:29:25";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:59:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:59:25', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '23', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5663';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1541', '6', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '23', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:29:27";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:59:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:59:28', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:29:57";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:59:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:59:57', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:29:59";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 12:59:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 12:59:59', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:30:02";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:00:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:00:02', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:30:34";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:00:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:00:34', '1', 'add', '156.210.115.101', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS insertUniqueOptNum;;

CREATE PROCEDURE insertUniqueOptNum(IN optnum INT,IN storeidfrom INT,IN storeidto INT,IN productid INT,IN transferproductamount DECIMAL(10,2),IN transferproductdate DATE,IN userid INT,IN conditions INT,IN `comment` TEXT,IN deloperationnum INT,IN sizeid INT,IN colorid INT,IN driverid INT,IN drivertimeout INT,IN driverdate datetime,IN delivererid INT,IN deliverdate datetime,OUT inserted_id INT,OUT optnum_used INT)
BEGIN
DECLARE n INT DEFAULT 0;
DECLARE id INT DEFAULT 0;
DECLARE lastopt INT DEFAULT 0;


DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
    ROLLBACK;
    GET DIAGNOSTICS CONDITION 1 @sqlstate = RETURNED_SQLSTATE,
     @errno = MYSQL_ERRNO, @text = MESSAGE_TEXT;
    SET @full_error = CONCAT("ERROR ", @errno, " (", @sqlstate, "): ", @text);
    SELECT @full_error;
    ROLLBACK;
END;



START TRANSACTION;


SELECT COUNT(*) FROM storemovement WHERE `operationnum` = optnum INTO n;
SELECT DISTINCT operationnum FROM storemovement WHERE operationnum != 0  ORDER BY operationnum DESC limit 1 INTO lastopt;
set lastopt = lastopt+1;

	IF n > 0 THEN


      INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,comment ,
                lastopt,
                deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),lastopt INTO inserted_id,optnum_used;
ELSE

    INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid,transferproductamount, transferproductdate, userid, conditions ,comment
                ,optnum
                ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),optnum INTO inserted_id,optnum_used;
	END IF;

COMMIT WORK; -- it is mandatory dont wait comit in php.as if sp didnot found comit before reaching the end it will rollback giving no errors at all

End;
;;

;
BEGIN;
CALL insertUniqueOptNum(1794,1,6,1543,24,'2024-02-26',1,0, '' ,0,0,0,0,0,'2024-02-26 13:00:34',0,'',@id,@optnum);
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5580';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1543, 0, 0
                    , 240.00, -24, 0, 0, 1, '2024-02-26 13:00:34')
                ON DUPLICATE KEY UPDATE buyprice = 240.00,
                        buyQuantity =buyQuantity+-24, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 13:00:34' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "24*2024-02-26*240.00," WHERE transferproductid = 7945;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1543', '1', '24', '1', '7945', 'تحويل منتجات من المخزن', 'storemovementController.php', '24.00', '0', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('1543', '6', '24', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 6, 1543, 0, 0
                    , 240.00, 24, 0, 0, 1, '2024-02-26 13:00:34')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+24, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 13:00:34' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1543', '6', '24', '0', '7945', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '24', '1', '2024-02-26','0','0');
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:30:35";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:00:35", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:00:35', '1', 'editshow', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:33:53";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:03:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 13:03:53', '1', 'addsellBill', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:42:20";
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:42:37";
UPDATE user SET loginip = "197.192.207.4", lastactivetime = "2024-02-26 13:12:37", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 13:12:37', '7', '', '197.192.207.4', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:42:37";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:42:42";
UPDATE user SET loginip = "197.192.207.4", lastactivetime = "2024-02-26 13:12:42", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 13:12:42', '7', 'addsellBill', '197.192.207.4', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:49:18";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:19:18", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 13:19:18', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:50:33";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:20:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 13:20:33', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '20', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5787';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1519', '8', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '12.00', '20', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '37', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5784';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1588', '8', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '39.00', '37', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '23', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5779';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1570', '8', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '23', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:50:35";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:20:35", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 13:20:36', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 09:58:38";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 13:28:38", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 13:28:38', '4', 'addsellBill', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:02:33";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:32:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 13:32:34', '1', 'add', '156.210.115.101', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5530';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5492';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1499', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5485';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1496', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5484';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5451';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1470', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5444';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1477', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5442';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1472', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5438';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1471', '5', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5391';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1465', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5390';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5368';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1457', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5362';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1455', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5361';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1456', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5346';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1453', '5', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5340';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1271', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5339';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1451', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5330';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1250', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5319';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1414', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5307';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('429', '5', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5306';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('428', '5', '25', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5305';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('418', '5', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5304';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('417', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5303';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('291', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5301';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1439', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5300';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1440', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5280';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1432', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5275';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1426', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5259';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1425', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5258';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1424', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5247';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1422', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5246';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1421', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5245';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1420', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5224';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1415', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5216';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('184', '5', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5214';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1411', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5213';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1409', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5204';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1408', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5189';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1298', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5188';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1402', '5', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5186';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1401', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5162';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1394', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5160';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1390', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5148';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('81', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5147';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('648', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5132';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1388', '5', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5121';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1386', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5088';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('963', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5084';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1373', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5077';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1370', '5', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5063';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1345', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5042';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1360', '5', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4999';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1349', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4996';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1333', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4994';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1331', '5', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4993';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1330', '5', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4992';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1340', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4943';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1294', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4942';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1329', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4941';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('27', '5', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4920';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('77', '5', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4919';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1321', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4917';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('634', '5', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4906';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1323', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4905';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1324', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4878';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1300', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4876';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1318', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4874';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1316', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4871';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1313', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4837';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1301', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4812';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('650', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4811';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1233', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4810';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1282', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4808';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1292', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4763';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1239', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4762';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1257', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4761';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1254', '5', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4757';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1281', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4756';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1245', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4755';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1263', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4754';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1246', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4752';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1227', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4751';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1237', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4750';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1283', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4749';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1286', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4743';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1234', '5', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4742';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('639', '5', '44', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '44.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4731';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1228', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4729';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1285', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4728';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1220', '5', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4727';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1231', '5', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4726';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1232', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4725';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1280', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4699';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1226', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4698';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1126', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4672';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1229', '5', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4671';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1265', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4670';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1224', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4669';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1225', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4668';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1230', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4660';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('248', '5', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4659';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('523', '5', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4656';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('162', '5', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4655';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('281', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4654';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1236', '5', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4653';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1253', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4651';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1238', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4650';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1240', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4648';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1262', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4568';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1217', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4567';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1218', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4566';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1219', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4565';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1235', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4563';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1222', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4562';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1127', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4561';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1223', '5', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4490';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('454', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4474';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1213', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4446';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1209', '5', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4397';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1193', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4383';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1159', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4356';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4354';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1184', '5', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4353';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4345';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1181', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4316';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1172', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4315';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1173', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4314';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4300';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('596', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4299';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('406', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4284';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1167', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4255';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4254';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4253';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4252';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4251';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4231';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('501', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4230';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('468', '5', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4219';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1155', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4215';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1149', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4213';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1150', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4187';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1144', '5', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4170';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1141', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4169';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1139', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4167';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1140', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4166';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1142', '5', '35', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '35.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4165';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '5', '25', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4140';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('283', '5', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4138';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('231', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4135';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('106', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4131';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('102', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4122';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1128', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4121';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1125', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4120';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1123', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4119';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1124', '5', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4118';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1122', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4048';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1119', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4047';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1118', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4045';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('538', '5', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4041';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('570', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4039';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('781', '5', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4037';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1112', '5', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4036';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1114', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3987';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1115', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3986';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1111', '5', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3977';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('154', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3966';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1099', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3965';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1075', '5', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3964';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1093', '5', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3945';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1109', '5', '20', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3926';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1104', '5', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3924';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1074', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3922';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1090', '5', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3920';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1091', '5', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3897';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1048', '5', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3790';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1049', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3786';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1052', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3785';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1066', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3771';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1069', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3768';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1064', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3766';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1063', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3765';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1062', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3729';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('178', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3728';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('174', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3725';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('886', '5', '79', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '79.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3715';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1060', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3655';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1042', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3640';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('194', '5', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3607';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1037', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3568';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1020', '5', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3562';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1021', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3504';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1015', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3503';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1019', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3484';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('3', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3473';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1012', '5', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3406';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('91', '5', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3385';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('964', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3375';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('990', '5', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3233';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('968', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3209';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('967', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3208';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('18', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3207';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('966', '5', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3206';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('959', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3205';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('958', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3196';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('776', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3143';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('936', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3139';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('954', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3137';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('934', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3118';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('941', '5', '97', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '97.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3043';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('922', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3042';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('861', '5', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3040';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('12', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3039';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1', '5', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3037';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('23', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3032';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('422', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3031';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('107', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3030';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('415', '5', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3029';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('854', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3026';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('69', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3025';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('942', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3024';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('945', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2961';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('155', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2913';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('676', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2742';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('855', '5', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2741';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('809', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2739';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('853', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2695';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('591', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2679';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('726', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2678';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('795', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2619';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('843', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2618';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('842', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2617';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('841', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2611';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('835', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2608';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('832', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2605';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('829', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2604';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('828', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2598';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('375', '5', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2597';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('374', '5', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2595';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('792', '5', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2593';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('807', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2592';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('802', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2591';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('800', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2551';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('713', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2451';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('752', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2397';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('793', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2396';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('794', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2394';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('719', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2392';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('721', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2391';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('754', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2390';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('717', '5', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2361';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('763', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2357';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('759', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2284';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('747', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2282';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('22', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2280';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('123', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2279';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('739', '5', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2278';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('738', '5', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2276';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('593', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2269';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('645', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2267';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('662', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2266';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('658', '5', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2265';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('660', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2264';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('637', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2263';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('416', '5', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2261';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('574', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2259';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('669', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2258';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('181', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2257';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('571', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2255';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('572', '5', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1947';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('157', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1887';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('617', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1886';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('474', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1659';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('412', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1658';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('95', '5', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1656';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('100', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1653';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('205', '5', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1651';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('239', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1650';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('339', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1649';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('120', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1647';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('423', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1646';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('413', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1645';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('420', '5', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1642';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('135', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1641';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('407', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1639';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('75', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1637';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('58', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1633';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('166', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1586';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('590', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1579';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('585', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1549';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('560', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1498';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('462', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1494';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '920';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('255', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '919';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('254', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '918';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('390', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '917';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('128', '5', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '913';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('253', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '911';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('251', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '905';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('514', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '894';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('507', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '892';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('218', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '891';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('304', '5', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '890';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('306', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '889';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('307', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '883';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('441', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '882';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('447', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '881';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('446', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '873';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('482', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '870';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('90', '5', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '868';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('432', '5', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '867';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('196', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '866';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('397', '5', '29', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '865';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('393', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '863';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('430', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '862';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('440', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '860';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('499', '5', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '855';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('536', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '853';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('506', '5', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '850';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('439', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '848';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('490', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '847';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('200', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '846';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('498', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '842';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('170', '5', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '840';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('491', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '837';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('480', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '834';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('489', '5', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '829';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('481', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '827';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('370', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '823';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('495', '5', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '822';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('378', '5', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '817';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('532', '5', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '816';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('467', '5', '13', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '814';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('45', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '813';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('314', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '812';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('159', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '811';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('471', '5', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '810';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('373', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '809';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('336', '5', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '807';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('365', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '805';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('341', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '804';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('342', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '802';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('351', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '800';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('329', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '799';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('333', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '795';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('363', '5', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '794';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('352', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:03:11";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:33:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 13:33:12', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:03:24";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:33:24", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 13:33:24', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:03:41";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:33:41", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 13:33:41', '1', 'show', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:04:13";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:34:13", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 13:34:13', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:04:25";
UPDATE user SET loginip = "156.210.115.101", lastactivetime = "2024-02-26 13:34:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:34:25', '1', '', '156.210.115.101', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:22:37";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:52:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:52:37', '1', '', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:22:40";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:52:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:52:40', '1', '', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:22:43";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:52:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:52:43', '1', 'show', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:22:52";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:52:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:52:52', '1', 'editshowstyle2', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:22:54";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:52:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:52:54', '1', 'editshowstyle2', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:23:03";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:53:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:53:03', '1', '', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:23:08";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:53:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 13:53:08', '1', '', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:23:16";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:53:16", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 13:53:16', '1', 'show', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 10:23:25";
UPDATE user SET loginip = "156.210.35.149", lastactivetime = "2024-02-26 13:53:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 13:53:25', '1', '', '156.210.35.149', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:12:00";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 14:42:00", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 14:42:00', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:12:09";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 14:42:09", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 14:42:09', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:12:17";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 14:42:17", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 14:42:17', '4', '', '197.35.248.1', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:30:58";
UPDATE user SET loginip = "197.63.216.183", lastactivetime = "2024-02-26 15:00:58", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 15:00:58', '8', '', '197.63.216.183', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:30:58";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:31:20";
UPDATE user SET loginip = "197.63.216.183", lastactivetime = "2024-02-26 15:01:20", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 15:01:20', '8', 'addsellBill', '197.63.216.183', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE userid = 4;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 11:54:11";
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:35";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:31:35", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 15:31:35', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:35";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:37";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:31:37", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 15:31:37', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:40";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:31:40", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 15:31:40', '4', 'addsellBill', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:48";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:31:48", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 15:31:48', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:50";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:31:50", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 15:31:50', '4', 'showDetail', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:01:53";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:31:54", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 15:31:54', '4', 'addsellBill', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:16:56";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:46:56", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 15:46:56', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:17:09";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:47:09", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 15:47:09', '4', 'add', '197.35.248.1', '', 'DESKTOP');
BEGIN;
INSERT INTO expenses (expensestypeid, expensesname, expensesdetails, expensesValue, expensesdate, userid, conditions,costcenterid,saveid,dailyentryid,bankid,bankaccountid,checknum,productid) VALUES ('-1', 'شحن كهرباء', '', '550', '2024-02-26', '4', '0','-1','7','0','0','0','','0');
UPDATE save SET  savecurrentvalue = '100',  userid = '4' WHERE saveid = '7';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('650.00','550', '1', '7', 'إضافة مصروف', '4623', '100', '2024-02-26 15:47:09', '4',  'expensesController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '550', '550', '2024-02-26', '4', '0', '0', '2024-02-26 15:47:09','اضافة اسم مصروف( شحن كهرباء )','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9544', '160', '550', '','0');
UPDATE accountstree SET name = '', customName = '', parent = '10', itemtype = '1', itemfrom = '0', notes = '', del = '1', userid = '1', mydate = '2021-12-01', itemtype2 = '1', theValue = '-3190773', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '160';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9544', '141', '550', '','0');
UPDATE accountstree SET name = 'خزينة محل العميد', customName = 'خزينة محل العميد', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2021-11-07', itemtype2 = '1', theValue = '-1758557', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '141';
UPDATE expenses SET expensestypeid = '-1', expensesname = 'شحن كهرباء', expensesdetails = '', expensesValue = '550.00', expensesdate = '2024-02-26', userid = '4', conditions = '0',saveid = '7' , dailyentryid = '9544', bankid = '0', bankaccountid = '0', checknum = '', productid = '0' WHERE expensesid = '4623';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:17:09";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:47:09", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 15:47:09', '4', 'sucess', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:17:11";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:47:11", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 15:47:11', '4', 'show', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:18:37";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:48:37", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 15:48:37', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:18:41";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:48:41", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 15:48:41', '4', 'addsellBill', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:22:11";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:52:11", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 15:52:11', '4', '', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:22:21";
UPDATE user SET loginip = "197.35.248.1", lastactivetime = "2024-02-26 15:52:21", deviceType = "DESKTOP" WHERE userid = 4;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 15:52:21', '4', 'addsellBill', '197.35.248.1', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:28:42";
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:29:41";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 15:59:41", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 15:59:41', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:29:41";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:30:23";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 16:00:23", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 16:00:23', '7', 'addsellBill', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 12:33:23";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 16:03:23", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 16:03:23', '7', 'addsellBill', '197.192.236.37', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 13:48:37";
UPDATE user SET loginip = "154.183.46.68", lastactivetime = "2024-02-26 17:18:37", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 17:18:37', '8', '', '154.183.46.68', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 13:48:37";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 13:48:43";
UPDATE user SET loginip = "154.183.46.68", lastactivetime = "2024-02-26 17:18:43", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 17:18:43', '8', 'addsellBill', '154.183.46.68', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:24:02";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 17:54:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 17:54:02', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:24:02";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:24:14";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 17:54:14", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 17:54:14', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:29:56";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 17:59:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 17:59:56', '1', 'add', '156.210.44.59', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS insertUniqueOptNum;;

CREATE PROCEDURE insertUniqueOptNum(IN optnum INT,IN storeidfrom INT,IN storeidto INT,IN productid INT,IN transferproductamount DECIMAL(10,2),IN transferproductdate DATE,IN userid INT,IN conditions INT,IN `comment` TEXT,IN deloperationnum INT,IN sizeid INT,IN colorid INT,IN driverid INT,IN drivertimeout INT,IN driverdate datetime,IN delivererid INT,IN deliverdate datetime,OUT inserted_id INT,OUT optnum_used INT)
BEGIN
DECLARE n INT DEFAULT 0;
DECLARE id INT DEFAULT 0;
DECLARE lastopt INT DEFAULT 0;


DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
    ROLLBACK;
    GET DIAGNOSTICS CONDITION 1 @sqlstate = RETURNED_SQLSTATE,
     @errno = MYSQL_ERRNO, @text = MESSAGE_TEXT;
    SET @full_error = CONCAT("ERROR ", @errno, " (", @sqlstate, "): ", @text);
    SELECT @full_error;
    ROLLBACK;
END;



START TRANSACTION;


SELECT COUNT(*) FROM storemovement WHERE `operationnum` = optnum INTO n;
SELECT DISTINCT operationnum FROM storemovement WHERE operationnum != 0  ORDER BY operationnum DESC limit 1 INTO lastopt;
set lastopt = lastopt+1;

	IF n > 0 THEN


      INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,comment ,
                lastopt,
                deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),lastopt INTO inserted_id,optnum_used;
ELSE

    INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid,transferproductamount, transferproductdate, userid, conditions ,comment
                ,optnum
                ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),optnum INTO inserted_id,optnum_used;
	END IF;

COMMIT WORK; -- it is mandatory dont wait comit in php.as if sp didnot found comit before reaching the end it will rollback giving no errors at all

End;
;;

;
BEGIN;
CALL insertUniqueOptNum(1795,1,5,1497,5,'2024-02-26',1,0, '' ,0,0,0,0,0,'2024-02-26 17:59:56',0,'',@id,@optnum);
UPDATE storedetail SET  productquantity = '-13', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5475';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1497, 0, 0
                    , 300.00, -5, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-5, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "5*2024-02-26*300.00," WHERE transferproductid = 7946;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '1', '5', '1', '7946', 'تحويل منتجات من المخزن', 'storemovementController.php', '-8.00', '-13', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '5', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5484';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1497, 0, 0
                    , 300.00, 5, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+5, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '5', '5', '0', '7946', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '5', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1512', '9', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-49', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5528';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1512, 0, 0
                    , 390.00, -9, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 390.00,
                        buyQuantity =buyQuantity+-9, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "9*2024-02-26*390.00," WHERE transferproductid = 7947;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '1', '9', '1', '7947', 'تحويل منتجات من المخزن', 'storemovementController.php', '-40.00', '-49', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '9', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5530';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1512, 0, 0
                    , 390.00, 9, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+9, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '5', '9', '0', '7947', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '9', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1183', '2', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-23', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4347';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1183, 0, 0
                    , 160.00, -2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 160.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*160.00," WHERE transferproductid = 7948;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '1', '2', '1', '7948', 'تحويل منتجات من المخزن', 'storemovementController.php', '-21.00', '-23', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4356';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1183, 0, 0
                    , 160.00, 2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '5', '2', '0', '7948', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1161', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4239';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1161, 0, 0
                    , 270.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*270.00," WHERE transferproductid = 7949;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '1', '1', '1', '7949', 'تحويل منتجات من المخزن', 'storemovementController.php', '-3.00', '-4', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4253';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1161, 0, 0
                    , 270.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '5', '1', '0', '7949', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1163', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-17', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4241';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1163, 0, 0
                    , 270.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*270.00," WHERE transferproductid = 7950;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '1', '1', '1', '7950', 'تحويل منتجات من المخزن', 'storemovementController.php', '-16.00', '-17', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4252';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1163, 0, 0
                    , 270.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '5', '1', '0', '7950', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1164', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4250';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1164, 0, 0
                    , 270.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*270.00," WHERE transferproductid = 7951;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '1', '1', '1', '7951', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4251';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1164, 0, 0
                    , 270.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '5', '1', '0', '7951', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1182', '3', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-5', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4346';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1182, 0, 0
                    , 260.00, -3, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 260.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*260.00," WHERE transferproductid = 7952;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '1', '3', '1', '7952', 'تحويل منتجات من المخزن', 'storemovementController.php', '-2.00', '-5', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4353';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1182, 0, 0
                    , 260.00, 3, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '5', '3', '0', '7952', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1496', '3', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5474';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1496, 0, 0
                    , 350.00, -3, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 350.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*350.00," WHERE transferproductid = 7953;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1496', '1', '3', '1', '7953', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5485';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1496, 0, 0
                    , 350.00, 3, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1496', '5', '3', '0', '7953', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1139', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '5', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4161';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1139, 0, 0
                    , 220.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 220.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*220.00," WHERE transferproductid = 7954;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1139', '1', '1', '1', '7954', 'تحويل منتجات من المخزن', 'storemovementController.php', '6.00', '5', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4169';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1139, 0, 0
                    , 220.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1139', '5', '1', '0', '7954', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1209', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4422';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1209, 0, 0
                    , 475.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 475.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*475.00," WHERE transferproductid = 7955;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1209', '1', '1', '1', '7955', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4446';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1209, 0, 0
                    , 475.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1209', '5', '1', '0', '7955', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '465', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '465';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 465, 0, 0
                    , 210.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 210.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*210.00," WHERE transferproductid = 7956;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('465', '1', '1', '1', '7956', 'تحويل منتجات من المخزن', 'storemovementController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1885';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 465, 0, 0
                    , 210.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('465', '5', '1', '0', '7956', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1162', '2', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '19', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4240';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1162, 0, 0
                    , 270.00, -2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*270.00," WHERE transferproductid = 7957;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '1', '2', '1', '7957', 'تحويل منتجات من المخزن', 'storemovementController.php', '21.00', '19', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4255';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1162, 0, 0
                    , 270.00, 2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '5', '2', '0', '7957', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '216', '3', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '11', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '216';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2023-02-25', 1, 216, 0, 0
                    , 160.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity-1, sellQuantity = sellQuantity-0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 216, 0, 0
                    , 160.00, -2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 160.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2023-02-25*160.00,2*2024-02-26*160.00," WHERE transferproductid = 7958;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('216', '1', '3', '1', '7958', 'تحويل منتجات من المخزن', 'storemovementController.php', '14.00', '11', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('216', '5', '3', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2023-02-25', 5, 216, 0, 0
                    , 160.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 216, 0, 0
                    , 160.00, 2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('216', '5', '3', '0', '7958', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '450', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '450';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 450, 0, 0
                    , 280.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 280.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*280.00," WHERE transferproductid = 7959;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('450', '1', '1', '1', '7959', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '910';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 450, 0, 0
                    , 280.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('450', '5', '1', '0', '7959', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '596', '3', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1623';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 596, 0, 0
                    , 175.00, -3, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 175.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*175.00," WHERE transferproductid = 7960;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('596', '1', '3', '1', '7960', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4300';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 596, 0, 0
                    , 175.00, 3, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('596', '5', '3', '0', '7960', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '402', '6', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '402';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 402, 0, 0
                    , 240.00, -6, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 240.00,
                        buyQuantity =buyQuantity+-6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "6*2024-02-26*240.00," WHERE transferproductid = 7961;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('402', '1', '6', '1', '7961', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-6', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('402', '5', '6', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 402, 0, 0
                    , 240.00, 6, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('402', '5', '6', '0', '7961', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '6', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '304', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '304';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 304, 0, 0
                    , 145.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 145.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*145.00," WHERE transferproductid = 7962;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('304', '1', '1', '1', '7962', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '891';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 304, 0, 0
                    , 145.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('304', '5', '1', '0', '7962', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '861', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-19', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2730';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 861, 0, 0
                    , 210.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 210.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*210.00," WHERE transferproductid = 7963;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('861', '1', '1', '1', '7963', 'تحويل منتجات من المخزن', 'storemovementController.php', '-18.00', '-19', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3042';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 861, 0, 0
                    , 210.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('861', '5', '1', '0', '7963', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1111', '2', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-39', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3967';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1111, 0, 0
                    , 210.00, -2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 210.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*210.00," WHERE transferproductid = 7964;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1111', '1', '2', '1', '7964', 'تحويل منتجات من المخزن', 'storemovementController.php', '-37.00', '-39', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3986';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1111, 0, 0
                    , 210.00, 2, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1111', '5', '2', '0', '7964', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '5', '1466', '1', '2024-02-26', '1', '0','1795',null,null,'2024-02-26 17:59:56',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5387';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1466, 0, 0
                    , 255.00, -1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyprice = 255.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*255.00," WHERE transferproductid = 7965;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '1', '1', '1', '7965', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5390';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 5, 1466, 0, 0
                    , 255.00, 1, 0, 0, 1, '2024-02-26 17:59:56')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 17:59:56' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '5', '1', '0', '7965', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:29:57";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 17:59:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 17:59:57', '1', 'editshow', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:51:07";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:21:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:21:07', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 14:51:15";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:21:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:21:15', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:00:34";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:30:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:30:34', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5741';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1580', '7', '36', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '40.00', '4', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '39', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5740';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1578', '7', '39', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '39.00', '39', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '40', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5739';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1576', '7', '40', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '40.00', '40', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5548';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1517', '7', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5547';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1515', '7', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5535';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1513', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5534';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1514', '7', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5524';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1510', '7', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5523';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5517';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5511';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '7', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5508';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1505', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5500';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1501', '7', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5499';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1500', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5498';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1503', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5479';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5478';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1494', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5477';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1493', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5468';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1491', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5466';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '7', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5465';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('502', '7', '60', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '60.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5457';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1488', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5456';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1487', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5452';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('215', '7', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5433';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1483', '7', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5382';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5374';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1459', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5373';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '7', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5369';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1457', '7', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5355';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1455', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5348';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1453', '7', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5342';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1333', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5341';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1388', '7', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5329';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1450', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5325';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1448', '7', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5316';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1445', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5285';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1434', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5278';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1432', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5262';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1426', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5253';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1425', '7', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5251';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1423', '7', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5236';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1418', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5229';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1417', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5226';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1415', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5211';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1412', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5210';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1394', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5202';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1407', '7', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5201';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1405', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5200';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1406', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5190';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1402', '7', '16', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5179';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1398', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5178';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1400', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5177';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1399', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5166';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('441', '7', '32', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '32.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5165';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1298', '7', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5138';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1390', '7', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5134';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1389', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5129';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1387', '7', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5109';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1381', '7', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5107';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1360', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5105';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1378', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5092';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1375', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5091';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1374', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5072';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1370', '7', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5037';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1358', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5025';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('173', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5018';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1353', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4960';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1332', '7', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4950';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1330', '7', '44', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '44.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4949';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1331', '7', '47', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '47.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4924';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1324', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4922';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1323', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4921';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1230', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4891';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1234', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4849';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1305', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4848';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1233', '7', '42', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '42.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4805';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('654', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4803';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1283', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4802';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1285', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4801';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1231', '7', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4790';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1289', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4753';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1281', '7', '39', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '39.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4707';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1282', '7', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4703';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1225', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4675';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1271', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4674';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1229', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4607';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1255', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4578';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1236', '7', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4549';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1218', '7', '56', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '56.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4548';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1219', '7', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4546';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1221', '7', '34', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '34.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4545';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1217', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4544';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1222', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4543';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1127', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4542';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1223', '7', '35', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '35.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4503';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('678', '7', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4457';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('457', '7', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4455';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1144', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4406';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1142', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4402';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('509', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4361';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '7', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4324';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1174', '7', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4304';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1173', '7', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4243';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4242';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4234';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1158', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4149';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1132', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4102';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1125', '7', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4100';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1124', '7', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4080';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1119', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4062';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('188', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4051';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1113', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4050';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1112', '7', '27', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4049';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1114', '7', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3993';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('162', '7', '18', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3992';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('681', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3991';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('146', '7', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3983';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1111', '7', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3947';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1104', '7', '67', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '67.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3864';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1092', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3806';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1074', '7', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3777';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1069', '7', '53', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '53.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3776';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1068', '7', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3775';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1067', '7', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3726';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1062', '7', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3694';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1050', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3642';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1041', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3609';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1037', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3442';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('996', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3335';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('978', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3278';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('413', '7', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3257';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('922', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3218';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('967', '7', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3217';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('966', '7', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3173';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('964', '7', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3080';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('739', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2910';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('854', '7', '364', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '364.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2867';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('593', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2735';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('853', '7', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2706';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('345', '7', '33', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '33.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2688';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('656', '7', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2078';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('634', '7', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2073';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('647', '7', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2068';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('641', '7', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2064';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('569', '7', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2055';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('570', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1889';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('617', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1873';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('109', '7', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1871';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('133', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1869';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('218', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1828';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('266', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1823';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('271', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1783';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('404', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1781';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('453', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1780';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('454', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1779';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('455', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1716';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('356', '7', '409', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '409.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1698';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('606', '7', '88', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-88.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1674';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('538', '7', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1673';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('537', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1670';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('590', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1555';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('585', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1517';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1467';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('465', '7', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1311';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('214', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1308';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('126', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1303';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('450', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1301';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('517', '7', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1287';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('524', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1282';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('398', '7', '43', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '43.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1280';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('208', '7', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1273';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('311', '7', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1269';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('121', '7', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1268';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('119', '7', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1254';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('86', '7', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1246';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('75', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1227';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('18', '7', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1226';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('17', '7', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1212';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1', '7', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:00:53";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:30:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:30:53', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:01:05";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:31:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:31:06', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:01:12";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:31:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:31:13', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:03:11";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:33:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:33:11', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:03:28";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:33:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:33:28', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1813';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('281', '7', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:03:30";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:33:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:33:30', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:04:04";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:34:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:34:04', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3076';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('415', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:04:06";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:34:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:34:06', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:04:23";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:34:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:34:23', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '9', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3716';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1060', '7', '9', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '9.00', '9', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:04:25";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:34:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:34:25', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:05:03";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:35:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:35:03', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5356';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('100', '7', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:05:05";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:35:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:35:05', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:05:32";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:35:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:35:32', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:05:41";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:35:41", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:35:41', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:02";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:02', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:20";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:20', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:22";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:22', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:34";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:35', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5450';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1220', '7', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:36";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:36", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:36', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:55";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:55', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3716';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1060', '7', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:57";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:36:57', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:06:59";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:36:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:36:59', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:07:07";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:37:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:37:07', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:07:18";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:37:18", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:37:18', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:15:13";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:45:13", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:45:13', '1', 'add', '156.210.44.59', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS insertUniqueOptNum;;

CREATE PROCEDURE insertUniqueOptNum(IN optnum INT,IN storeidfrom INT,IN storeidto INT,IN productid INT,IN transferproductamount DECIMAL(10,2),IN transferproductdate DATE,IN userid INT,IN conditions INT,IN `comment` TEXT,IN deloperationnum INT,IN sizeid INT,IN colorid INT,IN driverid INT,IN drivertimeout INT,IN driverdate datetime,IN delivererid INT,IN deliverdate datetime,OUT inserted_id INT,OUT optnum_used INT)
BEGIN
DECLARE n INT DEFAULT 0;
DECLARE id INT DEFAULT 0;
DECLARE lastopt INT DEFAULT 0;


DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
    ROLLBACK;
    GET DIAGNOSTICS CONDITION 1 @sqlstate = RETURNED_SQLSTATE,
     @errno = MYSQL_ERRNO, @text = MESSAGE_TEXT;
    SET @full_error = CONCAT("ERROR ", @errno, " (", @sqlstate, "): ", @text);
    SELECT @full_error;
    ROLLBACK;
END;



START TRANSACTION;


SELECT COUNT(*) FROM storemovement WHERE `operationnum` = optnum INTO n;
SELECT DISTINCT operationnum FROM storemovement WHERE operationnum != 0  ORDER BY operationnum DESC limit 1 INTO lastopt;
set lastopt = lastopt+1;

	IF n > 0 THEN


      INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,comment ,
                lastopt,
                deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),lastopt INTO inserted_id,optnum_used;
ELSE

    INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid,transferproductamount, transferproductdate, userid, conditions ,comment
                ,optnum
                ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),optnum INTO inserted_id,optnum_used;
	END IF;

COMMIT WORK; -- it is mandatory dont wait comit in php.as if sp didnot found comit before reaching the end it will rollback giving no errors at all

End;
;;

;
BEGIN;
CALL insertUniqueOptNum(1796,1,7,1460,6,'2024-02-26',1,0, '' ,0,0,0,0,0,'2024-02-26 18:45:13',0,'',@id,@optnum);
UPDATE storedetail SET  productquantity = '-6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5376';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1460, 0, 0
                    , 280.00, -6, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 280.00,
                        buyQuantity =buyQuantity+-6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "6*2024-02-26*280.00," WHERE transferproductid = 7966;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1460', '1', '6', '1', '7966', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-6', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5381';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1460, 0, 0
                    , 280.00, 6, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+6, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1460', '7', '6', '0', '7966', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '6', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1506', '4', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-78', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5510';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1506, 0, 0
                    , 345.00, -4, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 345.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*345.00," WHERE transferproductid = 7967;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '1', '4', '1', '7967', 'تحويل منتجات من المخزن', 'storemovementController.php', '-74.00', '-78', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5511';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1506, 0, 0
                    , 345.00, 4, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '7', '4', '0', '7967', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1513', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5532';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1513, 0, 0
                    , 365.00, -1, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 365.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*365.00," WHERE transferproductid = 7968;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1513', '1', '1', '1', '7968', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5535';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1513, 0, 0
                    , 365.00, 1, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1513', '7', '1', '0', '7968', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1500', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5493';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1500, 0, 0
                    , 350.00, -1, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 350.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*350.00," WHERE transferproductid = 7969;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1500', '1', '1', '1', '7969', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5499';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1500, 0, 0
                    , 350.00, 1, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1500', '7', '1', '0', '7969', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1492', '5', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-12', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5464';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1492, 0, 0
                    , 300.00, -5, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-5, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "5*2024-02-26*300.00," WHERE transferproductid = 7970;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '1', '5', '1', '7970', 'تحويل منتجات من المخزن', 'storemovementController.php', '-7.00', '-12', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '5', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5466';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1492, 0, 0
                    , 300.00, 5, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+5, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '7', '5', '0', '7970', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '5', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1053', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3679';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1053, 0, 0
                    , 165.00, -2, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 165.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*165.00," WHERE transferproductid = 7971;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1053', '1', '2', '1', '7971', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('1053', '7', '2', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1053, 0, 0
                    , 165.00, 2, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1053', '7', '2', '0', '7971', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1488', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5454';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1488, 0, 0
                    , 370.00, -2, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 370.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*370.00," WHERE transferproductid = 7972;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1488', '1', '2', '1', '7972', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5457';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1488, 0, 0
                    , 370.00, 2, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1488', '7', '2', '0', '7972', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1501', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-14', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5494';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1501, 0, 0
                    , 335.00, -2, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 335.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*335.00," WHERE transferproductid = 7973;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1501', '1', '2', '1', '7973', 'تحويل منتجات من المخزن', 'storemovementController.php', '-12.00', '-14', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5500';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1501, 0, 0
                    , 335.00, 2, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1501', '7', '2', '0', '7973', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1510', '7', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5521';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1510, 0, 0
                    , 370.00, -7, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 370.00,
                        buyQuantity =buyQuantity+-7, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "7*2024-02-26*370.00," WHERE transferproductid = 7974;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1510', '1', '7', '1', '7974', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-7', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5524';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1510, 0, 0
                    , 370.00, 7, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+7, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1510', '7', '7', '0', '7974', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '7', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1509', '4', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:13',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-10', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5520';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1509, 0, 0
                    , 380.00, -4, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyprice = 380.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*380.00," WHERE transferproductid = 7975;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '1', '4', '1', '7975', 'تحويل منتجات من المخزن', 'storemovementController.php', '-6.00', '-10', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5523';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1509, 0, 0
                    , 380.00, 4, 0, 0, 1, '2024-02-26 18:45:13')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:13' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '7', '4', '0', '7975', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1511', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5522';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1511, 0, 0
                    , 350.00, -1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 350.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*350.00," WHERE transferproductid = 7976;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1511', '1', '1', '1', '7976', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5525';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1511, 0, 0
                    , 350.00, 1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1511', '7', '1', '0', '7976', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1503', '4', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-6', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5496';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1503, 0, 0
                    , 340.00, -4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 340.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*340.00," WHERE transferproductid = 7977;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1503', '1', '4', '1', '7977', 'تحويل منتجات من المخزن', 'storemovementController.php', '-2.00', '-6', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5498';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1503, 0, 0
                    , 340.00, 4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1503', '7', '4', '0', '7977', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1491', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-9', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5463';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1491, 0, 0
                    , 340.00, -1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 340.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*340.00," WHERE transferproductid = 7978;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1491', '1', '1', '1', '7978', 'تحويل منتجات من المخزن', 'storemovementController.php', '-8.00', '-9', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5468';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1491, 0, 0
                    , 340.00, 1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1491', '7', '1', '0', '7978', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1512', '4', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-53', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5528';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1512, 0, 0
                    , 390.00, -4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 390.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*390.00," WHERE transferproductid = 7979;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '1', '4', '1', '7979', 'تحويل منتجات من المخزن', 'storemovementController.php', '-49.00', '-53', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5531';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1512, 0, 0
                    , 390.00, 4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '7', '4', '0', '7979', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1507', '5', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-64', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5515';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1507, 0, 0
                    , 400.00, -5, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 400.00,
                        buyQuantity =buyQuantity+-5, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "5*2024-02-26*400.00," WHERE transferproductid = 7980;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '1', '5', '1', '7980', 'تحويل منتجات من المخزن', 'storemovementController.php', '-59.00', '-64', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '5', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5517';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1507, 0, 0
                    , 400.00, 5, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+5, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '7', '5', '0', '7980', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '5', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1495', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-32', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5473';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1495, 0, 0
                    , 350.00, -2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 350.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*350.00," WHERE transferproductid = 7981;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '1', '2', '1', '7981', 'تحويل منتجات من المخزن', 'storemovementController.php', '-30.00', '-32', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5479';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1495, 0, 0
                    , 350.00, 2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '7', '2', '0', '7981', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1482', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5427';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1482, 0, 0
                    , 290.00, -1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 290.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*290.00," WHERE transferproductid = 7982;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1482', '1', '1', '1', '7982', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5432';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1482, 0, 0
                    , 290.00, 1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1482', '7', '1', '0', '7982', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1483', '3', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5428';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1483, 0, 0
                    , 300.00, -3, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*300.00," WHERE transferproductid = 7983;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1483', '1', '3', '1', '7983', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5433';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1483, 0, 0
                    , 300.00, 3, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1483', '7', '3', '0', '7983', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1494', '4', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '5', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5472';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1494, 0, 0
                    , 300.00, -4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*300.00," WHERE transferproductid = 7984;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1494', '1', '4', '1', '7984', 'تحويل منتجات من المخزن', 'storemovementController.php', '9.00', '5', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5478';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1494, 0, 0
                    , 300.00, 4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1494', '7', '4', '0', '7984', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1460', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5376';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1460, 0, 0
                    , 280.00, -2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 280.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*280.00," WHERE transferproductid = 7985;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1460', '1', '2', '1', '7985', 'تحويل منتجات من المخزن', 'storemovementController.php', '-6.00', '-8', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '8', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5381';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1460, 0, 0
                    , 280.00, 2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1460', '7', '2', '0', '7985', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '6.00', '8', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1461', '3', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5377';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1461, 0, 0
                    , 300.00, -3, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "3*2024-02-26*300.00," WHERE transferproductid = 7986;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '1', '3', '1', '7986', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-3', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5382';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1461, 0, 0
                    , 300.00, 3, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+3, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '7', '3', '0', '7986', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '3', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1463', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5379';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1463, 0, 0
                    , 310.00, -1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 310.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*310.00," WHERE transferproductid = 7987;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1463', '1', '1', '1', '7987', 'تحويل منتجات من المخزن', 'storemovementController.php', '0.00', '-1', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5384';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1463, 0, 0
                    , 310.00, 1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1463', '7', '1', '0', '7987', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1160', '4', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-11', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4238';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1160, 0, 0
                    , 270.00, -4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "4*2024-02-26*270.00," WHERE transferproductid = 7988;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '1', '4', '1', '7988', 'تحويل منتجات من المخزن', 'storemovementController.php', '-7.00', '-11', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4243';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1160, 0, 0
                    , 270.00, 4, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+4, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '7', '4', '0', '7988', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '4', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1182', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4346';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1182, 0, 0
                    , 260.00, -2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 260.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*260.00," WHERE transferproductid = 7989;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '1', '2', '1', '7989', 'تحويل منتجات من المخزن', 'storemovementController.php', '-5.00', '-7', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4360';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1182, 0, 0
                    , 260.00, 2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '7', '2', '0', '7989', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1162', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '17', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4240';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1162, 0, 0
                    , 270.00, -2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*270.00," WHERE transferproductid = 7990;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '1', '2', '1', '7990', 'تحويل منتجات من المخزن', 'storemovementController.php', '19.00', '17', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4242';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1162, 0, 0
                    , 270.00, 2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '7', '2', '0', '7990', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1171', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-4', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4297';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1171, 0, 0
                    , 270.00, -2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 270.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*270.00," WHERE transferproductid = 7991;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '1', '2', '1', '7991', 'تحويل منتجات من المخزن', 'storemovementController.php', '-2.00', '-4', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4303';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1171, 0, 0
                    , 270.00, 2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '7', '2', '0', '7991', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1140', '2', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-3', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4162';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1140, 0, 0
                    , 220.00, -2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 220.00,
                        buyQuantity =buyQuantity+-2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "2*2024-02-26*220.00," WHERE transferproductid = 7992;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1140', '1', '2', '1', '7992', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-3', '1', '2024-02-26','0','0');
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('1140', '7', '2', '1', '2024-02-26');
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1140, 0, 0
                    , 220.00, 2, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+2, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1140', '7', '2', '0', '7992', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0', '2', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '1458', '1', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '-2', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5371';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1458, 0, 0
                    , 250.00, -1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 250.00,
                        buyQuantity =buyQuantity+-1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "1*2024-02-26*250.00," WHERE transferproductid = 7993;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '1', '1', '1', '7993', 'تحويل منتجات من المخزن', 'storemovementController.php', '-1.00', '-2', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '1', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5373';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 1458, 0, 0
                    , 250.00, 1, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '7', '1', '0', '7993', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '1', '1', '2024-02-26','0','0');
INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,operationnum,driverid,drivertimeout,driverdate,delivererid,deliverdate,storetype,priceType,price,sizeid,colorid) VALUES ('1', '7', '466', '15', '2024-02-26', '1', '0','1796',null,null,'2024-02-26 18:45:14',null,'','0','hide','0','0','0');
UPDATE storedetail SET  productquantity = '7', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '466';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 466, 0, 0
                    , 240.00, -15, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyprice = 240.00,
                        buyQuantity =buyQuantity+-15, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "15*2024-02-26*240.00," WHERE transferproductid = 7994;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '1', '15', '1', '7994', 'تحويل منتجات من المخزن', 'storemovementController.php', '22.00', '7', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '15', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1517';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 7, 466, 0, 0
                    , 240.00, 15, 0, 0, 1, '2024-02-26 18:45:14')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+15, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:45:14' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '7', '15', '0', '7994', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '15', '1', '2024-02-26','0','0');
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:15:14";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:45:14", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:45:14', '1', 'editshow', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:18:11";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:48:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:48:11', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:18:55";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:48:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:48:55', '1', 'add', '156.210.44.59', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS insertUniqueOptNum;;

CREATE PROCEDURE insertUniqueOptNum(IN optnum INT,IN storeidfrom INT,IN storeidto INT,IN productid INT,IN transferproductamount DECIMAL(10,2),IN transferproductdate DATE,IN userid INT,IN conditions INT,IN `comment` TEXT,IN deloperationnum INT,IN sizeid INT,IN colorid INT,IN driverid INT,IN drivertimeout INT,IN driverdate datetime,IN delivererid INT,IN deliverdate datetime,OUT inserted_id INT,OUT optnum_used INT)
BEGIN
DECLARE n INT DEFAULT 0;
DECLARE id INT DEFAULT 0;
DECLARE lastopt INT DEFAULT 0;


DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
    ROLLBACK;
    GET DIAGNOSTICS CONDITION 1 @sqlstate = RETURNED_SQLSTATE,
     @errno = MYSQL_ERRNO, @text = MESSAGE_TEXT;
    SET @full_error = CONCAT("ERROR ", @errno, " (", @sqlstate, "): ", @text);
    SELECT @full_error;
    ROLLBACK;
END;



START TRANSACTION;


SELECT COUNT(*) FROM storemovement WHERE `operationnum` = optnum INTO n;
SELECT DISTINCT operationnum FROM storemovement WHERE operationnum != 0  ORDER BY operationnum DESC limit 1 INTO lastopt;
set lastopt = lastopt+1;

	IF n > 0 THEN


      INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions ,comment ,
                lastopt,
                deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),lastopt INTO inserted_id,optnum_used;
ELSE

    INSERT INTO storemovement (storeidfrom, storeidto, productid, transferproductamount, transferproductdate, userid, conditions,comment,operationnum ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate)
                VALUES (storeidfrom, storeidto, productid,transferproductamount, transferproductdate, userid, conditions ,comment
                ,optnum
                ,deloperationnum,sizeid,colorid,driverid,drivertimeout,driverdate,delivererid,deliverdate);
            SELECT LAST_INSERT_ID(),optnum INTO inserted_id,optnum_used;
	END IF;

COMMIT WORK; -- it is mandatory dont wait comit in php.as if sp didnot found comit before reaching the end it will rollback giving no errors at all

End;
;;

;
BEGIN;
CALL insertUniqueOptNum(1797,1,8,1461,9,'2024-02-26',1,0, '' ,0,0,0,0,0,'2024-02-26 18:48:55',0,'',@id,@optnum);
UPDATE storedetail SET  productquantity = '-12', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5377';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 1, 1461, 0, 0
                    , 300.00, -9, 0, 0, 1, '2024-02-26 18:48:55')
                ON DUPLICATE KEY UPDATE buyprice = 300.00,
                        buyQuantity =buyQuantity+-9, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:48:55' ;
UPDATE storemovement SET  buyPricesHistoryBookData = "9*2024-02-26*300.00," WHERE transferproductid = 7995;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '1', '9', '1', '7995', 'تحويل منتجات من المخزن', 'storemovementController.php', '-3.00', '-12', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '9', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5422';
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2024-02-26', 8, 1461, 0, 0
                    , 300.00, 9, 0, 0, 1, '2024-02-26 18:48:55')
                ON DUPLICATE KEY UPDATE buyQuantity =buyQuantity+9, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2024-02-26 18:48:55' ;
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '8', '9', '0', '7995', 'تحويل منتجات إلى المخزن', 'storemovementController.php', '0.00', '9', '1', '2024-02-26','0','0');
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:18:56";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:48:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:48:56', '1', 'editshow', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:21:10";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:51:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:51:10', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:21:30";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:51:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 18:51:30', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:22:06";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:52:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:52:06', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:23:03";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:53:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:53:03', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '38', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5685';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1579', '5', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '40.00', '38', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:23:05";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:53:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:53:05', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:23:41";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:53:41", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:53:41', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '43', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5696';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1578', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '44.00', '43', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:23:43";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:53:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:53:43', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:23:58";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:53:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:53:58', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '39', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5695';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1580', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '40.00', '39', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:23:59";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:54:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:54:00', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:24:22";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:54:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:54:22', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '35', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5678';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1568', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '36.00', '35', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:24:24";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:54:24", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:54:24', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:24:42";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:54:42", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:54:42', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '20', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5675';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1546', '5', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '18.00', '20', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:24:44";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:54:44", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:54:44', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:25:02";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:55:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:55:02', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '45', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5688';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1581', '5', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '46.00', '45', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:25:04";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:55:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:55:04', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:25:18";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:55:19", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:55:19', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '35', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5691';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1574', '5', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '31.00', '35', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:25:20";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:55:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:55:20', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:26:32";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:56:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 18:56:32', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:28:38";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 18:58:38", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 18:58:38', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:38:03";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:08:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:08:03', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1929';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('649', '1', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1928';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('648', '1', '26', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1927';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('647', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1926';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('646', '1', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1925';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('645', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1924';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('644', '1', '44', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-44.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1923';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('643', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1921';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('642', '1', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1920';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('641', '1', '51', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '51.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1919';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('640', '1', '46', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-46.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1918';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('639', '1', '68', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-68.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1916';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('638', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1915';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('637', '1', '33', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '33.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1914';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('636', '1', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1912';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('635', '1', '200', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '200.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1911';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('634', '1', '159', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '159.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1909';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('632', '1', '29', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1908';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('631', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1907';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('630', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1906';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('629', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1904';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('627', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1903';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('626', '1', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1902';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('625', '1', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1901';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('624', '1', '20', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1900';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('623', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1899';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('622', '1', '42', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '42.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1898';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('621', '1', '25', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1897';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('620', '1', '68', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-68.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1881';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('617', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1685';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('603', '1', '110', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '110.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1684';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('602', '1', '13', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1683';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('601', '1', '123', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '123.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1682';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('600', '1', '147', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '147.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1634';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('598', '1', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1623';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('596', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1619';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('595', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1610';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('593', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1583';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('590', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1541';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('581', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1539';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('579', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1538';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('578', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1535';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('575', '1', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1531';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('572', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1530';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('571', '1', '96', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '96.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1529';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('570', '1', '41', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '41.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1528';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('569', '1', '215', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '215.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1527';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('568', '1', '34', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '34.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1484';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('565', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1482';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('563', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1481';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('562', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1480';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('561', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1468';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('555', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '541';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('541', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '538';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('538', '1', '173', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '173.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '537';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('537', '1', '45', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '45.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '536';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('536', '1', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '535';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('535', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '534';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('534', '1', '29', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '533';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('533', '1', '37', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '37.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '532';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('532', '1', '118', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '118.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '531';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('531', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '530';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('530', '1', '38', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '38.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '529';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('529', '1', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '528';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('528', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '527';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('527', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '525';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('525', '1', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '523';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('523', '1', '61', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '61.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '519';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('519', '1', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '518';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('518', '1', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '517';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('517', '1', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '514';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('514', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '511';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('511', '1', '60', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '60.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '509';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('509', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '502';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('502', '1', '60', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-60.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '498';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('498', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '497';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('497', '1', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '495';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('495', '1', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '492';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('492', '1', '125', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '125.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '490';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('490', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '489';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('489', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '487';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('487', '1', '29', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '486';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('486', '1', '25', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '485';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('485', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '482';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('482', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '481';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('481', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '480';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('480', '1', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '479';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('479', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '474';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('474', '1', '127', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '127.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '471';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('471', '1', '52', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '52.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '468';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('468', '1', '29', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '467';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('467', '1', '162', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '162.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '466';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('466', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '456';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('456', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '450';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('450', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '441';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('441', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '440';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('440', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '439';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('439', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '438';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('438', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '436';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('436', '1', '21', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '432';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('432', '1', '67', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '67.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '431';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('431', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '429';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('429', '1', '38', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-38.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '428';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('428', '1', '35', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-35.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '427';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('427', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '426';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('426', '1', '20', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '423';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('423', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '421';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('421', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '420';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('420', '1', '19', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '418';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('418', '1', '51', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-51.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '417';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('417', '1', '15', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '416';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('416', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '415';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('415', '1', '80', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '80.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '414';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('414', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '413';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('413', '1', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '412';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('412', '1', '70', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '70.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '411';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('411', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '406';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('406', '1', '420', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '420.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '402';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('402', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '398';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('398', '1', '26', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '392';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('392', '1', '69', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '69.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '387';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('387', '1', '25', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '386';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('386', '1', '13', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '385';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('385', '1', '29', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '384';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('384', '1', '31', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-31.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '383';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('383', '1', '29', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '382';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('382', '1', '18', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '374';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('374', '1', '34', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '34.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '370';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('370', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '366';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('366', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '365';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('365', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '364';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('364', '1', '31', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '31.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '362';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('362', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '360';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('360', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '359';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('359', '1', '39', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '39.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '356';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('356', '1', '27', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '355';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('355', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '354';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('354', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '352';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('352', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '350';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('350', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '349';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('349', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '348';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('348', '1', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '347';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('347', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '346';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('346', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '344';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('344', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '343';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('343', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '342';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('342', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '341';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('341', '1', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '334';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('334', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '333';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('333', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '332';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('332', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '329';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('329', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '304';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('304', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '303';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('303', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '302';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('302', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '299';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('299', '1', '38', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '38.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '294';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('294', '1', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '291';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('291', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '284';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('284', '1', '18', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '283';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('283', '1', '31', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-31.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '281';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('281', '1', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '280';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('280', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '279';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('279', '1', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '266';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('266', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '258';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('258', '1', '27', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '255';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('255', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '254';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('254', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '248';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('248', '1', '26', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '244';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('244', '1', '36', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-36.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '241';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('241', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '234';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('234', '1', '25', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '233';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('233', '1', '61', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '61.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '232';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('232', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '231';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('231', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '230';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('230', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '228';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('228', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '223';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('223', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '217';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('217', '1', '61', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-61.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '216';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('216', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '215';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('215', '1', '77', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-77.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '208';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('208', '1', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '205';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('205', '1', '22', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '201';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('201', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '200';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('200', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '197';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('197', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '196';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('196', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '195';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('195', '1', '19', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '194';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('194', '1', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '193';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('193', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '192';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('192', '1', '29', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '189';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('189', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '188';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('188', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '185';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('185', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '184';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('184', '1', '37', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-37.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '182';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('182', '1', '44', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '44.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '181';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('181', '1', '96', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '96.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '180';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('180', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '179';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('179', '1', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '178';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('178', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '176';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('176', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '174';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('174', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '173';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('173', '1', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '172';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('172', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '167';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('167', '1', '87', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-87.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '166';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('166', '1', '20', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '164';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('164', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '163';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('163', '1', '14', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '162';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('162', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '157';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('157', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '156';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('156', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '155';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('155', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '154';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('154', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '153';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('153', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '151';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('151', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '148';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('148', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '147';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('147', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '146';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('146', '1', '170', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '170.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '145';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('145', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '140';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('140', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '135';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('135', '1', '95', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '95.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '129';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('129', '1', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '125';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('125', '1', '69', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '69.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '124';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('124', '1', '16', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '123';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('123', '1', '27', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '121';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('121', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '120';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('120', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '119';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('119', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '114';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('114', '1', '21', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '113';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('113', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '111';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('111', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '109';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('109', '1', '98', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '98.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '108';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('108', '1', '114', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '114.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '107';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('107', '1', '75', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '75.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '106';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('106', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '104';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('104', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '103';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('103', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '102';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('102', '1', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '101';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('101', '1', '28', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '100';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('100', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '99';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('99', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '97';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('97', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '95';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('95', '1', '19', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '93';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('93', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '92';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('92', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '91';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('91', '1', '33', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-33.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '90';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('90', '1', '36', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '36.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '88';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('88', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '85';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('85', '1', '41', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '41.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '81';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('81', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '80';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('80', '1', '69', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '69.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '77';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('77', '1', '46', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-46.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '76';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('76', '1', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '69';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('69', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '66';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('66', '1', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '64';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('64', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '58';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('58', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '53';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('53', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '49';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('49', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '46';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('46', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '45';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('45', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '37';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('37', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '32';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('32', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '27';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('27', '1', '26', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '25';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('25', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '24';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('24', '1', '50', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '50.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '23';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('23', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '22';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('22', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '21';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('21', '1', '48', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-48.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '20';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('20', '1', '35', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '35.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '19';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('19', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '18';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('18', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '17';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('17', '1', '34', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-34.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '15';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('15', '1', '25', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '14';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('14', '1', '9', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '13';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('13', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '12';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('12', '1', '67', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '67.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '11';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('11', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '10';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('10', '1', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '7';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('7', '1', '51', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '51.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '6';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('6', '1', '55', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '55.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('5', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:38:33";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:08:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:08:34', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:51:25";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:21:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:21:25', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5570';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1533', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5569';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1532', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5568';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1531', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5567';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1530', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5566';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1529', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5565';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1528', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5564';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1527', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5563';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1526', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5532';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1513', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5528';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '1', '53', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-53.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5522';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1511', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5521';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1510', '1', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5520';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1509', '1', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5518';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1508', '1', '27', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5515';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1507', '1', '64', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-64.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5510';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1506', '1', '78', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-78.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5507';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1505', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5504';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1504', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5496';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1503', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5495';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1502', '1', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5494';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1501', '1', '14', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5493';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1500', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5490';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1499', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5476';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1498', '1', '77', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-77.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5475';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1497', '1', '13', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5474';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1496', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5473';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1495', '1', '32', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-32.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5472';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1494', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5471';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1493', '1', '70', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-70.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5464';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1492', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5463';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1491', '1', '9', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5462';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1490', '1', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5454';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1488', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5428';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1483', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5427';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1482', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5425';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1480', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5402';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1477', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5401';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1476', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5398';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1473', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5397';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1472', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5396';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1471', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5393';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1468', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5392';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1467', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5387';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1466', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5386';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1465', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5379';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1463', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5377';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1461', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5376';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1460', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5372';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1459', '1', '61', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-61.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5371';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1458', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5366';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1457', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5354';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1456', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5353';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1455', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5349';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1454', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5344';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1453', '1', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5335';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1452', '1', '0', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '0.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5314';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1446', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5277';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1432', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5261';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1426', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5252';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1425', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5243';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1422', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5242';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1421', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5234';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1418', '1', '48', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-48.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5222';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1415', '1', '129', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-129.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5219';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1414', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5206';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1410', '1', '26', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5203';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1408', '1', '64', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '64.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5199';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1407', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5198';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1406', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5197';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1405', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5181';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1402', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5180';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1401', '1', '143', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-143.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5174';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1399', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5167';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1396', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5157';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1395', '1', '48', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '48.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5136';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1390', '1', '148', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-148.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5133';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1389', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5130';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1388', '1', '46', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-46.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5127';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1387', '1', '103', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-103.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5116';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1386', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5095';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1376', '1', '54', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-54.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5090';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1375', '1', '18', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5089';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1374', '1', '36', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-36.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5071';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1370', '1', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5057';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1368', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5050';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1367', '1', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5049';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1366', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5043';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1361', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5040';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1360', '1', '58', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-58.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5039';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1359', '1', '86', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '86.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5036';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1358', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5033';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1357', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5029';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1356', '1', '36', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '36.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5026';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1355', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5016';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1354', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '5014';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1352', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4985';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1351', '1', '10', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4984';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1350', '1', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4982';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1348', '1', '8', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4981';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1347', '1', '21', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4980';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1346', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4978';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1344', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4965';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1338', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4964';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1337', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4963';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1336', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4962';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1335', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4961';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1334', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4958';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1333', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4957';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1332', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4948';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1331', '1', '116', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-116.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4947';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1330', '1', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4936';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1329', '1', '48', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-48.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4910';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1326', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4888';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1320', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4857';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1312', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4838';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1305', '1', '8', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-8.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4832';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1300', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4825';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1299', '1', '57', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '57.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4821';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1298', '1', '158', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-158.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4820';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1297', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4817';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1294', '1', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4777';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1288', '1', '46', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '46.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4776';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1287', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4716';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1285', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4715';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1284', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4714';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1283', '1', '11', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4702';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1282', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4701';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1281', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4700';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1280', '1', '48', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-48.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4688';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1279', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4684';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1275', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4673';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1271', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4664';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1270', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4661';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1267', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4616';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1266', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4614';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1264', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4604';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1256', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4603';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1255', '1', '23', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4587';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1250', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4586';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1249', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4585';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1248', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4583';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1246', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4577';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1244', '1', '16', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4576';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1243', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4575';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1242', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4574';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1241', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4570';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1237', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4569';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1236', '1', '9', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4525';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1235', '1', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4524';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1234', '1', '75', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '75.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4523';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1233', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4521';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1231', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4520';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1230', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4519';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1229', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4518';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1228', '1', '11', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4517';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1227', '1', '116', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '116.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4516';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1226', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4513';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1223', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4512';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1222', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4511';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1221', '1', '31', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-31.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4510';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1220', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4509';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1219', '1', '39', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '39.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4508';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1218', '1', '20', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4460';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1212', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4422';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1209', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4364';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1185', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4347';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1183', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4346';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1182', '1', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4301';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1173', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4298';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1172', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4297';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1171', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4281';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1167', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4261';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1165', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4250';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1164', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4241';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1163', '1', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4240';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4239';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1161', '1', '4', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4238';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1160', '1', '11', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4185';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1145', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4184';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1144', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4164';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1142', '1', '85', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '85.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4163';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1141', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4162';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1140', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4161';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1139', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4160';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1138', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4158';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1137', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4154';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1136', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4153';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1135', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4152';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1134', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4111';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1128', '1', '18', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4098';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1127', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4097';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1126', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4096';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1125', '1', '16', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4095';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1124', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4094';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1123', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4093';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1122', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4085';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1121', '1', '1859', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1859.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4009';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1119', '1', '7', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4008';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1118', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3970';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1114', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3969';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1113', '1', '35', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '35.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3968';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1112', '1', '13', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '13.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3967';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1111', '1', '39', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-39.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3938';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1106', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3907';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1104', '1', '48', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '48.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3861';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1094', '1', '1399', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1399.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3854';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1092', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3853';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1091', '1', '33', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-33.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3852';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1090', '1', '15', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3819';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1078', '1', '39', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-39.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3817';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1077', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3804';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1074', '1', '12', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3791';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1071', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3745';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1069', '1', '205', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '205.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3744';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1068', '1', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3743';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1067', '1', '7', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '7.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3736';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1064', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3735';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1063', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3712';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1060', '1', '30', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '30.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3679';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1053', '1', '2', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3654';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1050', '1', '31', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-31.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3653';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1049', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3623';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1041', '1', '67', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '67.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3604';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1037', '1', '16', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-16.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3540';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1021', '1', '18', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-18.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3502';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1019', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3497';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1018', '1', '23', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-23.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3486';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1015', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3485';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1014', '1', '21', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3462';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1012', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3461';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1011', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3391';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('996', '1', '5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '5.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3390';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('995', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3387';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('994', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3266';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('978', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3264';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('976', '1', '12', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-12.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3195';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('967', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3194';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('966', '1', '272', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-272.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3164';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('964', '1', '10', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-10.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3163';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('963', '1', '20', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-20.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3156';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('959', '1', '17', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3155';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('958', '1', '3', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3150';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('957', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '3069';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('946', '1', '25', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-25.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2999';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('945', '1', '211', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-211.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2997';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('943', '1', '26', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '26.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2995';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('941', '1', '17', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '17.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2994';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('940', '1', '24', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '24.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2992';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('938', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2939';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('924', '1', '132', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '132.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2938';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('923', '1', '97', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '97.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2937';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('922', '1', '29', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-29.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2839';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('887', '1', '11', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '11.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2837';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('885', '1', '6', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2730';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('861', '1', '19', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2704';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('854', '1', '15', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2703';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('853', '1', '40', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '40.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2702';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('852', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2428';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('809', '1', '100', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '100.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2426';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('807', '1', '1', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2425';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('806', '1', '201', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '201.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2412';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('802', '1', '15', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '15.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2407';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('801', '1', '35', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '35.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2406';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('800', '1', '60', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '60.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2405';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('799', '1', '47', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '47.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2383';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('792', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2364';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('783', '1', '38', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '38.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2363';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('782', '1', '49', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '49.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2362';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('781', '1', '454', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '454.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2183';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('757', '1', '1', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-1.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2167';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('748', '1', '19', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '19.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2166';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('747', '1', '28', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '28.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2151';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('739', '1', '22', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '22.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '2150';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('738', '1', '78', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '78.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1965';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('681', '1', '88', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '88.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1962';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('678', '1', '114', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '114.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1960';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('676', '1', '4', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '4.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1958';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('674', '1', '143', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '143.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1955';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('671', '1', '9', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '9.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1954';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('670', '1', '42', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-42.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1953';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('669', '1', '21', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-21.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1950';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('666', '1', '2', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '2.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1948';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('664', '1', '168', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '168.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1943';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('662', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1939';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('658', '1', '32', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '32.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1937';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('656', '1', '14', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '14.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1935';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('654', '1', '27', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-27.00', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1934';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('653', '1', '36.5', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '36.50', '0', '1', '2024-02-26','0','0');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1930';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('650', '1', '24', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '-24.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:51:55";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:21:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:21:55', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:52:43";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:22:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 19:22:43', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:52:50";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:22:50", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 19:22:50', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:53:50";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:23:51", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:23:51', '1', '', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:54:07";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:24:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:24:07', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '1905';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('628', '1', '29', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '29.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:54:09";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:24:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:24:09', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:54:31";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:24:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:24:32', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '526';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('526', '1', '3', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '3.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:54:34";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:24:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:24:34', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:54:50";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:24:50", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:24:50', '1', 'add', '156.210.44.59', '', 'DESKTOP');
UPDATE storedetail SET  productquantity = '0', userid = '1', storedetaildate = '2024-02-26' WHERE storedetailid = '4326';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1175', '1', '6', '1', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالنقص', 'inventoryController.php', '6.00', '0', '1', '2024-02-26','0','0');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 15:54:52";
UPDATE user SET loginip = "156.210.44.59", lastactivetime = "2024-02-26 19:24:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('inventoryController.php', '2024-02-26 19:24:52', '1', 'show', '156.210.44.59', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE userid = 8;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 16:33:41";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 20:03:41", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 20:03:41', '7', 'addsellBill', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:13:40";
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:13:45";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:43:45", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 20:43:45', '8', '', '197.63.219.201', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:13:46";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:13:48";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:43:48", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 20:43:49', '8', 'addsellBill', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:14:39";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:44:39", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 20:44:39', '8', 'addAndRetuen', '197.63.219.201', '', 'DESKTOP');

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 065dcdbe527e1a
-- ----------------------------------------------------------------------------------------------------

BEGIN;
INSERT INTO sellbill (sellbilldate, sellbillserial, sellbillclientid, sellbilltotaldeptbefor, sellbilltotaldeptafter, sellbilldiscount, sellbilldiscounttype, sellbilltotalbill, sellbillaftertotalbill, sellbilltotalpayed, sellbillfinalbill, sellbillstoreid, sellbillsysdate,comment, userid, conditions, sellbillclientname, sellbillsaveid, sellbildirectpayment, billnameid, sellerid, tempclientName, sellQuantity,tax ,carnumber, cartype, carchase, carmotor,costcenterid,dailyentryid,obygyVisitId,onlineOrderId,delbyuserid,delivery,totalafterdelivery,billReservation,billReservationDate,webApiId,visaAccountId,cashPayed,visaPayed,isBankAccountTransfer,extraDiscountPer,extraDiscountVal,taxOfDiscountPer,taxOfDiscountVal,taxBillNumber,collectionType,collectionDate) VALUES ('2024-02-26 20:43:49', '065dcdbe527e1a', '1', '0.00', '0', '0', '1', '1355', '1355', '1355', '0', '6', '2024-02-26 20:44:39', '', '8', '0', 'نقدي', '6', '0', '3', '0', 'نقدي', '3' ,'0','','','','','-1','0','0','0','0','0','1355','0','','0','0','1355','0','0','0','0','0','0','0','0','');
UPDATE client SET  clientdebt = '0', userid = '8' WHERE clientid = '1';
INSERT INTO clientdebtchange (clientid, clientdebtchangebefore, clientdebtchangeamount, clientdebtchangetype, processname, clientdebtchangemodelid, clientdebtchangeafter, clientdebtchangedate, userid, tablename, comment, totalOperationCost,discount,reciptid,dailyentryid , num , billid , paytype, costcenterid,currencyId,conversionFactor,payedInCurrency,saveConversionFactor ) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','15531', '0', '2024-02-26 20:44:39', '8', 'sellbillController.php', 'اضافة فاتورة مبيعات', '1355', '0', null, '0', null, null,'', '0','1','1','0','1');
UPDATE buypriceshistorybook set sellQuantity = sellQuantity+1 where id = 16817;
INSERT INTO sellbilldetail (buyprice, parcode, sellbillid, sellbilldetailcatid, sellbilldetailproductid, sellbilldetailquantity, sellbilldetailprice, sellbilldetailtotalprice, discountvalue, note, pricetype, sellbilldetaildate, productunitid, buydiscount, buydiscounttype,storeid,discounttype,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,onlineOrderId,pricetypepro,playstationPlayId,soldSerialsInDetails,buyPricesHistoryBookIdQuantity) VALUES ('345','01524', '15531', '1', '1524', '1', '405', '405', '0', '', '1', '2024-02-26 20:44:39', '1524', '0.00', '0', '6','0','','','0','0','0','0','0','0','1','0','','16817-1,');
UPDATE sellbilldetail SET  lastbuyprice = 345.00 , meanbuyprice = 345.00, lastbuyprice_withDiscount = 345.00, meanbuyprice_withDiscount = 345.00
                where sellbilldetailid = 46087;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet)
                    VALUES (1524, '2024-02-26', 405, 345, 345
                    , 345, 345, 345, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+405, sellCostBuyPrice =sellCostBuyPrice+345
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+345, sellCostMeanBuyPrice = sellCostMeanBuyPrice+345
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+345, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+345
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                        , netQuantity = netQuantity+1
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice)
                    VALUES (6, '2024-02-26', 405, 345, 345
                    , 345, 345, 345, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+405, sellCostBuyPrice =sellCostBuyPrice+345
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+345, sellCostMeanBuyPrice = sellCostMeanBuyPrice+345
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+345, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+345
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
UPDATE storedetail SET  productquantity = '26', userid = '8', storedetaildate = '2024-02-26 20:44:39' WHERE storedetailid = '5645';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1524', '6', '1', '1', '15531', 'اضافة فاتورة مبيعات', 'sellbillController.php', '27.00', '26', '8', '2024-02-26 20:44:39','0','0');
UPDATE buypriceshistorybook set sellQuantity = sellQuantity+1 where id = 16855;
INSERT INTO sellbilldetail (buyprice, parcode, sellbillid, sellbilldetailcatid, sellbilldetailproductid, sellbilldetailquantity, sellbilldetailprice, sellbilldetailtotalprice, discountvalue, note, pricetype, sellbilldetaildate, productunitid, buydiscount, buydiscounttype,storeid,discounttype,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,onlineOrderId,pricetypepro,playstationPlayId,soldSerialsInDetails,buyPricesHistoryBookIdQuantity) VALUES ('340','01542', '15531', '1', '1542', '1', '420', '420', '0', '', '1', '2024-02-26 20:44:39', '1542', '0.00', '0', '6','0','','','0','0','0','0','0','0','1','0','','16855-1,');
UPDATE sellbilldetail SET  lastbuyprice = 340.00 , meanbuyprice = 340.00, lastbuyprice_withDiscount = 340.00, meanbuyprice_withDiscount = 340.00
                where sellbilldetailid = 46088;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet)
                    VALUES (1542, '2024-02-26', 420, 340, 340
                    , 340, 340, 340, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+420, sellCostBuyPrice =sellCostBuyPrice+340
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+340, sellCostMeanBuyPrice = sellCostMeanBuyPrice+340
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+340, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+340
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                        , netQuantity = netQuantity+1
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice)
                    VALUES (6, '2024-02-26', 420, 340, 340
                    , 340, 340, 340, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+420, sellCostBuyPrice =sellCostBuyPrice+340
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+340, sellCostMeanBuyPrice = sellCostMeanBuyPrice+340
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+340, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+340
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
UPDATE storedetail SET  productquantity = '17', userid = '8', storedetaildate = '2024-02-26 20:44:39' WHERE storedetailid = '5664';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1542', '6', '1', '1', '15531', 'اضافة فاتورة مبيعات', 'sellbillController.php', '18.00', '17', '8', '2024-02-26 20:44:39','0','0');
UPDATE buypriceshistorybook set sellQuantity = sellQuantity+1 where id = 16867;
INSERT INTO sellbilldetail (buyprice, parcode, sellbillid, sellbilldetailcatid, sellbilldetailproductid, sellbilldetailquantity, sellbilldetailprice, sellbilldetailtotalprice, discountvalue, note, pricetype, sellbilldetaildate, productunitid, buydiscount, buydiscounttype,storeid,discounttype,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,onlineOrderId,pricetypepro,playstationPlayId,soldSerialsInDetails,buyPricesHistoryBookIdQuantity) VALUES ('440','01557', '15531', '1', '1557', '1', '530', '530', '0', '', '1', '2024-02-26 20:44:39', '1557', '0.00', '0', '6','0','','','0','0','0','0','0','0','1','0','','16867-1,');
UPDATE sellbilldetail SET  lastbuyprice = 440.00 , meanbuyprice = 440.00, lastbuyprice_withDiscount = 440.00, meanbuyprice_withDiscount = 440.00
                where sellbilldetailid = 46089;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet)
                    VALUES (1557, '2024-02-26', 530, 440, 440
                    , 440, 440, 440, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+530, sellCostBuyPrice =sellCostBuyPrice+440
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+440, sellCostMeanBuyPrice = sellCostMeanBuyPrice+440
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+440, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+440
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                        , netQuantity = netQuantity+1
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice)
                    VALUES (6, '2024-02-26', 530, 440, 440
                    , 440, 440, 440, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+530, sellCostBuyPrice =sellCostBuyPrice+440
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+440, sellCostMeanBuyPrice = sellCostMeanBuyPrice+440
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+440, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+440
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
UPDATE storedetail SET  productquantity = '11', userid = '8', storedetaildate = '2024-02-26 20:44:39' WHERE storedetailid = '5670';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1557', '6', '1', '1', '15531', 'اضافة فاتورة مبيعات', 'sellbillController.php', '12.00', '11', '8', '2024-02-26 20:44:39','0','0');
UPDATE save SET  savecurrentvalue = '5090',  userid = '8' WHERE saveid = '6';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('3735.00','1355', '0', '6', 'اضافة فاتورة مبيعات', '15531', '5090', '2024-02-26 20:44:39', '8',  'sellbillController.php','1','');
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES ('2024-02-26', 1355, 1125, 1125
                    , 1125, 1125, 1125, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1355, sellCostBuyPrice =sellCostBuyPrice+1125
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1125, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1125
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1125, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1125
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES (1, '2024-02-26', 1355, 1125, 1125
                    , 1125, 1125, 1125, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1355, sellCostBuyPrice =sellCostBuyPrice+1125
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1125, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1125
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1125, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1125
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice)
                    VALUES (1, 1355, 1125, 1125
                    , 1125, 1125, 1125, 0)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+1355, netSellCostBuyPrice = netSellCostBuyPrice+1125
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+1125
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+1125
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+1125
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+1125
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+0;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 065dcdbe527e1a and sellbillId = 15531 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:14:40";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:44:40", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 20:44:40', '8', 'addsellBill', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:14:42";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:44:42", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 20:44:42', '8', '', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:16:45";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:46:45", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:46:46', '8', '', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:16:59";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:46:59", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:46:59', '8', 'add', '197.63.219.201', '', 'DESKTOP');
BEGIN;
INSERT INTO expenses (expensestypeid, expensesname, expensesdetails, expensesValue, expensesdate, userid, conditions,costcenterid,saveid,dailyentryid,bankid,bankaccountid,checknum,productid) VALUES ('-1', 'علا', '', '200', '2024-02-26', '8', '0','-1','6','0','0','0','','0');
UPDATE save SET  savecurrentvalue = '4890',  userid = '8' WHERE saveid = '6';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('5090.00','200', '1', '6', 'إضافة مصروف', '4624', '4890', '2024-02-26 20:46:59', '8',  'expensesController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '200', '200', '2024-02-26', '8', '0', '0', '2024-02-26 20:46:59','اضافة اسم مصروف( علا )','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9545', '160', '200', '','0');
UPDATE accountstree SET name = '', customName = '', parent = '10', itemtype = '1', itemfrom = '0', notes = '', del = '1', userid = '1', mydate = '2021-12-01', itemtype2 = '1', theValue = '-3190973', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '160';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9545', '140', '200', '','0');
UPDATE accountstree SET name = 'خزينة محل كفر الدوار', customName = 'خزينة محل كفر الدوار', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2021-11-07', itemtype2 = '1', theValue = '-1518022', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '140';
UPDATE expenses SET expensestypeid = '-1', expensesname = 'علا', expensesdetails = '', expensesValue = '200.00', expensesdate = '2024-02-26', userid = '8', conditions = '0',saveid = '6' , dailyentryid = '9545', bankid = '0', bankaccountid = '0', checknum = '', productid = '0' WHERE expensesid = '4624';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:00";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:00", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:00', '8', 'sucess', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:02";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:02", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:02', '8', 'show', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:03";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:03", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:03', '8', '', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:10";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:10", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:10', '8', 'add', '197.63.219.201', '', 'DESKTOP');
BEGIN;
INSERT INTO expenses (expensestypeid, expensesname, expensesdetails, expensesValue, expensesdate, userid, conditions,costcenterid,saveid,dailyentryid,bankid,bankaccountid,checknum,productid) VALUES ('-1', 'فطار', '', '20', '2024-02-26', '8', '0','-1','6','0','0','0','','0');
UPDATE save SET  savecurrentvalue = '4870',  userid = '8' WHERE saveid = '6';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('4890.00','20', '1', '6', 'إضافة مصروف', '4625', '4870', '2024-02-26 20:47:10', '8',  'expensesController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '20', '20', '2024-02-26', '8', '0', '0', '2024-02-26 20:47:10','اضافة اسم مصروف( فطار )','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9546', '160', '20', '','0');
UPDATE accountstree SET name = '', customName = '', parent = '10', itemtype = '1', itemfrom = '0', notes = '', del = '1', userid = '1', mydate = '2021-12-01', itemtype2 = '1', theValue = '-3190993', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '160';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9546', '140', '20', '','0');
UPDATE accountstree SET name = 'خزينة محل كفر الدوار', customName = 'خزينة محل كفر الدوار', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2021-11-07', itemtype2 = '1', theValue = '-1518042', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '140';
UPDATE expenses SET expensestypeid = '-1', expensesname = 'فطار', expensesdetails = '', expensesValue = '20.00', expensesdate = '2024-02-26', userid = '8', conditions = '0',saveid = '6' , dailyentryid = '9546', bankid = '0', bankaccountid = '0', checknum = '', productid = '0' WHERE expensesid = '4625';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:11";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:11", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:11', '8', 'sucess', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:12";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:12", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:12', '8', 'show', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:14";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:14", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:14', '8', '', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:38";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:38", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:38', '8', 'add', '197.63.219.201', '', 'DESKTOP');
BEGIN;
INSERT INTO expenses (expensestypeid, expensesname, expensesdetails, expensesValue, expensesdate, userid, conditions,costcenterid,saveid,dailyentryid,bankid,bankaccountid,checknum,productid) VALUES ('-1', 'لازقه', '', '30', '2024-02-26', '8', '0','-1','6','0','0','0','','0');
UPDATE save SET  savecurrentvalue = '4840',  userid = '8' WHERE saveid = '6';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('4870.00','30', '1', '6', 'إضافة مصروف', '4626', '4840', '2024-02-26 20:47:38', '8',  'expensesController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '30', '30', '2024-02-26', '8', '0', '0', '2024-02-26 20:47:38','اضافة اسم مصروف( لازقه )','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9547', '160', '30', '','0');
UPDATE accountstree SET name = '', customName = '', parent = '10', itemtype = '1', itemfrom = '0', notes = '', del = '1', userid = '1', mydate = '2021-12-01', itemtype2 = '1', theValue = '-3191023', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '160';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9547', '140', '30', '','0');
UPDATE accountstree SET name = 'خزينة محل كفر الدوار', customName = 'خزينة محل كفر الدوار', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2021-11-07', itemtype2 = '1', theValue = '-1518072', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '140';
UPDATE expenses SET expensestypeid = '-1', expensesname = 'لازقه', expensesdetails = '', expensesValue = '30.00', expensesdate = '2024-02-26', userid = '8', conditions = '0',saveid = '6' , dailyentryid = '9547', bankid = '0', bankaccountid = '0', checknum = '', productid = '0' WHERE expensesid = '4626';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:39";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:39", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:39', '8', 'sucess', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:41";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:41", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 20:47:41', '8', 'show', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:17:41";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:47:41", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 20:47:42', '8', '', '197.63.219.201', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:24:49";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:54:49", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 20:54:49', '8', '', '197.63.219.201', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:24:50";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:24:52";
UPDATE user SET loginip = "197.63.219.201", lastactivetime = "2024-02-26 20:54:52", deviceType = "DESKTOP" WHERE userid = 8;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 20:54:52', '8', 'addsellBill', '197.63.219.201', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:25:26";
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:26:04";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 20:56:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 20:56:05', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:26:05";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:26:09";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 20:56:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 20:56:09', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:26:12";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 20:56:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 20:56:12', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:26:31";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 20:56:31", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 20:56:31', '1', 'show', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:26:58";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 20:56:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storedetailController.php', '2024-02-26 20:56:58', '1', 'show', '156.210.74.216', '', 'DESKTOP');
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:56:32";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:26:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 21:26:32', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:56:32";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:56:39";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:26:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:26:39', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:58:04";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:28:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:28:04', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:58:36";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:28:36", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 21:28:36', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:58:48";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:28:48", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:28:48', '1', 'showDetail', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:59:37";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:29:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 21:29:37', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 17:59:46";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:29:46", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:29:46', '1', 'showDetail', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:01:12";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:31:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:31:12', '1', 'showDetail', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:01:52";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:31:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 21:31:52', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:12:00";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:42:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:42:00', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:12:13";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:42:13", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('productController.php', '2024-02-26 21:42:13', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:13:33";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:43:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('storemovementController.php', '2024-02-26 21:43:33', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:18:59";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:48:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:48:59', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:21:17";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:51:17", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('salesreport.php', '2024-02-26 21:51:17', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:22:12";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:52:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('salesreport.php', '2024-02-26 21:52:12', '1', '', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:22:32";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:52:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:52:32', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:23:08";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:53:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('productController.php', '2024-02-26 21:53:08', '1', 'show', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:23:20";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:53:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('productController.php', '2024-02-26 21:53:20', '1', 'show', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:23:23";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:53:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('productController.php', '2024-02-26 21:53:23', '1', 'edit', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:24:25";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 21:54:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 21:54:25', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:30:56";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 22:00:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('userController.php', '2024-02-26 22:00:57', '1', 'edit', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 18:32:02";
UPDATE user SET loginip = "156.210.74.216", lastactivetime = "2024-02-26 22:02:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 22:02:02', '1', 'addsellBill', '156.210.74.216', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE userid = 1;
UPDATE user SET loginip = "" WHERE userid = 7;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties;
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:32:34";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:02:34", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('index.php', '2024-02-26 23:02:34', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE product
                JOIN (
                       select productingredients.productId
                              ,sum(productnumber * quantity * productBuyPrice) as productBuyPrice
                              ,sum(productnumber * quantity * lastbuyprice) as lastbuyprice
                              ,sum(productnumber * quantity * lastbuyprice_withDiscount) as lastbuyprice_withDiscount
                              ,sum(productnumber * quantity * meanbuyprice) as meanbuyprice
                              ,sum(productnumber * quantity * meanbuyprice_withDiscount) as meanbuyprice_withDiscount
                              ,sum(productnumber * quantity * overAllAveragePrice) as overAllAveragePrice
                      from product
                      join productingredients on product.productId = productingredients.ingridientId
                      join productunit on productunit.productunitid = productingredients.unitId
                      group by productingredients.productId
                    ) as ingridientPrice ON ingridientPrice.productId =  product.productId
                SET product.productBuyPrice = ingridientPrice.productBuyPrice,
                        product.lastbuyprice = ingridientPrice.lastbuyprice,
                    product.lastbuyprice_withDiscount = ingridientPrice.lastbuyprice_withDiscount,
                    product.meanbuyprice = ingridientPrice.meanbuyprice,
                    product.meanbuyprice_withDiscount = ingridientPrice.meanbuyprice_withDiscount,
                    product.overAllAveragePrice = ingridientPrice.overAllAveragePrice;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:32:34";
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:32:40";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:02:40", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 23:02:40', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:32:42";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:02:42", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 23:02:42', '7', 'addsellBill', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:33:24";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:03:24", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 23:03:24', '7', 'addAndRetuen', '197.192.236.37', '', 'DESKTOP');

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 065dcfc72d27ce
-- ----------------------------------------------------------------------------------------------------

BEGIN;
INSERT INTO sellbill (sellbilldate, sellbillserial, sellbillclientid, sellbilltotaldeptbefor, sellbilltotaldeptafter, sellbilldiscount, sellbilldiscounttype, sellbilltotalbill, sellbillaftertotalbill, sellbilltotalpayed, sellbillfinalbill, sellbillstoreid, sellbillsysdate,comment, userid, conditions, sellbillclientname, sellbillsaveid, sellbildirectpayment, billnameid, sellerid, tempclientName, sellQuantity,tax ,carnumber, cartype, carchase, carmotor,costcenterid,dailyentryid,obygyVisitId,onlineOrderId,delbyuserid,delivery,totalafterdelivery,billReservation,billReservationDate,webApiId,visaAccountId,cashPayed,visaPayed,isBankAccountTransfer,extraDiscountPer,extraDiscountVal,taxOfDiscountPer,taxOfDiscountVal,taxBillNumber,collectionType,collectionDate) VALUES ('2024-02-26 23:02:42', '065dcfc72d27ce', '1', '0.00', '0', '0', '1', '290', '290', '290', '0', '5', '2024-02-26 23:03:24', '', '7', '0', 'نقدي', '5', '0', '3', '0', 'نقدي', '1' ,'0','','','','','-1','0','0','0','0','0','290','0','','0','0','290','0','0','0','0','0','0','0','0','');
UPDATE client SET  clientdebt = '0', userid = '7' WHERE clientid = '1';
INSERT INTO clientdebtchange (clientid, clientdebtchangebefore, clientdebtchangeamount, clientdebtchangetype, processname, clientdebtchangemodelid, clientdebtchangeafter, clientdebtchangedate, userid, tablename, comment, totalOperationCost,discount,reciptid,dailyentryid , num , billid , paytype, costcenterid,currencyId,conversionFactor,payedInCurrency,saveConversionFactor ) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','15532', '0', '2024-02-26 23:03:24', '7', 'sellbillController.php', 'اضافة فاتورة مبيعات', '290', '0', null, '0', null, null,'', '0','1','1','0','1');
UPDATE buypriceshistorybook set sellQuantity = sellQuantity+1 where id = 17227;
INSERT INTO sellbilldetail (buyprice, parcode, sellbillid, sellbilldetailcatid, sellbilldetailproductid, sellbilldetailquantity, sellbilldetailprice, sellbilldetailtotalprice, discountvalue, note, pricetype, sellbilldetaildate, productunitid, buydiscount, buydiscounttype,storeid,discounttype,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,onlineOrderId,pricetypepro,playstationPlayId,soldSerialsInDetails,buyPricesHistoryBookIdQuantity) VALUES ('270','01162', '15532', '1', '1162', '1', '290.00', '290', '0', '', '2', '2024-02-26 23:03:24', '1162', '0.00', '0', '5','0','','','0','0','0','0','0','0','2','0','','17227-1,');
UPDATE sellbilldetail SET  lastbuyprice = 270.00 , meanbuyprice = 270.00, lastbuyprice_withDiscount = 270.00, meanbuyprice_withDiscount = 270.00
                where sellbilldetailid = 46090;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet)
                    VALUES (1162, '2024-02-26', 290, 270, 270
                    , 270, 270, 270, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+290, sellCostBuyPrice =sellCostBuyPrice+270
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+270, sellCostMeanBuyPrice = sellCostMeanBuyPrice+270
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+270, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+270
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                        , netQuantity = netQuantity+1
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice)
                    VALUES (5, '2024-02-26', 290, 270, 270
                    , 270, 270, 270, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+290, sellCostBuyPrice =sellCostBuyPrice+270
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+270, sellCostMeanBuyPrice = sellCostMeanBuyPrice+270
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+270, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+270
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
UPDATE storedetail SET  productquantity = '1', userid = '7', storedetaildate = '2024-02-26 23:03:24' WHERE storedetailid = '4255';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1162', '5', '1', '1', '15532', 'اضافة فاتورة مبيعات', 'sellbillController.php', '2.00', '1', '7', '2024-02-26 23:03:24','0','0');
UPDATE save SET  savecurrentvalue = '4445',  userid = '7' WHERE saveid = '5';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('4155.00','290', '0', '5', 'اضافة فاتورة مبيعات', '15532', '4445', '2024-02-26 23:03:24', '7',  'sellbillController.php','1','');
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES ('2024-02-26', 290, 270, 270
                    , 270, 270, 270, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+290, sellCostBuyPrice =sellCostBuyPrice+270
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+270, sellCostMeanBuyPrice = sellCostMeanBuyPrice+270
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+270, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+270
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES (1, '2024-02-26', 290, 270, 270
                    , 270, 270, 270, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+290, sellCostBuyPrice =sellCostBuyPrice+270
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+270, sellCostMeanBuyPrice = sellCostMeanBuyPrice+270
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+270, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+270
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice)
                    VALUES (1, 290, 270, 270
                    , 270, 270, 270, 0)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+290, netSellCostBuyPrice = netSellCostBuyPrice+270
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+270
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+270
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+270
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+270
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+0;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 065dcfc72d27ce and sellbillId = 15532 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:33:25";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:03:25", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 23:03:25', '7', 'addsellBill', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:33:47";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:03:47", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 23:03:47', '7', 'addAndRetuen', '197.192.236.37', '', 'DESKTOP');

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 065dcfc9da154d
-- ----------------------------------------------------------------------------------------------------

BEGIN;
INSERT INTO sellbill (sellbilldate, sellbillserial, sellbillclientid, sellbilltotaldeptbefor, sellbilltotaldeptafter, sellbilldiscount, sellbilldiscounttype, sellbilltotalbill, sellbillaftertotalbill, sellbilltotalpayed, sellbillfinalbill, sellbillstoreid, sellbillsysdate,comment, userid, conditions, sellbillclientname, sellbillsaveid, sellbildirectpayment, billnameid, sellerid, tempclientName, sellQuantity,tax ,carnumber, cartype, carchase, carmotor,costcenterid,dailyentryid,obygyVisitId,onlineOrderId,delbyuserid,delivery,totalafterdelivery,billReservation,billReservationDate,webApiId,visaAccountId,cashPayed,visaPayed,isBankAccountTransfer,extraDiscountPer,extraDiscountVal,taxOfDiscountPer,taxOfDiscountVal,taxBillNumber,collectionType,collectionDate) VALUES ('2024-02-26 23:03:25', '065dcfc9da154d', '1', '0.00', '0', '10', '1', '460', '450', '450', '0', '5', '2024-02-26 23:03:47', '', '7', '0', 'نقدي', '5', '0', '3', '0', 'نقدي', '1' ,'0','','','','','-1','0','0','0','0','0','450','0','','0','0','450','0','0','0','0','0','0','0','0','');
UPDATE client SET  clientdebt = '0', userid = '7' WHERE clientid = '1';
INSERT INTO clientdebtchange (clientid, clientdebtchangebefore, clientdebtchangeamount, clientdebtchangetype, processname, clientdebtchangemodelid, clientdebtchangeafter, clientdebtchangedate, userid, tablename, comment, totalOperationCost,discount,reciptid,dailyentryid , num , billid , paytype, costcenterid,currencyId,conversionFactor,payedInCurrency,saveConversionFactor ) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','15533', '0', '2024-02-26 23:03:47', '7', 'sellbillController.php', 'اضافة فاتورة مبيعات', '450', '0', null, '0', null, null,'', '0','1','1','0','1');
UPDATE buypriceshistorybook set sellQuantity = sellQuantity+1 where id = 16679;
INSERT INTO sellbilldetail (buyprice, parcode, sellbillid, sellbilldetailcatid, sellbilldetailproductid, sellbilldetailquantity, sellbilldetailprice, sellbilldetailtotalprice, discountvalue, note, pricetype, sellbilldetaildate, productunitid, buydiscount, buydiscounttype,storeid,discounttype,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,onlineOrderId,pricetypepro,playstationPlayId,soldSerialsInDetails,buyPricesHistoryBookIdQuantity) VALUES ('390','01512', '15533', '1', '1512', '1', '460', '460', '0', '', '1', '2024-02-26 23:03:47', '1512', '0.00', '0', '5','0','','','0','0','0','0','0','0','1','0','','16679-1,');
UPDATE sellbilldetail SET  lastbuyprice = 390.00 , meanbuyprice = 390.00, lastbuyprice_withDiscount = 390.00, meanbuyprice_withDiscount = 390.00
                where sellbilldetailid = 46091;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet)
                    VALUES (1512, '2024-02-26', 450, 390, 390
                    , 390, 390, 390, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+450, sellCostBuyPrice =sellCostBuyPrice+390
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+390, sellCostMeanBuyPrice = sellCostMeanBuyPrice+390
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+390, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+390
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                        , netQuantity = netQuantity+1
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice)
                    VALUES (5, '2024-02-26', 450, 390, 390
                    , 390, 390, 390, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+450, sellCostBuyPrice =sellCostBuyPrice+390
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+390, sellCostMeanBuyPrice = sellCostMeanBuyPrice+390
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+390, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+390
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
UPDATE storedetail SET  productquantity = '8', userid = '7', storedetaildate = '2024-02-26 23:03:47' WHERE storedetailid = '5530';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('1512', '5', '1', '1', '15533', 'اضافة فاتورة مبيعات', 'sellbillController.php', '9.00', '8', '7', '2024-02-26 23:03:47','0','0');
UPDATE save SET  savecurrentvalue = '4895',  userid = '7' WHERE saveid = '5';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('4445.00','450', '0', '5', 'اضافة فاتورة مبيعات', '15533', '4895', '2024-02-26 23:03:47', '7',  'sellbillController.php','1','');
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES ('2024-02-26', 450, 390, 390
                    , 390, 390, 390, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+450, sellCostBuyPrice =sellCostBuyPrice+390
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+390, sellCostMeanBuyPrice = sellCostMeanBuyPrice+390
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+390, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+390
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice)
                    VALUES (1, '2024-02-26', 450, 390, 390
                    , 390, 390, 390, 0
                    , 0, 0, 0, 0
                    , 0, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+450, sellCostBuyPrice =sellCostBuyPrice+390
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+390, sellCostMeanBuyPrice = sellCostMeanBuyPrice+390
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+390, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+390
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+0
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                        , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice)
                    VALUES (1, 450, 390, 390
                    , 390, 390, 390, 0)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+450, netSellCostBuyPrice = netSellCostBuyPrice+390
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+390
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+390
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+390
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+390
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+0;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 065dcfc9da154d and sellbillId = 15533 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:33:48";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:03:48", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('sellbillController.php', '2024-02-26 23:03:48', '7', 'addsellBill', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:33:53";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:03:53", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('clientPayedDeptController.php', '2024-02-26 23:03:53', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:34:20";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:04:20", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('clientPayedDeptController.php', '2024-02-26 23:04:20', '7', 'add', '197.192.236.37', '', 'DESKTOP');
DROP PROCEDURE IF EXISTS clientInUse;;

CREATE PROCEDURE clientInUse(IN id INT,OUT debtis VARCHAR(256),OUT nameis VARCHAR(256))
BEGIN
DECLARE in_use_flag INT DEFAULT 1;
SELECT inUse FROM client WHERE clientid = id INTO in_use_flag;

    IF in_use_flag = 0 THEN
        update client set inUse=1 where clientid = id;
        SELECT clientdebt,clientname INTO debtis,nameis FROM client WHERE clientid = id ;
    ELSE
        SELECT "in_use","in_use" INTO debtis,nameis;
    END IF;

END

;

-- ----------------------------------------------------------------------------------------------------
-- clientPayedDeptController add - with modelid =23268
-- ----------------------------------------------------------------------------------------------------

BEGIN;
CALL clientInUse(148,@clientdebt,@clientname);
UPDATE client SET  clientdebt = '400' , clientdate = '2024-02-26 23:04:20', userid = '7' WHERE clientid = '148';
UPDATE client SET  inUse = 0 where clientid = 148;
INSERT INTO clientdebtchange (clientid, clientdebtchangebefore, clientdebtchangeamount, clientdebtchangetype, processname, clientdebtchangemodelid, clientdebtchangeafter, clientdebtchangedate, userid, tablename, comment, totalOperationCost,discount,reciptid,dailyentryid , num , billid , paytype, costcenterid,currencyId,conversionFactor,payedInCurrency,saveConversionFactor ) VALUES ('148','770.00','370','1','ايصال تحصيل (( قبض من عميل ))','23268', '400', '2024-02-26 23:03:53', '7', 'clientPayedDeptController.php', '   ', '370', '0', null, '0', null, null,'', '-1','1','1','1','1');
UPDATE save SET  savecurrentvalue = '5265',  userid = '7' WHERE saveid = '5';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('4895.00','370', '0', '5', 'ايصال تحصيل (( قبض من عميل ))', '23268', '5265', '2024-02-26 23:04:21', '7',  'clientPayedDeptController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '370', '370', '2024-02-26', '7', '0', '0', '2024-02-26 23:04:21','اضافة ايصال سداد للعميل ام هاجر منقبه','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9548', '139', '370', '','0');
UPDATE accountstree SET name = 'خزينة محل عبدالله', customName = 'خزينة محل عبدالله', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2022-07-06', itemtype2 = '1', theValue = '-2524828', theOrder = '0', layingOrder = '',reportid = '0' WHERE id = '139';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9548', '224', '370', '','0');
UPDATE accountstree SET name = 'ام هاجر منقبه', customName = 'ام هاجر منقبه', parent = '23', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '5', mydate = '2022-03-30', itemtype2 = '1', theValue = '-4715', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '224';
UPDATE clientdebtchange SET clientid = '148', clientdebtchangebefore = '770.00', clientdebtchangeamount = '370.00', clientdebtchangetype = '1', processname = 'ايصال تحصيل (( قبض من عميل ))', clientdebtchangemodelid = '23268', clientdebtchangeafter = '400.00', clientdebtchangedate = '2024-02-26 23:03:53', userid = '7', tablename = 'clientPayedDeptController.php', comment = '   ', totalOperationCost = '370.00',discount='', reciptid=null, dailyentryid = '9548',seller = '0',currencyId='1',conversionFactor='1',payedInCurrency='1',saveConversionFactor='1' WHERE clientdebtchangeid = '23268';
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- clientPayedDeptController add end - with modelid =23268 -clientdebtchangeId = 23268
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:34:21";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:04:21", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('clientPayedDeptController.php', '2024-02-26 23:04:21', '7', 'sucess', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:34:23";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:04:23", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('clientPayedDeptController.php', '2024-02-26 23:04:23', '7', 'show', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:34:26";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:04:26", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 23:04:26', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:35:31";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:05:31", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:05:31', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:35:42";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:05:42", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:05:42', '7', 'add', '197.192.236.37', '', 'DESKTOP');
BEGIN;
INSERT INTO expenses (expensestypeid, expensesname, expensesdetails, expensesValue, expensesdate, userid, conditions,costcenterid,saveid,dailyentryid,bankid,bankaccountid,checknum,productid) VALUES ('2', 'عماد', '', '100', '2024-02-26', '7', '0','-1','5','0','0','0','','0');
UPDATE save SET  savecurrentvalue = '5165',  userid = '7' WHERE saveid = '5';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('5265.00','100', '1', '5', 'إضافة مصروف', '4627', '5165', '2024-02-26 23:05:42', '7',  'expensesController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '100', '100', '2024-02-26', '7', '0', '0', '2024-02-26 23:05:42','اضافة اسم مصروف( عماد )','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9549', '145', '100', '','0');
UPDATE accountstree SET name = 'مرتبات', customName = 'مرتبات', parent = '14', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2021-11-08', itemtype2 = '0', theValue = '486770', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '145';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9549', '139', '100', '','0');
UPDATE accountstree SET name = 'خزينة محل عبدالله', customName = 'خزينة محل عبدالله', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2022-07-06', itemtype2 = '1', theValue = '-2524928', theOrder = '0', layingOrder = '',reportid = '0' WHERE id = '139';
UPDATE expenses SET expensestypeid = '2', expensesname = 'عماد', expensesdetails = '', expensesValue = '100.00', expensesdate = '2024-02-26', userid = '7', conditions = '0',saveid = '5' , dailyentryid = '9549', bankid = '0', bankaccountid = '0', checknum = '', productid = '0' WHERE expensesid = '4627';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:35:43";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:05:43", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:05:43', '7', 'sucess', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:35:45";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:05:45", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:05:45', '7', 'show', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:35:49";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:05:49", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:05:49', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:36:16";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:06:17", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:06:17', '7', 'add', '197.192.236.37', '', 'DESKTOP');
BEGIN;
INSERT INTO expenses (expensestypeid, expensesname, expensesdetails, expensesValue, expensesdate, userid, conditions,costcenterid,saveid,dailyentryid,bankid,bankaccountid,checknum,productid) VALUES ('-1', 'توكتوك نقل بضاعه', '', '100', '2024-02-26', '7', '0','-1','5','0','0','0','','0');
UPDATE save SET  savecurrentvalue = '5065',  userid = '7' WHERE saveid = '5';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note) VALUES ('5165.00','100', '1', '5', 'إضافة مصروف', '4628', '5065', '2024-02-26 23:06:17', '7',  'expensesController.php','0','');
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid) VALUES ( '100', '100', '2024-02-26', '7', '0', '0', '2024-02-26 23:06:17','اضافة اسم مصروف( توكتوك نقل بضاعه )','1','0','-1');
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9550', '160', '100', '','0');
UPDATE accountstree SET name = '', customName = '', parent = '10', itemtype = '1', itemfrom = '0', notes = '', del = '1', userid = '1', mydate = '2021-12-01', itemtype2 = '1', theValue = '-3191123', theOrder = '0', layingOrder = '',reportid = '2' WHERE id = '160';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('9550', '139', '100', '','0');
UPDATE accountstree SET name = 'خزينة محل عبدالله', customName = 'خزينة محل عبدالله', parent = '20', itemtype = '3', itemfrom = '0', notes = '', del = '0', userid = '1', mydate = '2022-07-06', itemtype2 = '1', theValue = '-2525028', theOrder = '0', layingOrder = '',reportid = '0' WHERE id = '139';
UPDATE expenses SET expensestypeid = '-1', expensesname = 'توكتوك نقل بضاعه', expensesdetails = '', expensesValue = '100.00', expensesdate = '2024-02-26', userid = '7', conditions = '0',saveid = '5' , dailyentryid = '9550', bankid = '0', bankaccountid = '0', checknum = '', productid = '0' WHERE expensesid = '4628';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:36:17";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:06:17", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:06:17', '7', 'sucess', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:36:19";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:06:19", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('expensesController.php', '2024-02-26 23:06:19', '7', 'show', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:36:28";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:06:28", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 23:06:28', '7', '', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE lastactivetime < "2024-02-26 19:36:32";
UPDATE user SET loginip = "197.192.236.37", lastactivetime = "2024-02-26 23:06:32", deviceType = "DESKTOP" WHERE userid = 7;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType) VALUES ('savedailyController.php', '2024-02-26 23:06:32', '7', 'showDetail', '197.192.236.37', '', 'DESKTOP');
UPDATE user SET loginip = "" WHERE userid = 7;
