UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:25:42";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:25:54";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 08:55:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 08:55:55', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=301
UPDATE programsettings SET companyname = 'الشاذلي للاضاءه الحديثه', address = 'كفر بهديه بجوار المستشفي<br/> المرتجع خلال 3 اشهورمن تاريخ الفاتوره<br/>الا الاسلاك خلال 20يوم<br/>ممنوع رجوع الاسلاك واللد المفتوح', specializtion = '', phone = '01096879556-01091024885', faxnumber = '', email = 'mousa_maged@hotmail.com', website = '', logo = '42f5d87d052910c7bc721e3958a8d368.png', roundnumbers = '1', saveprinting = '1', deptprinting = '1', printingpapersize = '0', userid = '1', showPreviousPrice = '0', parcode = '0', priceing = '0', lastprice = '0', searchvalue = '2',clientsearchvalue = '2', updateproductprice = '0', allowfinsldelete = '0', updateclientprice = '0', `partition` = 'D', taxcard = '123456789123', commercialregistration = '1234', costcenter = '1', clinic = '1', workshop = '1', transport = '1', manufacturing = '1', masterCopy = '0' , dailyentrydate = '2020-04-18' ,updatefiledate = '2026-09-14',workerbetweenstores = '1',workshoptimeout = '24',drivertimeout = '3',currancy = 'جنيه',serial='57a85883346811cbf7076a51c5bd887a2e96bf2df777a95668d34a3537aceedfe3f238b684c96d789642405e6f69293dbb311716d957a5ac40fe5570cf297eaf',allowdateedit = '0', clientcode = '1' ,clientserial = '1',timezone = 'Africa/Cairo' , expiredate ='1' , production ='1' , description='1' , service ='0' , 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 = '0', isCafe = '0' ,isRestaurent = '0' ,productDays = '0',thereIsRestTax = '0',restTaxVal = '0',restPrintLang = '0',taxNameFlag = '0',parcodeDigits = '5' ,specializedParcodeDigits = '7', clientDefaultDebtLimit = '10000' , clientDefaultDebtLimitControl = '0',usedParcode = '1' ,productbycodeimage = '' ,commentClient='تعليق على العميل ',Inventoryevaluation='last_discount',Profitevaluation='last_discount' , delivery='0',premiums = '1',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 = ',0,0,0,',earlyrepayment = '0',visaPay = '0',headerPrint='38e56bc84e0c8adff190ee376e986bbd.png',headerPrintSand='',printSand='0',makeDailyEntry='1',clientShowTawla='0',billRest='1',suppIsClientToo='0',isCarBill='0',expensesproduct='1',projectshownew='1',showparcode='0',changeBuyPriceChangeSellInBuyBillCtrl = '0',changeBuyPriceChangeSellInProductCtrl = '0',inventoryvaluation = '1',showBillCollectionSearch='0',incomeclient='1',showserial='1',editservice='1',showCurrency='0',qrerp='1',valueadded='0',qrcodesh='0',printfoot='',sellorder='0',numberprint='0',valueaddedbuy='0',simpleAddClientInBill='0',licenseNo='',maintenance='0',showPrevDiscount='0',vatvalueqr='0.13043479',imgprinthide='0',parcodeprinttype = 'C128A',parcodeprintwidth='160',parcodeprinttextsize='14',parcodeprintCurr='L.E',sizecolorDigits='3',searchBarcodeInBill='0',allowMobileLogin='0',lanAllowType='0',wanAllowType='0',sendBillToRestaurant='0',obgyPharmacyGroups='',updateProUnitPricesOnPriceUpdate='0',ebill='0',valueaddeddiscount='0',clientdetail='1',showPrevPricesRet='0',showPrevDiscountRet='0',eunitInTax='',showStoreToDetail='0',showBuyPriceAtProductddl='0',specialexpenses='1',ratioshow='0',defaultUnitPriceAtBill='0',rulers='0',quantitynew='0',showBillOperationSearch='0',obygyFolder='',clientsell='0',
                preorderperiod='0',useListPrice='0',ebillclient='0',importproduct='0',realestateunits='0',expensesupplier='0',changeOrderproduct='0',searchlimit='0',typebill='',roundnumbersbilltotal='0',noOfDecimalPlacesBillTotal='0',dailyEntryCostprice='last_discount',storeRecieveType='0',clientPhoneReq='0',addServiceToBill='0',realestatedev='1',showprice4='0',showprice5='0',showprice6='0',showprice7='0',showprice8='0',showpriceall='1',showpricehalf='1',showpriceunit='1',showbillstatus='0',showbilldeliverydate='0',enablequantityfractions='0',addclienttoproduct='0',closingcustomeraccount='0',serial2='',
                shownameE='0',showprocode='0',showpartnumber='0',showtype='0',showcompany='0',showweight='0',showorigin='0',showhscode='0',showexpire='0',showgrantduration='0',showonline='0',showminappear='0',showonlinecat='0',showsellpercentage='0',showbuydiscount='0',preparingStore='1',sellordername='0',showsearchfilter='0',unitPriceAtsalesreport='0',medExCat='0',laterNakdiClientId='0',headerPrint12Right='',headerPrint12Left='',halfPriceStart='0',allPriceStart='0',checkretsellclient='1',webApiId='0',noBillEditTillPay='0',showDataOfficialContract='0',showprice9='0',showprice10='0',showprice11='0',showprice12='0',showprice13='0',serial3='9aad922c8dc25742295df2779fde48ab62230719d569b9aa71bf6d5e0e08471c7dbda60d508155af60894a0ba3bbd86ffbee699027a409bcd9ca11e28a846cc5',associatedtags='0',commentClientChasis='0',dollarExType='64',saudielectronicinvoice='0',saudielectronicinvoclient='0',productDiscount='0'
                ,reviewRecords='',reviewRecordsLastDate='0000-00-00',showepayrestaurant='0',showSellAllPriceInStoreDetail='0' WHERE programsettingsid = '1';
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 05:26:00";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 08:56:00', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=302
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:26:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 08:56:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 08:56:09', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php'); -- id=303
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:26:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 08:56:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 08:56:26', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php?do=show'); -- id=304
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:26:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 08:56:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 08:56:30', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=305
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:30:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:00:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:00:29', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php'); -- id=306
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:06', '1', 'add2', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=add2'); -- id=307
INSERT INTO productcat (productCatName, productCatDate, productCatDescription, productCatParent, userId, conditions, selldiscount, buydiscount, discounttype,isOptic , buytotal , buyhalf , buypart ,buypricereal,opticServices,logo,inMenu,stopNegativeSale,catExcelid,webApiId,obygyInvestigationCatId,price4,price5,price6,price7,price8,price9,price10,price11,price12,price13) VALUES ('الوسام','2026-09-14','','0', '1','0', '0', '0', '-1', '0', '0', '0', '0','0','','.','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); -- id=18
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (18, 1,'2026-09-14 09:01:07',1)
                ON DUPLICATE KEY UPDATE catid = 18, edited = 1, sysdate = '2026-09-14 09:01:07', userid = 1; -- id=18
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:07', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=308
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:09', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=309
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:10', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php'); -- id=310
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:22', '1', 'add2', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=add2'); -- id=311
INSERT INTO productcat (productCatName, productCatDate, productCatDescription, productCatParent, userId, conditions, selldiscount, buydiscount, discounttype,isOptic , buytotal , buyhalf , buypart ,buypricereal,opticServices,logo,inMenu,stopNegativeSale,catExcelid,webApiId,obygyInvestigationCatId,price4,price5,price6,price7,price8,price9,price10,price11,price12,price13) VALUES ('عز العرب','2026-09-14','','0', '1','0', '0', '0', '-1', '0', '0', '0', '0','0','','.','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); -- id=19
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (19, 1,'2026-09-14 09:01:22',1)
                ON DUPLICATE KEY UPDATE catid = 19, edited = 1, sysdate = '2026-09-14 09:01:22', userid = 1; -- id=19
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:23', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=312
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:24";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:24", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:24', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=313
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:25', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php'); -- id=314
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:53";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:53', '1', 'add2', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=add2'); -- id=315
INSERT INTO productcat (productCatName, productCatDate, productCatDescription, productCatParent, userId, conditions, selldiscount, buydiscount, discounttype,isOptic , buytotal , buyhalf , buypart ,buypricereal,opticServices,logo,inMenu,stopNegativeSale,catExcelid,webApiId,obygyInvestigationCatId,price4,price5,price6,price7,price8,price9,price10,price11,price12,price13) VALUES ('باندا','2026-09-14','','0', '1','0', '0', '0', '-1', '0', '0', '0', '0','0','','.','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); -- id=20
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (20, 1,'2026-09-14 09:01:54',1)
                ON DUPLICATE KEY UPDATE catid = 20, edited = 1, sysdate = '2026-09-14 09:01:54', userid = 1; -- id=20
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:54";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:54', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=316
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:31:56";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:01:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:01:56', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=317
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:32:46";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:02:46", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:02:46', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php'); -- id=318
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:33:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:03:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:03:49', '1', 'add2', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=add2'); -- id=319
INSERT INTO productcat (productCatName, productCatDate, productCatDescription, productCatParent, userId, conditions, selldiscount, buydiscount, discounttype,isOptic , buytotal , buyhalf , buypart ,buypricereal,opticServices,logo,inMenu,stopNegativeSale,catExcelid,webApiId,obygyInvestigationCatId,price4,price5,price6,price7,price8,price9,price10,price11,price12,price13) VALUES ('ريدي رونج','2026-09-14','','0', '1','0', '0', '0', '-1', '0', '0', '0', '0','0','','.','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); -- id=21
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (21, 1,'2026-09-14 09:03:52',1)
                ON DUPLICATE KEY UPDATE catid = 21, edited = 1, sysdate = '2026-09-14 09:03:52', userid = 1; -- id=21
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '21', '1', '2026-09-14', '1', '0'); -- id=17
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:33:53";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:03:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:03:53', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=320
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:33:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:03:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 09:03:55', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=321
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 05:43:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:13:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:13:09', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=322
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:02:32";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:32:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:32:32', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=323
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح 4 طرف اسمر ','','1','121.4','123','128','123','2026-09-14','0','1','10','','0','0','0','0','0','121.4','121.4','121.4','121.4','121.4','0','1.32','1.32','5.44','.','0','0','0','121.4','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','121.4','121.4','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','121.4','0','0','0','0','0','0','','','0','0','0','0'); -- id=40
UPDATE product SET productName = 'مفتاح 4 طرف اسمر ', productDescription = '', productCatId = '1', productBuyPrice = '121.4', productSellAllPrice = '123', productSellUnitPrice = '128', productSellHalfPrice = '123', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '10', parcode = '00040',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '121.4',lastbuyprice_withDiscount = '121.4',meanbuyprice = '121.4',meanbuyprice_withDiscount = '121.4' , productbuypricereal = '121.4' , buypricereal_precentage = '0' , buytotal_precentage = '1.32' , buyhalf_precentage = '1.32' , buypart_precentage = '5.44',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='121.4',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='121.4',meanbuyprice_withTax='121.4',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='121.4',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '40';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '40', '1.00', '2026-09-14', '1', '0','0004001','123','123','128','121.4','','0','0','0','0','0','0','0','0','0','0'); -- id=40
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('40', '1', '25', '1', '2026-09-14'); -- id=40
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('40', '1', '25', '0', '40', 'إضافة منتج', 'productController.php', '0', '25', '1', '2026-09-14','0','0'); -- id=52
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (40, 1,'2026-09-14 09:32:33',1)
                ON DUPLICATE KEY UPDATE productid = 40, edited = 1, sysdate = '2026-09-14 09:32:33', userid = 1; -- id=40
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3035', '3035', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:33','إضافة منتج مفتاح 4 طرف اسمر  الكمية 25','1','0','0','0','40','productController.php?do=edit&id=40'); -- id=52
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('52', '382', '3035', '','0'); -- id=52
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '441469.41', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('52', '121', '3035', '','0'); -- id=52
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-420747.3', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح 4 طرف اسمر ', productDescription = '', productCatId = '1', productBuyPrice = '121.40', productSellAllPrice = '123.00', productSellUnitPrice = '128.00', productSellHalfPrice = '123.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '10', parcode = '00040',type ='0', expireDate = '0' , dailyentryId = '52',isService = '0',isOptic = '0',lastbuyprice = '121.4',lastbuyprice_withDiscount = '121.4',meanbuyprice = '121.4',meanbuyprice_withDiscount = '121.4' , productbuypricereal = '121.4' , buypricereal_precentage = '0' , buytotal_precentage = '1.32' , buyhalf_precentage = '1.32' , buypart_precentage = '5.44',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='121.4',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='121.4',meanbuyprice_withTax='121.4',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='121.4',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '40';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه بالوش ابيض ','','1','44.33','45','46','45','2026-09-14','0','1','200','','0','0','0','0','0','44.33','44.33','44.33','44.33','44.33','0','1.51','1.51','3.77','.','0','0','0','44.33','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','44.33','44.33','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','44.33','0','0','0','0','0','0','','','0','0','0','0'); -- id=41
UPDATE product SET productName = 'شاسيه بالوش ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '44.33', productSellAllPrice = '45', productSellUnitPrice = '46', productSellHalfPrice = '45', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '200', parcode = '00041',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '44.33',lastbuyprice_withDiscount = '44.33',meanbuyprice = '44.33',meanbuyprice_withDiscount = '44.33' , productbuypricereal = '44.33' , buypricereal_precentage = '0' , buytotal_precentage = '1.51' , buyhalf_precentage = '1.51' , buypart_precentage = '3.77',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='44.33',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='44.33',meanbuyprice_withTax='44.33',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='44.33',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '41';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '41', '1.00', '2026-09-14', '1', '0','0004101','45','45','46','44.33','','0','0','0','0','0','0','0','0','0','0'); -- id=41
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('41', '1', '645', '1', '2026-09-14'); -- id=41
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('41', '1', '645', '0', '41', 'إضافة منتج', 'productController.php', '0', '645', '1', '2026-09-14','0','0'); -- id=53
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (41, 1,'2026-09-14 09:32:35',1)
                ON DUPLICATE KEY UPDATE productid = 41, edited = 1, sysdate = '2026-09-14 09:32:35', userid = 1; -- id=41
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '28592.85', '28592.85', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:35','إضافة منتج شاسيه بالوش ابيض  الكمية 645','1','0','0','0','41','productController.php?do=edit&id=41'); -- id=53
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('53', '382', '28592.85', '','0'); -- id=53
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '470062.26', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('53', '121', '28592.85', '','0'); -- id=53
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-392154.45', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه بالوش ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '44.33', productSellAllPrice = '45.00', productSellUnitPrice = '46.00', productSellHalfPrice = '45.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '200', parcode = '00041',type ='0', expireDate = '0' , dailyentryId = '53',isService = '0',isOptic = '0',lastbuyprice = '44.33',lastbuyprice_withDiscount = '44.33',meanbuyprice = '44.33',meanbuyprice_withDiscount = '44.33' , productbuypricereal = '44.33' , buypricereal_precentage = '0' , buytotal_precentage = '1.51' , buyhalf_precentage = '1.51' , buypart_precentage = '3.77',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='44.33',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='44.33',meanbuyprice_withTax='44.33',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='44.33',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '41';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح مفرد ابيض ','','1','29.5','29.9','30.75','29.9','2026-09-14','0','1','360','','0','0','0','0','0','29.5','29.5','29.5','29.5','29.5','0','1.36','1.36','4.24','.','0','0','0','29.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','29.5','29.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','29.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=42
UPDATE product SET productName = 'مفتاح مفرد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '29.5', productSellAllPrice = '29.9', productSellUnitPrice = '30.75', productSellHalfPrice = '29.9', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '360', parcode = '00042',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '29.5',lastbuyprice_withDiscount = '29.5',meanbuyprice = '29.5',meanbuyprice_withDiscount = '29.5' , productbuypricereal = '29.5' , buypricereal_precentage = '0' , buytotal_precentage = '1.36' , buyhalf_precentage = '1.36' , buypart_precentage = '4.24',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='29.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='29.5',meanbuyprice_withTax='29.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='29.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '42';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '42', '1.00', '2026-09-14', '1', '0','0004201','29.9','29.9','30.75','29.5','','0','0','0','0','0','0','0','0','0','0'); -- id=42
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('42', '1', '904', '1', '2026-09-14'); -- id=42
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('42', '1', '904', '0', '42', 'إضافة منتج', 'productController.php', '0', '904', '1', '2026-09-14','0','0'); -- id=54
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (42, 1,'2026-09-14 09:32:37',1)
                ON DUPLICATE KEY UPDATE productid = 42, edited = 1, sysdate = '2026-09-14 09:32:37', userid = 1; -- id=42
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '26668', '26668', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:37','إضافة منتج مفتاح مفرد ابيض  الكمية 904','1','0','0','0','42','productController.php?do=edit&id=42'); -- id=54
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('54', '382', '26668', '','0'); -- id=54
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '496730.26', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('54', '121', '26668', '','0'); -- id=54
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-365486.45', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح مفرد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '29.50', productSellAllPrice = '29.90', productSellUnitPrice = '30.75', productSellHalfPrice = '29.90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '360', parcode = '00042',type ='0', expireDate = '0' , dailyentryId = '54',isService = '0',isOptic = '0',lastbuyprice = '29.5',lastbuyprice_withDiscount = '29.5',meanbuyprice = '29.5',meanbuyprice_withDiscount = '29.5' , productbuypricereal = '29.5' , buypricereal_precentage = '0' , buytotal_precentage = '1.36' , buyhalf_precentage = '1.36' , buypart_precentage = '4.24',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='29.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='29.5',meanbuyprice_withTax='29.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='29.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '42';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بريزه مفرد ابيض ','','1','29.5','29.9','30.75','29.9','2026-09-14','0','1','360','','0','0','0','0','0','29.5','29.5','29.5','29.5','29.5','0','1.36','1.36','4.24','.','0','0','0','29.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','29.5','29.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','29.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=43
UPDATE product SET productName = 'بريزه مفرد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '29.5', productSellAllPrice = '29.9', productSellUnitPrice = '30.75', productSellHalfPrice = '29.9', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '360', parcode = '00043',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '29.5',lastbuyprice_withDiscount = '29.5',meanbuyprice = '29.5',meanbuyprice_withDiscount = '29.5' , productbuypricereal = '29.5' , buypricereal_precentage = '0' , buytotal_precentage = '1.36' , buyhalf_precentage = '1.36' , buypart_precentage = '4.24',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='29.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='29.5',meanbuyprice_withTax='29.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='29.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '43';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '43', '1.00', '2026-09-14', '1', '0','0004301','29.9','29.9','30.75','29.5','','0','0','0','0','0','0','0','0','0','0'); -- id=43
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('43', '1', '817', '1', '2026-09-14'); -- id=43
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('43', '1', '817', '0', '43', 'إضافة منتج', 'productController.php', '0', '817', '1', '2026-09-14','0','0'); -- id=55
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (43, 1,'2026-09-14 09:32:39',1)
                ON DUPLICATE KEY UPDATE productid = 43, edited = 1, sysdate = '2026-09-14 09:32:39', userid = 1; -- id=43
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '24101.5', '24101.5', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:39','إضافة منتج بريزه مفرد ابيض  الكمية 817','1','0','0','0','43','productController.php?do=edit&id=43'); -- id=55
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('55', '382', '24101.5', '','0'); -- id=55
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '520831.76', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('55', '121', '24101.5', '','0'); -- id=55
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-341384.95', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بريزه مفرد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '29.50', productSellAllPrice = '29.90', productSellUnitPrice = '30.75', productSellHalfPrice = '29.90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '360', parcode = '00043',type ='0', expireDate = '0' , dailyentryId = '55',isService = '0',isOptic = '0',lastbuyprice = '29.5',lastbuyprice_withDiscount = '29.5',meanbuyprice = '29.5',meanbuyprice_withDiscount = '29.5' , productbuypricereal = '29.5' , buypricereal_precentage = '0' , buytotal_precentage = '1.36' , buyhalf_precentage = '1.36' , buypart_precentage = '4.24',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='29.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='29.5',meanbuyprice_withTax='29.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='29.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '43';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('سداد ابيض ','','1','8.44','8.5','8.8','8.5','2026-09-14','0','1','500','','0','0','0','0','0','8.44','8.44','8.44','8.44','8.44','0','0.71','0.71','4.27','.','0','0','0','8.44','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','8.44','8.44','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','8.44','0','0','0','0','0','0','','','0','0','0','0'); -- id=44
UPDATE product SET productName = 'سداد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '8.44', productSellAllPrice = '8.5', productSellUnitPrice = '8.8', productSellHalfPrice = '8.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '500', parcode = '00044',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '8.44',lastbuyprice_withDiscount = '8.44',meanbuyprice = '8.44',meanbuyprice_withDiscount = '8.44' , productbuypricereal = '8.44' , buypricereal_precentage = '0' , buytotal_precentage = '0.71' , buyhalf_precentage = '0.71' , buypart_precentage = '4.27',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='8.44',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='8.44',meanbuyprice_withTax='8.44',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='8.44',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '44';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '44', '1.00', '2026-09-14', '1', '0','0004401','8.5','8.5','8.8','8.44','','0','0','0','0','0','0','0','0','0','0'); -- id=44
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('44', '1', '1205', '1', '2026-09-14'); -- id=44
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('44', '1', '1205', '0', '44', 'إضافة منتج', 'productController.php', '0', '1205', '1', '2026-09-14','0','0'); -- id=56
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (44, 1,'2026-09-14 09:32:41',1)
                ON DUPLICATE KEY UPDATE productid = 44, edited = 1, sysdate = '2026-09-14 09:32:41', userid = 1; -- id=44
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '10170.2', '10170.2', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:41','إضافة منتج سداد ابيض  الكمية 1205','1','0','0','0','44','productController.php?do=edit&id=44'); -- id=56
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('56', '382', '10170.2', '','0'); -- id=56
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '531001.96', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('56', '121', '10170.2', '','0'); -- id=56
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-331214.75', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'سداد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '8.44', productSellAllPrice = '8.50', productSellUnitPrice = '8.80', productSellHalfPrice = '8.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '500', parcode = '00044',type ='0', expireDate = '0' , dailyentryId = '56',isService = '0',isOptic = '0',lastbuyprice = '8.44',lastbuyprice_withDiscount = '8.44',meanbuyprice = '8.44',meanbuyprice_withDiscount = '8.44' , productbuypricereal = '8.44' , buypricereal_precentage = '0' , buytotal_precentage = '0.71' , buyhalf_precentage = '0.71' , buypart_precentage = '4.27',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='8.44',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='8.44',meanbuyprice_withTax='8.44',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='8.44',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '44';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح تكييف 45 امبير ابيض ','','1','237.5','238','246.5','238','2026-09-14','0','1','12','','0','0','0','0','0','237.5','237.5','237.5','237.5','237.5','0','0.21','0.21','3.79','.','0','0','0','237.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','237.5','237.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','237.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=45
UPDATE product SET productName = 'مفتاح تكييف 45 امبير ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '237.5', productSellAllPrice = '238', productSellUnitPrice = '246.5', productSellHalfPrice = '238', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00045',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '237.5',lastbuyprice_withDiscount = '237.5',meanbuyprice = '237.5',meanbuyprice_withDiscount = '237.5' , productbuypricereal = '237.5' , buypricereal_precentage = '0' , buytotal_precentage = '0.21' , buyhalf_precentage = '0.21' , buypart_precentage = '3.79',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='237.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='237.5',meanbuyprice_withTax='237.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='237.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '45';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '45', '1.00', '2026-09-14', '1', '0','0004501','238','238','246.5','237.5','','0','0','0','0','0','0','0','0','0','0'); -- id=45
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('45', '1', '80', '1', '2026-09-14'); -- id=45
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('45', '1', '80', '0', '45', 'إضافة منتج', 'productController.php', '0', '80', '1', '2026-09-14','0','0'); -- id=57
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (45, 1,'2026-09-14 09:32:43',1)
                ON DUPLICATE KEY UPDATE productid = 45, edited = 1, sysdate = '2026-09-14 09:32:43', userid = 1; -- id=45
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '19000', '19000', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:43','إضافة منتج مفتاح تكييف 45 امبير ابيض  الكمية 80','1','0','0','0','45','productController.php?do=edit&id=45'); -- id=57
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('57', '382', '19000', '','0'); -- id=57
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '550001.96', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('57', '121', '19000', '','0'); -- id=57
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-312214.75', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح تكييف 45 امبير ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '237.50', productSellAllPrice = '238.00', productSellUnitPrice = '246.50', productSellHalfPrice = '238.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00045',type ='0', expireDate = '0' , dailyentryId = '57',isService = '0',isOptic = '0',lastbuyprice = '237.5',lastbuyprice_withDiscount = '237.5',meanbuyprice = '237.5',meanbuyprice_withDiscount = '237.5' , productbuypricereal = '237.5' , buypricereal_precentage = '0' , buytotal_precentage = '0.21' , buyhalf_precentage = '0.21' , buypart_precentage = '3.79',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='237.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='237.5',meanbuyprice_withTax='237.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='237.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '45';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بريزه ام كي ابيض ','','1','89.7','90','95','90','2026-09-14','0','1','20','','0','0','0','0','0','89.7','89.7','89.7','89.7','89.7','0','0.33','0.33','5.91','.','0','0','0','89.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','89.7','89.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','89.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=46
UPDATE product SET productName = 'بريزه ام كي ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '89.7', productSellAllPrice = '90', productSellUnitPrice = '95', productSellHalfPrice = '90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00046',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '89.7',lastbuyprice_withDiscount = '89.7',meanbuyprice = '89.7',meanbuyprice_withDiscount = '89.7' , productbuypricereal = '89.7' , buypricereal_precentage = '0' , buytotal_precentage = '0.33' , buyhalf_precentage = '0.33' , buypart_precentage = '5.91',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='89.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='89.7',meanbuyprice_withTax='89.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='89.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '46';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '46', '1.00', '2026-09-14', '1', '0','0004601','90','90','95','89.7','','0','0','0','0','0','0','0','0','0','0'); -- id=46
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('46', '1', '109', '1', '2026-09-14'); -- id=46
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('46', '1', '109', '0', '46', 'إضافة منتج', 'productController.php', '0', '109', '1', '2026-09-14','0','0'); -- id=58
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (46, 1,'2026-09-14 09:32:46',1)
                ON DUPLICATE KEY UPDATE productid = 46, edited = 1, sysdate = '2026-09-14 09:32:46', userid = 1; -- id=46
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '9777.3', '9777.3', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:46','إضافة منتج بريزه ام كي ابيض  الكمية 109','1','0','0','0','46','productController.php?do=edit&id=46'); -- id=58
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('58', '382', '9777.3', '','0'); -- id=58
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '559779.26', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('58', '121', '9777.3', '','0'); -- id=58
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-302437.45', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بريزه ام كي ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '89.70', productSellAllPrice = '90.00', productSellUnitPrice = '95.00', productSellHalfPrice = '90.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00046',type ='0', expireDate = '0' , dailyentryId = '58',isService = '0',isOptic = '0',lastbuyprice = '89.7',lastbuyprice_withDiscount = '89.7',meanbuyprice = '89.7',meanbuyprice_withDiscount = '89.7' , productbuypricereal = '89.7' , buypricereal_precentage = '0' , buytotal_precentage = '0.33' , buyhalf_precentage = '0.33' , buypart_precentage = '5.91',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='89.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='89.7',meanbuyprice_withTax='89.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='89.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '46';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بريزه مجوفه ابيض ','','1','89.7','90','95','90','2026-09-14','0','1','20','','0','0','0','0','0','89.7','89.7','89.7','89.7','89.7','0','0.33','0.33','5.91','.','0','0','0','89.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','89.7','89.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','89.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=47
UPDATE product SET productName = 'بريزه مجوفه ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '89.7', productSellAllPrice = '90', productSellUnitPrice = '95', productSellHalfPrice = '90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00047',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '89.7',lastbuyprice_withDiscount = '89.7',meanbuyprice = '89.7',meanbuyprice_withDiscount = '89.7' , productbuypricereal = '89.7' , buypricereal_precentage = '0' , buytotal_precentage = '0.33' , buyhalf_precentage = '0.33' , buypart_precentage = '5.91',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='89.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='89.7',meanbuyprice_withTax='89.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='89.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '47';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '47', '1.00', '2026-09-14', '1', '0','0004701','90','90','95','89.7','','0','0','0','0','0','0','0','0','0','0'); -- id=47
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('47', '1', '119', '1', '2026-09-14'); -- id=47
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('47', '1', '119', '0', '47', 'إضافة منتج', 'productController.php', '0', '119', '1', '2026-09-14','0','0'); -- id=59
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (47, 1,'2026-09-14 09:32:48',1)
                ON DUPLICATE KEY UPDATE productid = 47, edited = 1, sysdate = '2026-09-14 09:32:48', userid = 1; -- id=47
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '10674.3', '10674.3', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:48','إضافة منتج بريزه مجوفه ابيض  الكمية 119','1','0','0','0','47','productController.php?do=edit&id=47'); -- id=59
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('59', '382', '10674.3', '','0'); -- id=59
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '570453.56', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('59', '121', '10674.3', '','0'); -- id=59
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-291763.15', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بريزه مجوفه ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '89.70', productSellAllPrice = '90.00', productSellUnitPrice = '95.00', productSellHalfPrice = '90.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00047',type ='0', expireDate = '0' , dailyentryId = '59',isService = '0',isOptic = '0',lastbuyprice = '89.7',lastbuyprice_withDiscount = '89.7',meanbuyprice = '89.7',meanbuyprice_withDiscount = '89.7' , productbuypricereal = '89.7' , buypricereal_precentage = '0' , buytotal_precentage = '0.33' , buyhalf_precentage = '0.33' , buypart_precentage = '5.91',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='89.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='89.7',meanbuyprice_withTax='89.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='89.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '47';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('زر جرس مفرد ابيض ','','1','52.79','53','55.5','53','2026-09-14','0','1','36','','0','0','0','0','0','52.79','52.79','52.79','52.79','52.79','0','0.4','0.4','5.13','.','0','0','0','52.79','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','52.79','52.79','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','52.79','0','0','0','0','0','0','','','0','0','0','0'); -- id=48
UPDATE product SET productName = 'زر جرس مفرد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '52.79', productSellAllPrice = '53', productSellUnitPrice = '55.5', productSellHalfPrice = '53', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '36', parcode = '00048',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '52.79',lastbuyprice_withDiscount = '52.79',meanbuyprice = '52.79',meanbuyprice_withDiscount = '52.79' , productbuypricereal = '52.79' , buypricereal_precentage = '0' , buytotal_precentage = '0.4' , buyhalf_precentage = '0.4' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='52.79',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='52.79',meanbuyprice_withTax='52.79',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='52.79',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '48';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '48', '1.00', '2026-09-14', '1', '0','0004801','53','53','55.5','52.79','','0','0','0','0','0','0','0','0','0','0'); -- id=48
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('48', '1', '124', '1', '2026-09-14'); -- id=48
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('48', '1', '124', '0', '48', 'إضافة منتج', 'productController.php', '0', '124', '1', '2026-09-14','0','0'); -- id=60
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (48, 1,'2026-09-14 09:32:50',1)
                ON DUPLICATE KEY UPDATE productid = 48, edited = 1, sysdate = '2026-09-14 09:32:50', userid = 1; -- id=48
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '6545.96', '6545.96', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:50','إضافة منتج زر جرس مفرد ابيض  الكمية 124','1','0','0','0','48','productController.php?do=edit&id=48'); -- id=60
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('60', '382', '6545.96', '','0'); -- id=60
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '576999.52', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('60', '121', '6545.96', '','0'); -- id=60
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-285217.19', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'زر جرس مفرد ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '52.79', productSellAllPrice = '53.00', productSellUnitPrice = '55.50', productSellHalfPrice = '53.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '36', parcode = '00048',type ='0', expireDate = '0' , dailyentryId = '60',isService = '0',isOptic = '0',lastbuyprice = '52.79',lastbuyprice_withDiscount = '52.79',meanbuyprice = '52.79',meanbuyprice_withDiscount = '52.79' , productbuypricereal = '52.79' , buypricereal_precentage = '0' , buytotal_precentage = '0.4' , buyhalf_precentage = '0.4' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='52.79',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='52.79',meanbuyprice_withTax='52.79',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='52.79',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '48';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح 4 طرف ابيض','','1','100.3','101','105','101','2026-09-14','0','1','38','','0','0','0','0','0','100.3','100.3','100.3','100.3','100.3','0','0.7','0.7','4.69','.','0','0','0','100.3','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','100.3','100.3','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','100.3','0','0','0','0','0','0','','','0','0','0','0'); -- id=49
UPDATE product SET productName = 'مفتاح 4 طرف ابيض', productDescription = '', productCatId = '1', productBuyPrice = '100.3', productSellAllPrice = '101', productSellUnitPrice = '105', productSellHalfPrice = '101', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '38', parcode = '00049',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '100.3',lastbuyprice_withDiscount = '100.3',meanbuyprice = '100.3',meanbuyprice_withDiscount = '100.3' , productbuypricereal = '100.3' , buypricereal_precentage = '0' , buytotal_precentage = '0.7' , buyhalf_precentage = '0.7' , buypart_precentage = '4.69',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='100.3',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='100.3',meanbuyprice_withTax='100.3',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='100.3',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '49';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '49', '1.00', '2026-09-14', '1', '0','0004901','101','101','105','100.3','','0','0','0','0','0','0','0','0','0','0'); -- id=49
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('49', '1', '0', '1', '2026-09-14'); -- id=49
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('49', '1', '0', '0', '49', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=61
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (49, 1,'2026-09-14 09:32:52',1)
                ON DUPLICATE KEY UPDATE productid = 49, edited = 1, sysdate = '2026-09-14 09:32:52', userid = 1; -- id=49
UPDATE product SET productName = 'مفتاح 4 طرف ابيض', productDescription = '', productCatId = '1', productBuyPrice = '100.30', productSellAllPrice = '101.00', productSellUnitPrice = '105.00', productSellHalfPrice = '101.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '38', parcode = '00049',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '100.3',lastbuyprice_withDiscount = '100.3',meanbuyprice = '100.3',meanbuyprice_withDiscount = '100.3' , productbuypricereal = '100.3' , buypricereal_precentage = '0' , buytotal_precentage = '0.7' , buyhalf_precentage = '0.7' , buypart_precentage = '4.69',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='100.3',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='100.3',meanbuyprice_withTax='100.3',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='100.3',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '49';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح سخان 20 امبير ابيض ','','1','137.25','138','143','138','2026-09-14','0','1','30','','0','0','0','0','0','137.25','137.25','137.25','137.25','137.25','0','0.55','0.55','4.19','.','0','0','0','137.25','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','137.25','137.25','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','137.25','0','0','0','0','0','0','','','0','0','0','0'); -- id=50
UPDATE product SET productName = 'مفتاح سخان 20 امبير ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '137.25', productSellAllPrice = '138', productSellUnitPrice = '143', productSellHalfPrice = '138', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00050',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '137.25',lastbuyprice_withDiscount = '137.25',meanbuyprice = '137.25',meanbuyprice_withDiscount = '137.25' , productbuypricereal = '137.25' , buypricereal_precentage = '0' , buytotal_precentage = '0.55' , buyhalf_precentage = '0.55' , buypart_precentage = '4.19',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='137.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='137.25',meanbuyprice_withTax='137.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='137.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '50';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '50', '1.00', '2026-09-14', '1', '0','0005001','138','138','143','137.25','','0','0','0','0','0','0','0','0','0','0'); -- id=50
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('50', '1', '70', '1', '2026-09-14'); -- id=50
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('50', '1', '70', '0', '50', 'إضافة منتج', 'productController.php', '0', '70', '1', '2026-09-14','0','0'); -- id=62
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (50, 1,'2026-09-14 09:32:53',1)
                ON DUPLICATE KEY UPDATE productid = 50, edited = 1, sysdate = '2026-09-14 09:32:53', userid = 1; -- id=50
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '9607.5', '9607.5', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:53','إضافة منتج مفتاح سخان 20 امبير ابيض  الكمية 70','1','0','0','0','50','productController.php?do=edit&id=50'); -- id=61
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('61', '382', '9607.5', '','0'); -- id=61
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '586607.02', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('61', '121', '9607.5', '','0'); -- id=61
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-275609.69', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح سخان 20 امبير ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '137.25', productSellAllPrice = '138.00', productSellUnitPrice = '143.00', productSellHalfPrice = '138.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00050',type ='0', expireDate = '0' , dailyentryId = '61',isService = '0',isOptic = '0',lastbuyprice = '137.25',lastbuyprice_withDiscount = '137.25',meanbuyprice = '137.25',meanbuyprice_withDiscount = '137.25' , productbuypricereal = '137.25' , buypricereal_precentage = '0' , buytotal_precentage = '0.55' , buyhalf_precentage = '0.55' , buypart_precentage = '4.19',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='137.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='137.25',meanbuyprice_withTax='137.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='137.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '50';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لقمه دش ابيض ','','1','36.95','37.1','38.7','37.1','2026-09-14','0','1','40','','0','0','0','0','0','36.95','36.95','36.95','36.95','36.95','0','0.41','0.41','4.74','.','0','0','0','36.95','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','36.95','36.95','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','36.95','0','0','0','0','0','0','','','0','0','0','0'); -- id=51
UPDATE product SET productName = 'لقمه دش ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '36.95', productSellAllPrice = '37.1', productSellUnitPrice = '38.7', productSellHalfPrice = '37.1', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '40', parcode = '00051',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '36.95',lastbuyprice_withDiscount = '36.95',meanbuyprice = '36.95',meanbuyprice_withDiscount = '36.95' , productbuypricereal = '36.95' , buypricereal_precentage = '0' , buytotal_precentage = '0.41' , buyhalf_precentage = '0.41' , buypart_precentage = '4.74',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='36.95',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='36.95',meanbuyprice_withTax='36.95',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='36.95',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '51';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '51', '1.00', '2026-09-14', '1', '0','0005101','37.1','37.1','38.7','36.95','','0','0','0','0','0','0','0','0','0','0'); -- id=51
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('51', '1', '92', '1', '2026-09-14'); -- id=51
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('51', '1', '92', '0', '51', 'إضافة منتج', 'productController.php', '0', '92', '1', '2026-09-14','0','0'); -- id=63
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (51, 1,'2026-09-14 09:32:55',1)
                ON DUPLICATE KEY UPDATE productid = 51, edited = 1, sysdate = '2026-09-14 09:32:55', userid = 1; -- id=51
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3399.4', '3399.4', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:55','إضافة منتج لقمه دش ابيض  الكمية 92','1','0','0','0','51','productController.php?do=edit&id=51'); -- id=62
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('62', '382', '3399.4', '','0'); -- id=62
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '590006.42', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('62', '121', '3399.4', '','0'); -- id=62
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-272210.29', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لقمه دش ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '36.95', productSellAllPrice = '37.10', productSellUnitPrice = '38.70', productSellHalfPrice = '37.10', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '40', parcode = '00051',type ='0', expireDate = '0' , dailyentryId = '62',isService = '0',isOptic = '0',lastbuyprice = '36.95',lastbuyprice_withDiscount = '36.95',meanbuyprice = '36.95',meanbuyprice_withDiscount = '36.95' , productbuypricereal = '36.95' , buypricereal_precentage = '0' , buytotal_precentage = '0.41' , buyhalf_precentage = '0.41' , buypart_precentage = '4.74',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='36.95',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='36.95',meanbuyprice_withTax='36.95',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='36.95',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '51';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لقمه تلفون ابيض','','1','68.63','69','72','69','2026-09-14','0','1','40','','0','0','0','0','0','68.63','68.63','68.63','68.63','68.63','0','0.54','0.54','4.91','.','0','0','0','68.63','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','68.63','68.63','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','68.63','0','0','0','0','0','0','','','0','0','0','0'); -- id=52
UPDATE product SET productName = 'لقمه تلفون ابيض', productDescription = '', productCatId = '1', productBuyPrice = '68.63', productSellAllPrice = '69', productSellUnitPrice = '72', productSellHalfPrice = '69', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '40', parcode = '00052',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '68.63',lastbuyprice_withDiscount = '68.63',meanbuyprice = '68.63',meanbuyprice_withDiscount = '68.63' , productbuypricereal = '68.63' , buypricereal_precentage = '0' , buytotal_precentage = '0.54' , buyhalf_precentage = '0.54' , buypart_precentage = '4.91',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='68.63',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='68.63',meanbuyprice_withTax='68.63',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='68.63',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '52';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '52', '1.00', '2026-09-14', '1', '0','0005201','69','69','72','68.63','','0','0','0','0','0','0','0','0','0','0'); -- id=52
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('52', '1', '133', '1', '2026-09-14'); -- id=52
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('52', '1', '133', '0', '52', 'إضافة منتج', 'productController.php', '0', '133', '1', '2026-09-14','0','0'); -- id=64
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (52, 1,'2026-09-14 09:32:58',1)
                ON DUPLICATE KEY UPDATE productid = 52, edited = 1, sysdate = '2026-09-14 09:32:58', userid = 1; -- id=52
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '9127.79', '9127.79', '2026-09-14', '1', '0', '0', '2026-09-14 09:32:58','إضافة منتج لقمه تلفون ابيض الكمية 133','1','0','0','0','52','productController.php?do=edit&id=52'); -- id=63
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('63', '382', '9127.79', '','0'); -- id=63
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '599134.21', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('63', '121', '9127.79', '','0'); -- id=63
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-263082.5', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لقمه تلفون ابيض', productDescription = '', productCatId = '1', productBuyPrice = '68.63', productSellAllPrice = '69.00', productSellUnitPrice = '72.00', productSellHalfPrice = '69.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '40', parcode = '00052',type ='0', expireDate = '0' , dailyentryId = '63',isService = '0',isOptic = '0',lastbuyprice = '68.63',lastbuyprice_withDiscount = '68.63',meanbuyprice = '68.63',meanbuyprice_withDiscount = '68.63' , productbuypricereal = '68.63' , buypricereal_precentage = '0' , buytotal_precentage = '0.54' , buyhalf_precentage = '0.54' , buypart_precentage = '4.91',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='68.63',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='68.63',meanbuyprice_withTax='68.63',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='68.63',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '52';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح ديفاتير ابيض ','','1','50.67','50.98','53','50.98','2026-09-14','0','1','36','','0','0','0','0','0','50.67','50.67','50.67','50.67','50.67','0','0.61','0.61','4.6','.','0','0','0','50.67','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','50.67','50.67','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','50.67','0','0','0','0','0','0','','','0','0','0','0'); -- id=53
UPDATE product SET productName = 'مفتاح ديفاتير ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '50.67', productSellAllPrice = '50.98', productSellUnitPrice = '53', productSellHalfPrice = '50.98', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '36', parcode = '00053',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '50.67',lastbuyprice_withDiscount = '50.67',meanbuyprice = '50.67',meanbuyprice_withDiscount = '50.67' , productbuypricereal = '50.67' , buypricereal_precentage = '0' , buytotal_precentage = '0.61' , buyhalf_precentage = '0.61' , buypart_precentage = '4.6',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='50.67',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='50.67',meanbuyprice_withTax='50.67',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='50.67',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '53';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '53', '1.00', '2026-09-14', '1', '0','0005301','50.98','50.98','53','50.67','','0','0','0','0','0','0','0','0','0','0'); -- id=53
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('53', '1', '85', '1', '2026-09-14'); -- id=53
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('53', '1', '85', '0', '53', 'إضافة منتج', 'productController.php', '0', '85', '1', '2026-09-14','0','0'); -- id=65
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (53, 1,'2026-09-14 09:33:00',1)
                ON DUPLICATE KEY UPDATE productid = 53, edited = 1, sysdate = '2026-09-14 09:33:00', userid = 1; -- id=53
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4306.95', '4306.95', '2026-09-14', '1', '0', '0', '2026-09-14 09:33:00','إضافة منتج مفتاح ديفاتير ابيض  الكمية 85','1','0','0','0','53','productController.php?do=edit&id=53'); -- id=64
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('64', '382', '4306.95', '','0'); -- id=64
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '603441.16', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('64', '121', '4306.95', '','0'); -- id=64
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-258775.55', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح ديفاتير ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '50.67', productSellAllPrice = '50.98', productSellUnitPrice = '53.00', productSellHalfPrice = '50.98', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '36', parcode = '00053',type ='0', expireDate = '0' , dailyentryId = '64',isService = '0',isOptic = '0',lastbuyprice = '50.67',lastbuyprice_withDiscount = '50.67',meanbuyprice = '50.67',meanbuyprice_withDiscount = '50.67' , productbuypricereal = '50.67' , buypricereal_precentage = '0' , buytotal_precentage = '0.61' , buyhalf_precentage = '0.61' , buypart_precentage = '4.6',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='50.67',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='50.67',meanbuyprice_withTax='50.67',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='50.67',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '53';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح مجوز ابيض ','','1','79.18','79.18','83.1','79.18','2026-09-14','0','1','36','','0','0','0','0','0','79.18','79.18','79.18','79.18','79.18','0','0','0','4.95','.','0','0','0','79.18','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','79.18','79.18','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','79.18','0','0','0','0','0','0','','','0','0','0','0'); -- id=54
UPDATE product SET productName = 'مفتاح مجوز ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '79.18', productSellAllPrice = '79.18', productSellUnitPrice = '83.1', productSellHalfPrice = '79.18', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '36', parcode = '00054',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '79.18',lastbuyprice_withDiscount = '79.18',meanbuyprice = '79.18',meanbuyprice_withDiscount = '79.18' , productbuypricereal = '79.18' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '4.95',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='79.18',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='79.18',meanbuyprice_withTax='79.18',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='79.18',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '54';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '54', '1.00', '2026-09-14', '1', '0','0005401','79.18','79.18','83.1','79.18','','0','0','0','0','0','0','0','0','0','0'); -- id=54
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('54', '1', '99', '1', '2026-09-14'); -- id=54
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('54', '1', '99', '0', '54', 'إضافة منتج', 'productController.php', '0', '99', '1', '2026-09-14','0','0'); -- id=66
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (54, 1,'2026-09-14 09:33:02',1)
                ON DUPLICATE KEY UPDATE productid = 54, edited = 1, sysdate = '2026-09-14 09:33:02', userid = 1; -- id=54
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7838.82', '7838.82', '2026-09-14', '1', '0', '0', '2026-09-14 09:33:02','إضافة منتج مفتاح مجوز ابيض  الكمية 99','1','0','0','0','54','productController.php?do=edit&id=54'); -- id=65
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('65', '382', '7838.82', '','0'); -- id=65
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '611279.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('65', '121', '7838.82', '','0'); -- id=65
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-250936.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح مجوز ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '79.18', productSellAllPrice = '79.18', productSellUnitPrice = '83.10', productSellHalfPrice = '79.18', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '36', parcode = '00054',type ='0', expireDate = '0' , dailyentryId = '65',isService = '0',isOptic = '0',lastbuyprice = '79.18',lastbuyprice_withDiscount = '79.18',meanbuyprice = '79.18',meanbuyprice_withDiscount = '79.18' , productbuypricereal = '79.18' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '4.95',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='79.18',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='79.18',meanbuyprice_withTax='79.18',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='79.18',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '54';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح سخان 20 امبير عريض ','','1','158.37','159','159','159','2026-09-14','0','1','0','','0','0','0','0','0','158.37','158.37','158.37','158.37','158.37','0','0.4','0.4','0.4','.','0','0','0','158.37','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','158.37','158.37','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','158.37','0','0','0','0','0','0','','','0','0','0','0'); -- id=55
UPDATE product SET productName = 'مفتاح سخان 20 امبير عريض ', productDescription = '', productCatId = '1', productBuyPrice = '158.37', productSellAllPrice = '159', productSellUnitPrice = '159', productSellHalfPrice = '159', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00055',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '158.37',lastbuyprice_withDiscount = '158.37',meanbuyprice = '158.37',meanbuyprice_withDiscount = '158.37' , productbuypricereal = '158.37' , buypricereal_precentage = '0' , buytotal_precentage = '0.4' , buyhalf_precentage = '0.4' , buypart_precentage = '0.4',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='158.37',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='158.37',meanbuyprice_withTax='158.37',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='158.37',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '55';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '55', '1.00', '2026-09-14', '1', '0','0005501','159','159','159','158.37','','0','0','0','0','0','0','0','0','0','0'); -- id=55
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('55', '1', '4', '1', '2026-09-14'); -- id=55
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('55', '1', '4', '0', '55', 'إضافة منتج', 'productController.php', '0', '4', '1', '2026-09-14','0','0'); -- id=67
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (55, 1,'2026-09-14 09:33:04',1)
                ON DUPLICATE KEY UPDATE productid = 55, edited = 1, sysdate = '2026-09-14 09:33:04', userid = 1; -- id=55
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '633.48', '633.48', '2026-09-14', '1', '0', '0', '2026-09-14 09:33:04','إضافة منتج مفتاح سخان 20 امبير عريض  الكمية 4','1','0','0','0','55','productController.php?do=edit&id=55'); -- id=66
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('66', '382', '633.48', '','0'); -- id=66
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '611913.46', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('66', '121', '633.48', '','0'); -- id=66
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-250303.25', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح سخان 20 امبير عريض ', productDescription = '', productCatId = '1', productBuyPrice = '158.37', productSellAllPrice = '159.00', productSellUnitPrice = '159.00', productSellHalfPrice = '159.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00055',type ='0', expireDate = '0' , dailyentryId = '66',isService = '0',isOptic = '0',lastbuyprice = '158.37',lastbuyprice_withDiscount = '158.37',meanbuyprice = '158.37',meanbuyprice_withDiscount = '158.37' , productbuypricereal = '158.37' , buypricereal_precentage = '0' , buytotal_precentage = '0.4' , buyhalf_precentage = '0.4' , buypart_precentage = '0.4',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='158.37',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='158.37',meanbuyprice_withTax='158.37',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='158.37',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '55';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('زر جرس عريض ابيض','','1','84.4','85','88.5','85','2026-09-14','0','1','0','','0','0','0','0','0','84.4','84.4','84.4','84.4','84.4','0','0.71','0.71','4.86','.','0','0','0','84.4','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','84.4','84.4','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','84.4','0','0','0','0','0','0','','','0','0','0','0'); -- id=56
UPDATE product SET productName = 'زر جرس عريض ابيض', productDescription = '', productCatId = '1', productBuyPrice = '84.4', productSellAllPrice = '85', productSellUnitPrice = '88.5', productSellHalfPrice = '85', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00056',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '84.4',lastbuyprice_withDiscount = '84.4',meanbuyprice = '84.4',meanbuyprice_withDiscount = '84.4' , productbuypricereal = '84.4' , buypricereal_precentage = '0' , buytotal_precentage = '0.71' , buyhalf_precentage = '0.71' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='84.4',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='84.4',meanbuyprice_withTax='84.4',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='84.4',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '56';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '56', '1.00', '2026-09-14', '1', '0','0005601','85','85','88.5','84.4','','0','0','0','0','0','0','0','0','0','0'); -- id=56
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('56', '1', '20', '1', '2026-09-14'); -- id=56
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('56', '1', '20', '0', '56', 'إضافة منتج', 'productController.php', '0', '20', '1', '2026-09-14','0','0'); -- id=68
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (56, 1,'2026-09-14 09:33:06',1)
                ON DUPLICATE KEY UPDATE productid = 56, edited = 1, sysdate = '2026-09-14 09:33:06', userid = 1; -- id=56
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1688', '1688', '2026-09-14', '1', '0', '0', '2026-09-14 09:33:06','إضافة منتج زر جرس عريض ابيض الكمية 20','1','0','0','0','56','productController.php?do=edit&id=56'); -- id=67
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('67', '382', '1688', '','0'); -- id=67
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '613601.46', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('67', '121', '1688', '','0'); -- id=67
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-248615.25', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'زر جرس عريض ابيض', productDescription = '', productCatId = '1', productBuyPrice = '84.40', productSellAllPrice = '85.00', productSellUnitPrice = '88.50', productSellHalfPrice = '85.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00056',type ='0', expireDate = '0' , dailyentryId = '67',isService = '0',isOptic = '0',lastbuyprice = '84.4',lastbuyprice_withDiscount = '84.4',meanbuyprice = '84.4',meanbuyprice_withDiscount = '84.4' , productbuypricereal = '84.4' , buypricereal_precentage = '0' , buytotal_precentage = '0.71' , buyhalf_precentage = '0.71' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='84.4',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='84.4',meanbuyprice_withTax='84.4',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='84.4',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '56';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('قطعه جررس صوت ','','1','253.39','254','266','254','2026-09-14','0','1','0','','0','0','0','0','0','253.39','253.39','253.39','253.39','253.39','0','0.24','0.24','4.98','.','0','0','0','253.39','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','253.39','253.39','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','253.39','0','0','0','0','0','0','','','0','0','0','0'); -- id=57
UPDATE product SET productName = 'قطعه جررس صوت ', productDescription = '', productCatId = '1', productBuyPrice = '253.39', productSellAllPrice = '254', productSellUnitPrice = '266', productSellHalfPrice = '254', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00057',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '253.39',lastbuyprice_withDiscount = '253.39',meanbuyprice = '253.39',meanbuyprice_withDiscount = '253.39' , productbuypricereal = '253.39' , buypricereal_precentage = '0' , buytotal_precentage = '0.24' , buyhalf_precentage = '0.24' , buypart_precentage = '4.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='253.39',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='253.39',meanbuyprice_withTax='253.39',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='253.39',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '57';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '57', '1.00', '2026-09-14', '1', '0','0005701','254','254','266','253.39','','0','0','0','0','0','0','0','0','0','0'); -- id=57
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('57', '1', '8', '1', '2026-09-14'); -- id=57
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('57', '1', '8', '0', '57', 'إضافة منتج', 'productController.php', '0', '8', '1', '2026-09-14','0','0'); -- id=69
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (57, 1,'2026-09-14 09:33:08',1)
                ON DUPLICATE KEY UPDATE productid = 57, edited = 1, sysdate = '2026-09-14 09:33:08', userid = 1; -- id=57
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2027.12', '2027.12', '2026-09-14', '1', '0', '0', '2026-09-14 09:33:08','إضافة منتج قطعه جررس صوت  الكمية 8','1','0','0','0','57','productController.php?do=edit&id=57'); -- id=68
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('68', '382', '2027.12', '','0'); -- id=68
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '615628.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('68', '121', '2027.12', '','0'); -- id=68
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-246588.13', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'قطعه جررس صوت ', productDescription = '', productCatId = '1', productBuyPrice = '253.39', productSellAllPrice = '254.00', productSellUnitPrice = '266.00', productSellHalfPrice = '254.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00057',type ='0', expireDate = '0' , dailyentryId = '68',isService = '0',isOptic = '0',lastbuyprice = '253.39',lastbuyprice_withDiscount = '253.39',meanbuyprice = '253.39',meanbuyprice_withDiscount = '253.39' , productbuypricereal = '253.39' , buypricereal_precentage = '0' , buytotal_precentage = '0.24' , buyhalf_precentage = '0.24' , buypart_precentage = '4.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='253.39',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='253.39',meanbuyprice_withTax='253.39',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='253.39',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '57';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('قطعه usb ابيض ','','1','417','418','438','418','2026-09-14','0','1','0','','0','0','0','0','0','417','417','417','417','417','0','0.24','0.24','5.04','.','0','0','0','417','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','417','417','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','417','0','0','0','0','0','0','','','0','0','0','0'); -- id=58
UPDATE product SET productName = 'قطعه usb ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '417', productSellAllPrice = '418', productSellUnitPrice = '438', productSellHalfPrice = '418', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00058',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '417',lastbuyprice_withDiscount = '417',meanbuyprice = '417',meanbuyprice_withDiscount = '417' , productbuypricereal = '417' , buypricereal_precentage = '0' , buytotal_precentage = '0.24' , buyhalf_precentage = '0.24' , buypart_precentage = '5.04',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='417',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='417',meanbuyprice_withTax='417',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='417',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '58';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '58', '1.00', '2026-09-14', '1', '0','0005801','418','418','438','417','','0','0','0','0','0','0','0','0','0','0'); -- id=58
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('58', '1', '12', '1', '2026-09-14'); -- id=58
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('58', '1', '12', '0', '58', 'إضافة منتج', 'productController.php', '0', '12', '1', '2026-09-14','0','0'); -- id=70
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (58, 1,'2026-09-14 09:33:10',1)
                ON DUPLICATE KEY UPDATE productid = 58, edited = 1, sysdate = '2026-09-14 09:33:10', userid = 1; -- id=58
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5004', '5004', '2026-09-14', '1', '0', '0', '2026-09-14 09:33:10','إضافة منتج قطعه usb ابيض  الكمية 12','1','0','0','0','58','productController.php?do=edit&id=58'); -- id=69
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('69', '382', '5004', '','0'); -- id=69
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '620632.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('69', '121', '5004', '','0'); -- id=69
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-241584.13', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'قطعه usb ابيض ', productDescription = '', productCatId = '1', productBuyPrice = '417.00', productSellAllPrice = '418.00', productSellUnitPrice = '438.00', productSellHalfPrice = '418.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00058',type ='0', expireDate = '0' , dailyentryId = '69',isService = '0',isOptic = '0',lastbuyprice = '417',lastbuyprice_withDiscount = '417',meanbuyprice = '417',meanbuyprice_withDiscount = '417' , productbuypricereal = '417' , buypricereal_precentage = '0' , buytotal_precentage = '0.24' , buyhalf_precentage = '0.24' , buypart_precentage = '5.04',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='417',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='417',meanbuyprice_withTax='417',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='417',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '58';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:03:13";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:33:13", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:33:13', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=324
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:03:35";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:33:35", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:33:35', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=325
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:03:42";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:33:42", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:33:42', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=326
UPDATE product SET productName = 'قطعه جررس صوت ابيض', productDescription = '', productCatId = '1', productBuyPrice = '253.39', productSellAllPrice = '254.00', productSellUnitPrice = '266.00', productSellHalfPrice = '254.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00057',type ='0', expireDate = '0' , dailyentryId = '68',isService = '0',isOptic = '0',lastbuyprice = '253.39',lastbuyprice_withDiscount = '253.39',meanbuyprice = '253.39',meanbuyprice_withDiscount = '253.39' , productbuypricereal = '253.39' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.24' , buyhalf_precentage = '0.24' , buypart_precentage = '4.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='253.39',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='253.39',meanbuyprice_withTax='253.39',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='253.39',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '57';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (57, 1,'2026-09-14 09:34:06',1)
                ON DUPLICATE KEY UPDATE productid = 57, edited = 1, sysdate = '2026-09-14 09:34:06', userid = 1; -- id=57
UPDATE product SET productName = 'سخان 20 امبير عريض اسمر ', productDescription = '', productCatId = '1', productBuyPrice = '190.00', productSellAllPrice = '192.00', productSellUnitPrice = '198.00', productSellHalfPrice = '192.00', productDate = '2026-09-13', conditions = '0', userId = '1', limitamount = '4', parcode = '00022',type ='0', expireDate = '0' , dailyentryId = '27',isService = '0',isOptic = '0',lastbuyprice = '190.00',lastbuyprice_withDiscount = '190',meanbuyprice = '190.00',meanbuyprice_withDiscount = '190' , productbuypricereal = '190.00' , buypricereal_precentage = '0.00' , buytotal_precentage = '1.05' , buyhalf_precentage = '1.05' , buypart_precentage = '4.21',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='190',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='190',meanbuyprice_withTax='190',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='190',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '22';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (22, 1,'2026-09-14 09:34:34',1)
                ON DUPLICATE KEY UPDATE productid = 22, edited = 1, sysdate = '2026-09-14 09:34:34', userid = 1; -- id=22
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:06:31";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:36:31", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:36:31', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=327
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:11:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:41:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:41:40', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=328
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 16 امبير ','','1','129.7','132','136','132','2026-09-14','0','1','24','','0','0','0','0','0','129.7','129.7','129.7','129.7','129.7','0','1.77','1.77','4.86','.','0','0','0','129.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','129.7','129.7','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','129.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=59
UPDATE product SET productName = 'مفتاح اتوماتيك 16 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.7', productSellAllPrice = '132', productSellUnitPrice = '136', productSellHalfPrice = '132', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '24', parcode = '00059',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '59';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '59', '1.00', '2026-09-14', '1', '0','0005901','132','132','136','129.7','','0','0','0','0','0','0','0','0','0','0'); -- id=59
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('59', '1', '177', '1', '2026-09-14'); -- id=59
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('59', '1', '177', '0', '59', 'إضافة منتج', 'productController.php', '0', '177', '1', '2026-09-14','0','0'); -- id=71
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (59, 1,'2026-09-14 09:41:42',1)
                ON DUPLICATE KEY UPDATE productid = 59, edited = 1, sysdate = '2026-09-14 09:41:42', userid = 1; -- id=61
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '22956.9', '22956.9', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:42','إضافة منتج مفتاح اتوماتيك 16 امبير  الكمية 177','1','0','0','0','59','productController.php?do=edit&id=59'); -- id=70
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('70', '382', '22956.9', '','0'); -- id=70
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '643589.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('70', '121', '22956.9', '','0'); -- id=70
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-218627.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 16 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.70', productSellAllPrice = '132.00', productSellUnitPrice = '136.00', productSellHalfPrice = '132.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '24', parcode = '00059',type ='0', expireDate = '0' , dailyentryId = '70',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '59';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 20 امبير ','','1','129.7','132','136','132','2026-09-14','0','1','12','','0','0','0','0','0','129.7','129.7','129.7','129.7','129.7','0','1.77','1.77','4.86','.','0','0','0','129.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','129.7','129.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','129.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=60
UPDATE product SET productName = 'مفتاح اتوماتيك 20 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.7', productSellAllPrice = '132', productSellUnitPrice = '136', productSellHalfPrice = '132', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00060',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '60';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '60', '1.00', '2026-09-14', '1', '0','0006001','132','132','136','129.7','','0','0','0','0','0','0','0','0','0','0'); -- id=60
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('60', '1', '56', '1', '2026-09-14'); -- id=60
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('60', '1', '56', '0', '60', 'إضافة منتج', 'productController.php', '0', '56', '1', '2026-09-14','0','0'); -- id=72
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (60, 1,'2026-09-14 09:41:44',1)
                ON DUPLICATE KEY UPDATE productid = 60, edited = 1, sysdate = '2026-09-14 09:41:44', userid = 1; -- id=62
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7263.2', '7263.2', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:44','إضافة منتج مفتاح اتوماتيك 20 امبير  الكمية 56','1','0','0','0','60','productController.php?do=edit&id=60'); -- id=71
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('71', '382', '7263.2', '','0'); -- id=71
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '650852.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('71', '121', '7263.2', '','0'); -- id=71
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-211364.03', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 20 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.70', productSellAllPrice = '132.00', productSellUnitPrice = '136.00', productSellHalfPrice = '132.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00060',type ='0', expireDate = '0' , dailyentryId = '71',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '60';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 25 امبير ','','1','129.7','132','136','132','2026-09-14','0','1','12','','0','0','0','0','0','129.7','129.7','129.7','129.7','129.7','0','1.77','1.77','4.86','.','0','0','0','129.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','129.7','129.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','129.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=61
UPDATE product SET productName = 'مفتاح اتوماتيك 25 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.7', productSellAllPrice = '132', productSellUnitPrice = '136', productSellHalfPrice = '132', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00061',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '61';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '61', '1.00', '2026-09-14', '1', '0','0006101','132','132','136','129.7','','0','0','0','0','0','0','0','0','0','0'); -- id=61
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('61', '1', '60', '1', '2026-09-14'); -- id=61
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('61', '1', '60', '0', '61', 'إضافة منتج', 'productController.php', '0', '60', '1', '2026-09-14','0','0'); -- id=73
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (61, 1,'2026-09-14 09:41:46',1)
                ON DUPLICATE KEY UPDATE productid = 61, edited = 1, sysdate = '2026-09-14 09:41:46', userid = 1; -- id=63
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7782', '7782', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:46','إضافة منتج مفتاح اتوماتيك 25 امبير  الكمية 60','1','0','0','0','61','productController.php?do=edit&id=61'); -- id=72
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('72', '382', '7782', '','0'); -- id=72
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '658634.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('72', '121', '7782', '','0'); -- id=72
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-203582.03', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 25 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.70', productSellAllPrice = '132.00', productSellUnitPrice = '136.00', productSellHalfPrice = '132.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00061',type ='0', expireDate = '0' , dailyentryId = '72',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '61';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 32 امبير ','','1','129.7','132','136','132','2026-09-14','0','1','12','','0','0','0','0','0','129.7','129.7','129.7','129.7','129.7','0','1.77','1.77','4.86','.','0','0','0','129.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','129.7','129.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','129.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=62
UPDATE product SET productName = 'مفتاح اتوماتيك 32 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.7', productSellAllPrice = '132', productSellUnitPrice = '136', productSellHalfPrice = '132', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00062',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '62';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '62', '1.00', '2026-09-14', '1', '0','0006201','132','132','136','129.7','','0','0','0','0','0','0','0','0','0','0'); -- id=62
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('62', '1', '31', '1', '2026-09-14'); -- id=62
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('62', '1', '31', '0', '62', 'إضافة منتج', 'productController.php', '0', '31', '1', '2026-09-14','0','0'); -- id=74
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (62, 1,'2026-09-14 09:41:48',1)
                ON DUPLICATE KEY UPDATE productid = 62, edited = 1, sysdate = '2026-09-14 09:41:48', userid = 1; -- id=64
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4020.7', '4020.7', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:48','إضافة منتج مفتاح اتوماتيك 32 امبير  الكمية 31','1','0','0','0','62','productController.php?do=edit&id=62'); -- id=73
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('73', '382', '4020.7', '','0'); -- id=73
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '662655.38', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('73', '121', '4020.7', '','0'); -- id=73
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-199561.33', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 32 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.70', productSellAllPrice = '132.00', productSellUnitPrice = '136.00', productSellHalfPrice = '132.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00062',type ='0', expireDate = '0' , dailyentryId = '73',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '62';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 40  امبير ','','1','129.7','132','136','132','2026-09-14','0','1','12','','0','0','0','0','0','129.7','129.7','129.7','129.7','129.7','0','1.77','1.77','4.86','.','0','0','0','129.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','129.7','129.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','129.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=63
UPDATE product SET productName = 'مفتاح اتوماتيك 40  امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.7', productSellAllPrice = '132', productSellUnitPrice = '136', productSellHalfPrice = '132', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00063',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '63';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '63', '1.00', '2026-09-14', '1', '0','0006301','132','132','136','129.7','','0','0','0','0','0','0','0','0','0','0'); -- id=63
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('63', '1', '36', '1', '2026-09-14'); -- id=63
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('63', '1', '36', '0', '63', 'إضافة منتج', 'productController.php', '0', '36', '1', '2026-09-14','0','0'); -- id=75
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (63, 1,'2026-09-14 09:41:51',1)
                ON DUPLICATE KEY UPDATE productid = 63, edited = 1, sysdate = '2026-09-14 09:41:51', userid = 1; -- id=65
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4669.2', '4669.2', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:51','إضافة منتج مفتاح اتوماتيك 40  امبير  الكمية 36','1','0','0','0','63','productController.php?do=edit&id=63'); -- id=74
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('74', '382', '4669.2', '','0'); -- id=74
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '667324.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('74', '121', '4669.2', '','0'); -- id=74
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-194892.13', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 40  امبير ', productDescription = '', productCatId = '1', productBuyPrice = '129.70', productSellAllPrice = '132.00', productSellUnitPrice = '136.00', productSellHalfPrice = '132.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00063',type ='0', expireDate = '0' , dailyentryId = '74',isService = '0',isOptic = '0',lastbuyprice = '129.7',lastbuyprice_withDiscount = '129.7',meanbuyprice = '129.7',meanbuyprice_withDiscount = '129.7' , productbuypricereal = '129.7' , buypricereal_precentage = '0' , buytotal_precentage = '1.77' , buyhalf_precentage = '1.77' , buypart_precentage = '4.86',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='129.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='129.7',meanbuyprice_withTax='129.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='129.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '63';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 63 امبير ','','1','144.3','146','152','146','2026-09-14','0','1','12','','0','0','0','0','0','144.3','144.3','144.3','144.3','144.3','0','1.18','1.18','5.34','.','0','0','0','144.3','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','144.3','144.3','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','144.3','0','0','0','0','0','0','','','0','0','0','0'); -- id=64
UPDATE product SET productName = 'مفتاح اتوماتيك 63 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '144.3', productSellAllPrice = '146', productSellUnitPrice = '152', productSellHalfPrice = '146', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00064',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '144.3',lastbuyprice_withDiscount = '144.3',meanbuyprice = '144.3',meanbuyprice_withDiscount = '144.3' , productbuypricereal = '144.3' , buypricereal_precentage = '0' , buytotal_precentage = '1.18' , buyhalf_precentage = '1.18' , buypart_precentage = '5.34',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='144.3',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='144.3',meanbuyprice_withTax='144.3',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='144.3',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '64';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '64', '1.00', '2026-09-14', '1', '0','0006401','146','146','152','144.3','','0','0','0','0','0','0','0','0','0','0'); -- id=64
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('64', '1', '33', '1', '2026-09-14'); -- id=64
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('64', '1', '33', '0', '64', 'إضافة منتج', 'productController.php', '0', '33', '1', '2026-09-14','0','0'); -- id=76
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (64, 1,'2026-09-14 09:41:53',1)
                ON DUPLICATE KEY UPDATE productid = 64, edited = 1, sysdate = '2026-09-14 09:41:53', userid = 1; -- id=66
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4761.9', '4761.9', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:53','إضافة منتج مفتاح اتوماتيك 63 امبير  الكمية 33','1','0','0','0','64','productController.php?do=edit&id=64'); -- id=75
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('75', '382', '4761.9', '','0'); -- id=75
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '672086.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('75', '121', '4761.9', '','0'); -- id=75
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-190130.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 63 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '144.30', productSellAllPrice = '146.00', productSellUnitPrice = '152.00', productSellHalfPrice = '146.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00064',type ='0', expireDate = '0' , dailyentryId = '75',isService = '0',isOptic = '0',lastbuyprice = '144.3',lastbuyprice_withDiscount = '144.3',meanbuyprice = '144.3',meanbuyprice_withDiscount = '144.3' , productbuypricereal = '144.3' , buypricereal_precentage = '0' , buytotal_precentage = '1.18' , buyhalf_precentage = '1.18' , buypart_precentage = '5.34',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='144.3',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='144.3',meanbuyprice_withTax='144.3',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='144.3',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '64';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك مجوز 63 امبير ','','1','262','264','275','264','2026-09-14','0','1','1','','0','0','0','0','0','262','262','262','262','262','0','0.76','0.76','4.96','.','0','0','0','262','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','262','262','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','262','0','0','0','0','0','0','','','0','0','0','0'); -- id=65
UPDATE product SET productName = 'مفتاح اتوماتيك مجوز 63 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '262', productSellAllPrice = '264', productSellUnitPrice = '275', productSellHalfPrice = '264', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00065',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '262',lastbuyprice_withDiscount = '262',meanbuyprice = '262',meanbuyprice_withDiscount = '262' , productbuypricereal = '262' , buypricereal_precentage = '0' , buytotal_precentage = '0.76' , buyhalf_precentage = '0.76' , buypart_precentage = '4.96',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='262',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='262',meanbuyprice_withTax='262',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='262',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '65';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '65', '1.00', '2026-09-14', '1', '0','0006501','264','264','275','262','','0','0','0','0','0','0','0','0','0','0'); -- id=65
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('65', '1', '5', '1', '2026-09-14'); -- id=65
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('65', '1', '5', '0', '65', 'إضافة منتج', 'productController.php', '0', '5', '1', '2026-09-14','0','0'); -- id=77
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (65, 1,'2026-09-14 09:41:55',1)
                ON DUPLICATE KEY UPDATE productid = 65, edited = 1, sysdate = '2026-09-14 09:41:55', userid = 1; -- id=67
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1310', '1310', '2026-09-14', '1', '0', '0', '2026-09-14 09:41:55','إضافة منتج مفتاح اتوماتيك مجوز 63 امبير  الكمية 5','1','0','0','0','65','productController.php?do=edit&id=65'); -- id=76
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('76', '382', '1310', '','0'); -- id=76
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '673396.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('76', '121', '1310', '','0'); -- id=76
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-188820.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك مجوز 63 امبير ', productDescription = '', productCatId = '1', productBuyPrice = '262.00', productSellAllPrice = '264.00', productSellUnitPrice = '275.00', productSellHalfPrice = '264.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00065',type ='0', expireDate = '0' , dailyentryId = '76',isService = '0',isOptic = '0',lastbuyprice = '262',lastbuyprice_withDiscount = '262',meanbuyprice = '262',meanbuyprice_withDiscount = '262' , productbuypricereal = '262' , buypricereal_precentage = '0' , buytotal_precentage = '0.76' , buyhalf_precentage = '0.76' , buypart_precentage = '4.96',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='262',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='262',meanbuyprice_withTax='262',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='262',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '65';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:11:57";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:41:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 09:41:58', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=329
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:12:00";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:42:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('salesreport.php', '2026-09-14 09:42:00', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/salesreport.php'); -- id=330
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:12:11";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:42:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('salesreport.php', '2026-09-14 09:42:11', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/salesreport.php'); -- id=331
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:13:00";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:43:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 09:43:00', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=332
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:13:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:43:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 09:43:10', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=333
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:13:33";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:43:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 09:43:33', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php'); -- id=334
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:13:45";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:43:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 09:43:45', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=335
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:14:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:44:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('buyreport.php', '2026-09-14 09:44:28', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/buyreport.php'); -- id=336
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:14:38";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:44:38", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('buyreport.php', '2026-09-14 09:44:38', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/buyreport.php'); -- id=337
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:15:11";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 09:45:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 09:45:11', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=338
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:33:02";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:03:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 10:03:03', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php'); -- id=339
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:33:19";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:03:19", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 10:03:19', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php?do=update'); -- id=340
UPDATE ebillsetting SET eTaxNum = '', eTaxNumBranch = '', eGovernorate = '', eCity = '', eStreet = '', eBuildingNum = '', eTaxType = '', eTaxTypeNum = '', eCompanyNameInTaxCard = '', eunitInTax = '' WHERE id = '1';
UPDATE programsettings SET companyname = 'الشاذلي للاضاءه الحديثه', address = ' العنوان :كفر بهديه بجوار المستشفي<br/> المرتجع خلال 3 اشهورمن تاريخ الفاتوره<br/>الا الاسلاك خلال 20يوم<br/>ممنوع رجوع الاسلاك واللد المفتوح', specializtion = '', phone = '01096879556-01091024885', faxnumber = '', email = 'mousa_maged@hotmail.com', website = '', logo = '42f5d87d052910c7bc721e3958a8d368.png', roundnumbers = '1', saveprinting = '1', deptprinting = '1', printingpapersize = '0', userid = '1', showPreviousPrice = '0', parcode = '0', priceing = '0', lastprice = '0', searchvalue = '2',clientsearchvalue = '2', updateproductprice = '0', allowfinsldelete = '0', updateclientprice = '0', `partition` = 'D', taxcard = '123456789123', commercialregistration = '1234', costcenter = '1', clinic = '1', workshop = '1', transport = '1', manufacturing = '1', masterCopy = '0' , dailyentrydate = '2020-04-18' ,updatefiledate = '2026-09-14',workerbetweenstores = '1',workshoptimeout = '24',drivertimeout = '3',currancy = 'جنيه',serial='57a85883346811cbf7076a51c5bd887a2e96bf2df777a95668d34a3537aceedfe3f238b684c96d789642405e6f69293dbb311716d957a5ac40fe5570cf297eaf',allowdateedit = '0', clientcode = '1' ,clientserial = '1',timezone = 'Africa/Cairo' , expiredate ='1' , production ='1' , description='1' , service ='0' , 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',syncstructure = '1',showPrevPrices = '0',isOpticProg='1',reportsPlusHours = '2' , showM5zon = '1',restaurantStoreId = '1',restuarantPrintTimeout = '8',sumSameProductForStore = '0', editAllPrice = '0', isCafe = '0' ,isRestaurent = '0' ,productDays = '0',thereIsRestTax = '0',restTaxVal = '0',restPrintLang = '0',taxNameFlag = '0',parcodeDigits = '5' ,specializedParcodeDigits = '7', clientDefaultDebtLimit = '10000' , clientDefaultDebtLimitControl = '0',usedParcode = '1' ,productbycodeimage = '' ,commentClient='تعليق على العميل ',Inventoryevaluation='last_discount',Profitevaluation='last_discount' , delivery='0',premiums = '1',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 = ',0,0,0,',earlyrepayment = '0',visaPay = '0',headerPrint='38e56bc84e0c8adff190ee376e986bbd.png',headerPrintSand='',printSand='0',makeDailyEntry='1',clientShowTawla='0',billRest='1',suppIsClientToo='0',isCarBill='0',expensesproduct='1',projectshownew='1',showparcode='0',changeBuyPriceChangeSellInBuyBillCtrl = '0',changeBuyPriceChangeSellInProductCtrl = '0',inventoryvaluation = '1',showBillCollectionSearch='0',incomeclient='1',showserial='1',editservice='1',showCurrency='0',qrerp='1',valueadded='0',qrcodesh='0',printfoot='',sellorder='0',numberprint='0',valueaddedbuy='0',simpleAddClientInBill='0',licenseNo='',maintenance='0',showPrevDiscount='0',vatvalueqr='0.13043479',imgprinthide='0',parcodeprinttype = 'C128A',parcodeprintwidth='160',parcodeprinttextsize='14',parcodeprintCurr='L.E',sizecolorDigits='3',searchBarcodeInBill='0',allowMobileLogin='0',lanAllowType='0',wanAllowType='0',sendBillToRestaurant='0',obgyPharmacyGroups='',updateProUnitPricesOnPriceUpdate='0',ebill='0',valueaddeddiscount='0',clientdetail='1',showPrevPricesRet='0',showPrevDiscountRet='0',eunitInTax='',showStoreToDetail='0',showBuyPriceAtProductddl='0',specialexpenses='1',ratioshow='0',defaultUnitPriceAtBill='0',rulers='0',quantitynew='0',showBillOperationSearch='0',obygyFolder='',clientsell='0',
                preorderperiod='0',useListPrice='0',ebillclient='0',importproduct='0',realestateunits='0',expensesupplier='0',changeOrderproduct='0',searchlimit='0',typebill='',roundnumbersbilltotal='0',noOfDecimalPlacesBillTotal='0',dailyEntryCostprice='last_discount',storeRecieveType='0',clientPhoneReq='0',addServiceToBill='0',realestatedev='1',showprice4='0',showprice5='0',showprice6='0',showprice7='0',showprice8='0',showpriceall='1',showpricehalf='1',showpriceunit='1',showbillstatus='0',showbilldeliverydate='0',enablequantityfractions='0',addclienttoproduct='0',closingcustomeraccount='0',serial2='',
                shownameE='0',showprocode='0',showpartnumber='0',showtype='0',showcompany='0',showweight='0',showorigin='0',showhscode='0',showexpire='0',showgrantduration='0',showonline='0',showminappear='0',showonlinecat='0',showsellpercentage='0',showbuydiscount='0',preparingStore='1',sellordername='0',showsearchfilter='0',unitPriceAtsalesreport='0',medExCat='0',laterNakdiClientId='0',headerPrint12Right='',headerPrint12Left='',halfPriceStart='0',allPriceStart='0',checkretsellclient='1',webApiId='0',noBillEditTillPay='0',showDataOfficialContract='0',showprice9='0',showprice10='0',showprice11='0',showprice12='0',showprice13='0',serial3='9aad922c8dc25742295df2779fde48ab62230719d569b9aa71bf6d5e0e08471c7dbda60d508155af60894a0ba3bbd86ffbee699027a409bcd9ca11e28a846cc5',associatedtags='0',commentClientChasis='0',dollarExType='64',saudielectronicinvoice='0',saudielectronicinvoclient='0',productDiscount='0'
                ,reviewRecords='',reviewRecordsLastDate='0000-00-00',showepayrestaurant='0',showSellAllPriceInStoreDetail='0' WHERE programsettingsid = '1';
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:33:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:03:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 10:03:26', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php'); -- id=341
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:34:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:04:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:04:30', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=342
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:34:35";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:04:35", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:04:35', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=343
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:36:31";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:06:31", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:06:31', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=344
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:36:37";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:06:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:06:37', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=345
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:38:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:08:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:08:12', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=346
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:38:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:08:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:08:28', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=347
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:38:41";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:08:41", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:08:41', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=348
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:38:46";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:08:46", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:08:46', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=349
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:39:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:09:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('supplierReportsController.php', '2026-09-14 10:09:07', '1', 'oneSupplier', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/supplierReportsController.php?do=oneSupplier'); -- id=350
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:40:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:10:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:10:06', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=351
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:54:05";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:24:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 10:24:05', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php'); -- id=352
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:54:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:24:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 10:24:22', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php?do=show'); -- id=353
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:54:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:24:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:24:30', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=354
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 06:54:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:24:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:24:55', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=355
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:04:56";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:34:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 10:34:56', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php'); -- id=356
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:06:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:36:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 10:36:22', '1', 'all', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php?do=all'); -- id=357
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:06:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:36:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 10:36:41', '1', 'all', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php?do=all'); -- id=358
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:07:31";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:37:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:37:32', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=359
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:16:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:46:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 10:46:15', '1', 'all', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php?do=all'); -- id=360
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:16:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:46:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:46:25', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=361
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:27:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:57:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('salesreportbills.php', '2026-09-14 10:57:09', '1', 'laterNakdiPayment', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/salesreportbills.php?do=laterNakdiPayment'); -- id=362
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:27:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 10:57:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 10:57:15', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=363
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 07:57:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 11:27:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 11:27:40', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=364
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 08:03:33";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 11:33:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('savedailyController.php', '2026-09-14 11:33:34', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/savedailyController.php'); -- id=365
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 08:05:02";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 11:35:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsnewController.php', '2026-09-14 11:35:02', '1', 'clientShowbure', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsnewController.php?do=clientShowbure'); -- id=366
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 08:05:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 11:35:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsnewController.php', '2026-09-14 11:35:15', '1', 'clientShowbure', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsnewController.php?do=clientShowbure'); -- id=367
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 08:05:32";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 11:35:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 11:35:32', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=368
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 08:05:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 11:35:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 11:35:43', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=369
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:43:18";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:13:18", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:13:18', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=370
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:46:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:16:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:16:52', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=371
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره خارج 20 وات كريستال ','','7','85.5','90','110','95','2026-09-14','0','1','0','','0','0','0','0','0','85.5','85.5','85.5','85.5','85.5','0','5.26','11.11','28.65','.','0','0','0','85.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','85.5','85.5','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','85.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=66
UPDATE product SET productName = 'بلفونيره خارج 20 وات كريستال ', productDescription = '', productCatId = '7', productBuyPrice = '85.5', productSellAllPrice = '90', productSellUnitPrice = '110', productSellHalfPrice = '95', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00066',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '85.5',lastbuyprice_withDiscount = '85.5',meanbuyprice = '85.5',meanbuyprice_withDiscount = '85.5' , productbuypricereal = '85.5' , buypricereal_precentage = '0' , buytotal_precentage = '5.26' , buyhalf_precentage = '11.11' , buypart_precentage = '28.65',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='85.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='85.5',meanbuyprice_withTax='85.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='85.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '66';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '66', '1.00', '2026-09-14', '1', '0','0006601','90','95','110','85.5','','0','0','0','0','0','0','0','0','0','0'); -- id=66
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('66', '1', '60', '1', '2026-09-14'); -- id=66
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('66', '1', '60', '0', '66', 'إضافة منتج', 'productController.php', '0', '60', '1', '2026-09-14','0','0'); -- id=78
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (66, 1,'2026-09-14 13:16:54',1)
                ON DUPLICATE KEY UPDATE productid = 66, edited = 1, sysdate = '2026-09-14 13:16:54', userid = 1; -- id=68
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5130', '5130', '2026-09-14', '1', '0', '0', '2026-09-14 13:16:54','إضافة منتج بلفونيره خارج 20 وات كريستال  الكمية 60','1','0','0','0','66','productController.php?do=edit&id=66'); -- id=77
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('77', '382', '5130', '','0'); -- id=77
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '678526.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('77', '121', '5130', '','0'); -- id=77
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-183690.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره خارج 20 وات كريستال ', productDescription = '', productCatId = '7', productBuyPrice = '85.50', productSellAllPrice = '90.00', productSellUnitPrice = '110.00', productSellHalfPrice = '95.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00066',type ='0', expireDate = '0' , dailyentryId = '77',isService = '0',isOptic = '0',lastbuyprice = '85.5',lastbuyprice_withDiscount = '85.5',meanbuyprice = '85.5',meanbuyprice_withDiscount = '85.5' , productbuypricereal = '85.5' , buypricereal_precentage = '0' , buytotal_precentage = '5.26' , buyhalf_precentage = '11.11' , buypart_precentage = '28.65',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='85.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='85.5',meanbuyprice_withTax='85.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='85.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '66';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره خارج 40 وات كريستال اطار اسمر ','','7','126.9','130','155','140','2026-09-14','0','1','0','','0','0','0','0','0','126.9','126.9','126.9','126.9','126.9','0','2.44','10.32','22.14','.','0','0','0','126.9','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','126.9','126.9','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','126.9','0','0','0','0','0','0','','','0','0','0','0'); -- id=67
UPDATE product SET productName = 'بلفونيره خارج 40 وات كريستال اطار اسمر ', productDescription = '', productCatId = '7', productBuyPrice = '126.9', productSellAllPrice = '130', productSellUnitPrice = '155', productSellHalfPrice = '140', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00067',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '126.9',lastbuyprice_withDiscount = '126.9',meanbuyprice = '126.9',meanbuyprice_withDiscount = '126.9' , productbuypricereal = '126.9' , buypricereal_precentage = '0' , buytotal_precentage = '2.44' , buyhalf_precentage = '10.32' , buypart_precentage = '22.14',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='126.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='126.9',meanbuyprice_withTax='126.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='126.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '67';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '67', '1.00', '2026-09-14', '1', '0','0006701','130','140','155','126.9','','0','0','0','0','0','0','0','0','0','0'); -- id=67
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('67', '1', '40', '1', '2026-09-14'); -- id=67
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('67', '1', '40', '0', '67', 'إضافة منتج', 'productController.php', '0', '40', '1', '2026-09-14','0','0'); -- id=79
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (67, 1,'2026-09-14 13:16:56',1)
                ON DUPLICATE KEY UPDATE productid = 67, edited = 1, sysdate = '2026-09-14 13:16:56', userid = 1; -- id=69
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5076', '5076', '2026-09-14', '1', '0', '0', '2026-09-14 13:16:56','إضافة منتج بلفونيره خارج 40 وات كريستال اطار اسمر  الكمية 40','1','0','0','0','67','productController.php?do=edit&id=67'); -- id=78
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('78', '382', '5076', '','0'); -- id=78
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '683602.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('78', '121', '5076', '','0'); -- id=78
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-178614.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره خارج 40 وات كريستال اطار اسمر ', productDescription = '', productCatId = '7', productBuyPrice = '126.90', productSellAllPrice = '130.00', productSellUnitPrice = '155.00', productSellHalfPrice = '140.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00067',type ='0', expireDate = '0' , dailyentryId = '78',isService = '0',isOptic = '0',lastbuyprice = '126.9',lastbuyprice_withDiscount = '126.9',meanbuyprice = '126.9',meanbuyprice_withDiscount = '126.9' , productbuypricereal = '126.9' , buypricereal_precentage = '0' , buytotal_precentage = '2.44' , buyhalf_precentage = '10.32' , buypart_precentage = '22.14',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='126.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='126.9',meanbuyprice_withTax='126.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='126.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '67';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:46:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:16:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:16:59', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=372
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:47:14";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:17:14", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('savedailyController.php', '2026-09-14 13:17:14', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/savedailyController.php'); -- id=373
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:47:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:17:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('debtclientController.php', '2026-09-14 13:17:39', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/debtclientController.php'); -- id=374
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:47:57";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:17:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('debtclientController.php', '2026-09-14 13:17:57', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/debtclientController.php?do=show'); -- id=375
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:48:05";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:18:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientController.php', '2026-09-14 13:18:05', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientController.php'); -- id=376
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:48:16";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:18:16", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientController.php', '2026-09-14 13:18:16', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientController.php'); -- id=377
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:49:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:19:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientController.php', '2026-09-14 13:19:30', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientController.php?do=add'); -- id=378
INSERT INTO client (clientname, clientaddress, clientphone, clientmobile, clientdebt, clientdetails, conditions, clientdate, userid,clientareaid,clientcode,dailyentryid ,rondomtxt,clientStoreIds,obygyPatientId,debtLimit,typeclientid,priceTypeId,card_number,file_faida,specialDiscount,specialDiscountVal,file,addDate,mandobCollectRatio,webApiId,clientRFID,linkedSupplierId,postponeDays,studentid,taxnumber,password,clientTypeForTree,treeId,husbandNameObgy,txtNameE,facility,delegate,txtemail,commercial,valtaxnumber,clientaddress2,country,delegateid,datecustomeraccount,taxfile,fileimg,webStoreType,clientaddress3,tagids,email_verified,email_otp,email_otp_expiry) VALUES ('عبدالحي الشاذلي ' , '', '', '', '3120', '', '0', '2026-09-14 13:19:31', '1', '0','3','0','','-10','3','10000',',','0','0','','0','0','.','2026-09-14','0','3','','0','0','0','','','0','0','','','','','','','','','','-1','','.','.','0','','','0','0',''); -- id=3
INSERT INTO tamweenclientdetail (clientid, noOfPersonsTamween, noOfPersonsDa3m, cardNum, cardPassword) VALUES ('3', '0', '0', '', ''); -- id=2
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,userSelectedDate,paySerialNo,totalpayments,tagids,file) VALUES ('3','0','3120','0','إضافة عميل جديد','3', '3120', '2026-09-14 13:19:31', '1', 'clientController.php', '', '3120', '0', null, '0', null, null,'', '0','1','1','3120','1','','0','0','',''); -- id=4
INSERT INTO accountstree (name, customName, customNameEn, nameEn, parent, accountNature, theValue, theOrder, layingOrder, reportid, listId, notes, itemfrom, itemtype, itemtype2, itemtype3, userid, del, sysdate) VALUES ('عبدالحي الشاذلي ', 'عبدالحي الشاذلي ', 'عبدالحي الشاذلي ', 'عبدالحي الشاذلي ', '58', '0', '0', '0', '', '1', '1', '', '0', '3', '1', '', '1', '0', '2026-09-14 13:19:31'); -- id=427
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3120', '3120', '2026-09-14', '1', '0', '0', '2026-09-14 13:19:32','تم اضافة عميل عبدالحي الشاذلي ','1','0','0','0','3','clientController.php?do=edit&id=3'); -- id=79
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('79', '427', '3120', '','0'); -- id=79
UPDATE accountstree SET name = 'عبدالحي الشاذلي ', customName = 'عبدالحي الشاذلي ', customNameEn = 'عبدالحي الشاذلي ', nameEn = 'عبدالحي الشاذلي ', parent = '58', accountNature = '0', theValue = '3120', theOrder = '0', layingOrder = '', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2026-09-14 13:19:31' WHERE id = '427';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('79', '121', '3120', '','0'); -- id=79
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-175494.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
COMMIT;
UPDATE client SET clientname = 'عبدالحي الشاذلي ', clientaddress = '', clientphone = '', clientmobile = '', clientdebt = '3120.00', clientdetails = '', conditions = '0', clientdate = '2026-09-14', userid = '1'  , clientareaid = '0'  ,clientcode = '3',dailyentryid = '79' , rondomtxt = '',clientStoreIds = '-10', obygyPatientId = '3' , debtLimit='10000' , typeclientid=',',priceTypeId='0',lastEditUser = '0',card_number = '0',file_faida = '',specialDiscount = '0',specialDiscountVal = '0',file = '.',mandobCollectRatio='0',webApiId ='3' ,clientRFID = '',linkedSupplierId = '0',postponeDays='0', studentid='0', taxnumber='', password='',clientTypeForTree='0',treeId='427',husbandNameObgy='',txtNameE='',facility='',delegate='',txtemail='',commercial='',valtaxnumber='',clientaddress2='',country='',delegateid='-1',datecustomeraccount='0000-00-00',taxfile='.',fileimg='.',webStoreType='0',clientaddress3='',tagids='',email_verified='0',email_otp='0',email_otp_expiry='0000-00-00 00:00:00' WHERE clientid = '3';
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 09:49:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:19:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientController.php', '2026-09-14 13:19:39', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientController.php'); -- id=379
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:08:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:38:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:38:23', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=380
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:11:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:41:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:41:06', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=381
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شفاط 30في30 فريش اتجاهين','','6','912','920','920','920','2026-09-14','0','1','0','','0','0','0','0','0','912','912','912','912','912','0','0.88','0.88','0.88','.','0','0','0','912','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','912','912','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','912','0','0','0','0','0','0','','','0','0','0','0'); -- id=68
UPDATE product SET productName = 'شفاط 30في30 فريش اتجاهين', productDescription = '', productCatId = '6', productBuyPrice = '912', productSellAllPrice = '920', productSellUnitPrice = '920', productSellHalfPrice = '920', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00068',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '912',lastbuyprice_withDiscount = '912',meanbuyprice = '912',meanbuyprice_withDiscount = '912' , productbuypricereal = '912' , buypricereal_precentage = '0' , buytotal_precentage = '0.88' , buyhalf_precentage = '0.88' , buypart_precentage = '0.88',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='912',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='912',meanbuyprice_withTax='912',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='912',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '68';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '68', '1.00', '2026-09-14', '1', '0','0006801','920','920','920','912','','0','0','0','0','0','0','0','0','0','0'); -- id=68
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('68', '1', '8', '1', '2026-09-14'); -- id=68
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('68', '1', '8', '0', '68', 'إضافة منتج', 'productController.php', '0', '8', '1', '2026-09-14','0','0'); -- id=80
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (68, 1,'2026-09-14 13:41:08',1)
                ON DUPLICATE KEY UPDATE productid = 68, edited = 1, sysdate = '2026-09-14 13:41:08', userid = 1; -- id=70
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7296', '7296', '2026-09-14', '1', '0', '0', '2026-09-14 13:41:08','إضافة منتج شفاط 30في30 فريش اتجاهين الكمية 8','1','0','0','0','68','productController.php?do=edit&id=68'); -- id=80
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('80', '382', '7296', '','0'); -- id=80
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '690898.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('80', '121', '7296', '','0'); -- id=80
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-168198.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شفاط 30في30 فريش اتجاهين', productDescription = '', productCatId = '6', productBuyPrice = '912.00', productSellAllPrice = '920.00', productSellUnitPrice = '920.00', productSellHalfPrice = '920.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00068',type ='0', expireDate = '0' , dailyentryId = '80',isService = '0',isOptic = '0',lastbuyprice = '912',lastbuyprice_withDiscount = '912',meanbuyprice = '912',meanbuyprice_withDiscount = '912' , productbuypricereal = '912' , buypricereal_precentage = '0' , buytotal_precentage = '0.88' , buyhalf_precentage = '0.88' , buypart_precentage = '0.88',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='912',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='912',meanbuyprice_withTax='912',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='912',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '68';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شفاط 25في25 فريش اتجاهين ','','6','768','785','785','785','2026-09-14','0','1','0','','0','0','0','0','0','768','768','768','768','768','0','2.21','2.21','2.21','.','0','0','0','768','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','768','768','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','768','0','0','0','0','0','0','','','0','0','0','0'); -- id=69
UPDATE product SET productName = 'شفاط 25في25 فريش اتجاهين ', productDescription = '', productCatId = '6', productBuyPrice = '768', productSellAllPrice = '785', productSellUnitPrice = '785', productSellHalfPrice = '785', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00069',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '768',lastbuyprice_withDiscount = '768',meanbuyprice = '768',meanbuyprice_withDiscount = '768' , productbuypricereal = '768' , buypricereal_precentage = '0' , buytotal_precentage = '2.21' , buyhalf_precentage = '2.21' , buypart_precentage = '2.21',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='768',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='768',meanbuyprice_withTax='768',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='768',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '69';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '69', '1.00', '2026-09-14', '1', '0','0006901','785','785','785','768','','0','0','0','0','0','0','0','0','0','0'); -- id=69
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('69', '1', '6', '1', '2026-09-14'); -- id=69
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('69', '1', '6', '0', '69', 'إضافة منتج', 'productController.php', '0', '6', '1', '2026-09-14','0','0'); -- id=81
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (69, 1,'2026-09-14 13:41:10',1)
                ON DUPLICATE KEY UPDATE productid = 69, edited = 1, sysdate = '2026-09-14 13:41:10', userid = 1; -- id=71
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4608', '4608', '2026-09-14', '1', '0', '0', '2026-09-14 13:41:10','إضافة منتج شفاط 25في25 فريش اتجاهين  الكمية 6','1','0','0','0','69','productController.php?do=edit&id=69'); -- id=81
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('81', '382', '4608', '','0'); -- id=81
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '695506.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('81', '121', '4608', '','0'); -- id=81
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-163590.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شفاط 25في25 فريش اتجاهين ', productDescription = '', productCatId = '6', productBuyPrice = '768.00', productSellAllPrice = '785.00', productSellUnitPrice = '785.00', productSellHalfPrice = '785.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00069',type ='0', expireDate = '0' , dailyentryId = '81',isService = '0',isOptic = '0',lastbuyprice = '768',lastbuyprice_withDiscount = '768',meanbuyprice = '768',meanbuyprice_withDiscount = '768' , productbuypricereal = '768' , buypricereal_precentage = '0' , buytotal_precentage = '2.21' , buyhalf_precentage = '2.21' , buypart_precentage = '2.21',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='768',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='768',meanbuyprice_withTax='768',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='768',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '69';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:11:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:41:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:41:12', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=382
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:11:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:41:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 13:41:26', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php'); -- id=383
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:11:36";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:41:36", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 13:41:36', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=384
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:11:44";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:41:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 13:41:45', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=385
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:11:50";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:41:50", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 13:41:50', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=386
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:12:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:42:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storeController.php', '2026-09-14 13:42:43', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storeController.php?do=show'); -- id=387
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:12:51";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:42:51", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storeController.php', '2026-09-14 13:42:51', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storeController.php?do=edit&storeId=1'); -- id=388
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:13:05";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:43:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:43:06', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=389
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:13:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:43:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:43:15', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=390
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:13:37";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:43:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 13:43:37', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=391
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:16:03";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:46:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:46:03', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=392
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:16:16";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:46:16", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:46:16', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=393
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:16:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:46:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:46:23', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=394
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:16:41";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:46:41", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:46:41', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=395
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:16:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:46:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:46:53', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=396
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:17:04";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:47:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:47:04', '1', 'uinuseproducts', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=uinuseproducts'); -- id=397
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:17:05";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:47:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:47:05', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=sucess'); -- id=398
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:17:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:47:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:47:07', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=399
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:17:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:47:21", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:47:21', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=400
UPDATE product SET productName = 'بلفونيره خارج 20 وات كريستال ', productDescription = '', productCatId = '9', productBuyPrice = '85.50', productSellAllPrice = '90.00', productSellUnitPrice = '110.00', productSellHalfPrice = '95.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00066',type ='0', expireDate = '0' , dailyentryId = '77',isService = '0',isOptic = '0',lastbuyprice = '85.50',lastbuyprice_withDiscount = '85.5',meanbuyprice = '85.50',meanbuyprice_withDiscount = '85.5' , productbuypricereal = '85.50' , buypricereal_precentage = '0.00' , buytotal_precentage = '5.26' , buyhalf_precentage = '11.11' , buypart_precentage = '28.65',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='85.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='85.5',meanbuyprice_withTax='85.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='85.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '66';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (66, 1,'2026-09-14 13:47:34',1)
                ON DUPLICATE KEY UPDATE productid = 66, edited = 1, sysdate = '2026-09-14 13:47:34', userid = 1; -- id=68
UPDATE product SET productName = 'بلفونيره خارج 40 وات كريستال اطار اسمر ', productDescription = '', productCatId = '9', productBuyPrice = '126.90', productSellAllPrice = '130.00', productSellUnitPrice = '155.00', productSellHalfPrice = '140.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00067',type ='0', expireDate = '0' , dailyentryId = '78',isService = '0',isOptic = '0',lastbuyprice = '126.90',lastbuyprice_withDiscount = '126.9',meanbuyprice = '126.90',meanbuyprice_withDiscount = '126.9' , productbuypricereal = '126.90' , buypricereal_precentage = '0.00' , buytotal_precentage = '2.44' , buyhalf_precentage = '10.32' , buypart_precentage = '22.14',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='126.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='126.9',meanbuyprice_withTax='126.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='126.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '67';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (67, 1,'2026-09-14 13:47:36',1)
                ON DUPLICATE KEY UPDATE productid = 67, edited = 1, sysdate = '2026-09-14 13:47:36', userid = 1; -- id=69
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:17:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:47:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 13:47:55', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=401
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:18:00";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:48:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 13:48:00', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=402
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:28:13";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:58:13", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 13:58:13', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=403
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:28:16";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 13:58:16", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 13:58:16', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=404
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:38:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:08:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 14:08:49', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php'); -- id=405
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:44:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:14:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 14:14:26', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=406
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:44:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:14:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 14:14:30', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=407
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:52:54";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:22:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 14:22:54', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php'); -- id=408
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:55:45";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:25:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 14:25:45', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=409
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:56:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:26:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 14:26:06', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=410
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:56:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:26:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 14:26:40', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php'); -- id=411
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:57:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:27:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 14:27:59', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php?do=update'); -- id=412
UPDATE ebillsetting SET eTaxNum = '', eTaxNumBranch = '', eGovernorate = '', eCity = '', eStreet = '', eBuildingNum = '', eTaxType = '', eTaxTypeNum = '', eCompanyNameInTaxCard = '', eunitInTax = '' WHERE id = '1';
UPDATE programsettings SET companyname = 'الشاذلي للاضاءه الحديثه', address = ' العنوان :كفر بهيده بجوار المستشفي<br/> المرتجع خلال 3 اشهورمن تاريخ الفاتوره<br/>الا الاسلاك خلال 20يوم<br/>ممنوع رجوع الاسلاك والليد المفتوح', specializtion = '', phone = '01096879556-01091024885', faxnumber = '', email = 'mousa_maged@hotmail.com', website = '', logo = '42f5d87d052910c7bc721e3958a8d368.png', roundnumbers = '1', saveprinting = '1', deptprinting = '1', printingpapersize = '0', userid = '1', showPreviousPrice = '0', parcode = '0', priceing = '0', lastprice = '0', searchvalue = '2',clientsearchvalue = '2', updateproductprice = '0', allowfinsldelete = '0', updateclientprice = '0', `partition` = 'D', taxcard = '123456789123', commercialregistration = '1234', costcenter = '1', clinic = '1', workshop = '1', transport = '1', manufacturing = '1', masterCopy = '0' , dailyentrydate = '2020-04-18' ,updatefiledate = '2026-09-14',workerbetweenstores = '1',workshoptimeout = '24',drivertimeout = '3',currancy = 'جنيه',serial='57a85883346811cbf7076a51c5bd887a2e96bf2df777a95668d34a3537aceedfe3f238b684c96d789642405e6f69293dbb311716d957a5ac40fe5570cf297eaf',allowdateedit = '0', clientcode = '1' ,clientserial = '1',timezone = 'Africa/Cairo' , expiredate ='1' , production ='1' , description='1' , service ='0' , 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',syncstructure = '1',showPrevPrices = '0',isOpticProg='1',reportsPlusHours = '2' , showM5zon = '1',restaurantStoreId = '1',restuarantPrintTimeout = '8',sumSameProductForStore = '0', editAllPrice = '0', isCafe = '0' ,isRestaurent = '0' ,productDays = '0',thereIsRestTax = '0',restTaxVal = '0',restPrintLang = '0',taxNameFlag = '0',parcodeDigits = '5' ,specializedParcodeDigits = '7', clientDefaultDebtLimit = '10000' , clientDefaultDebtLimitControl = '0',usedParcode = '1' ,productbycodeimage = '' ,commentClient='تعليق على العميل ',Inventoryevaluation='last_discount',Profitevaluation='last_discount' , delivery='0',premiums = '1',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 = ',0,0,0,',earlyrepayment = '0',visaPay = '0',headerPrint='38e56bc84e0c8adff190ee376e986bbd.png',headerPrintSand='',printSand='0',makeDailyEntry='1',clientShowTawla='0',billRest='1',suppIsClientToo='0',isCarBill='0',expensesproduct='1',projectshownew='1',showparcode='0',changeBuyPriceChangeSellInBuyBillCtrl = '0',changeBuyPriceChangeSellInProductCtrl = '0',inventoryvaluation = '1',showBillCollectionSearch='0',incomeclient='1',showserial='1',editservice='1',showCurrency='0',qrerp='1',valueadded='0',qrcodesh='0',printfoot='',sellorder='0',numberprint='0',valueaddedbuy='0',simpleAddClientInBill='0',licenseNo='',maintenance='0',showPrevDiscount='0',vatvalueqr='0.13043479',imgprinthide='0',parcodeprinttype = 'C128A',parcodeprintwidth='160',parcodeprinttextsize='14',parcodeprintCurr='L.E',sizecolorDigits='3',searchBarcodeInBill='0',allowMobileLogin='0',lanAllowType='0',wanAllowType='0',sendBillToRestaurant='0',obgyPharmacyGroups='',updateProUnitPricesOnPriceUpdate='0',ebill='0',valueaddeddiscount='0',clientdetail='1',showPrevPricesRet='0',showPrevDiscountRet='0',eunitInTax='',showStoreToDetail='0',showBuyPriceAtProductddl='0',specialexpenses='1',ratioshow='0',defaultUnitPriceAtBill='0',rulers='0',quantitynew='0',showBillOperationSearch='0',obygyFolder='',clientsell='0',
                preorderperiod='0',useListPrice='0',ebillclient='0',importproduct='0',realestateunits='0',expensesupplier='0',changeOrderproduct='0',searchlimit='0',typebill='',roundnumbersbilltotal='0',noOfDecimalPlacesBillTotal='0',dailyEntryCostprice='last_discount',storeRecieveType='0',clientPhoneReq='0',addServiceToBill='0',realestatedev='1',showprice4='0',showprice5='0',showprice6='0',showprice7='0',showprice8='0',showpriceall='1',showpricehalf='1',showpriceunit='1',showbillstatus='0',showbilldeliverydate='0',enablequantityfractions='0',addclienttoproduct='0',closingcustomeraccount='0',serial2='',
                shownameE='0',showprocode='0',showpartnumber='0',showtype='0',showcompany='0',showweight='0',showorigin='0',showhscode='0',showexpire='0',showgrantduration='0',showonline='0',showminappear='0',showonlinecat='0',showsellpercentage='0',showbuydiscount='0',preparingStore='1',sellordername='0',showsearchfilter='0',unitPriceAtsalesreport='0',medExCat='0',laterNakdiClientId='0',headerPrint12Right='',headerPrint12Left='',halfPriceStart='0',allPriceStart='0',checkretsellclient='1',webApiId='0',noBillEditTillPay='0',showDataOfficialContract='0',showprice9='0',showprice10='0',showprice11='0',showprice12='0',showprice13='0',serial3='9aad922c8dc25742295df2779fde48ab62230719d569b9aa71bf6d5e0e08471c7dbda60d508155af60894a0ba3bbd86ffbee699027a409bcd9ca11e28a846cc5',associatedtags='0',commentClientChasis='0',dollarExType='64',saudielectronicinvoice='0',saudielectronicinvoclient='0',productDiscount='0'
                ,reviewRecords='',reviewRecordsLastDate='0000-00-00',showepayrestaurant='0',showSellAllPriceInStoreDetail='0' WHERE programsettingsid = '1';
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:58:01";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:28:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('programsettingsController.php', '2026-09-14 14:28:06', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/programsettingsController.php'); -- id=413
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:58:47";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:58:51";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:28:51", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 14:28:51', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=414
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 10:58:53";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 14:28:53', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=415
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 10:59:58";
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:28:56";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:28:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:58:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 14:58:59', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=416
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 11:29:00";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 14:59:01', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=417
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:29:04";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:59:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 14:59:04', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=418
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:29:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 14:59:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 14:59:08', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=2'); -- id=419
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:38:43";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:38:47";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:08:47", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 15:08:47', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=420
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 11:38:48";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 15:08:48', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=421
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:38:53";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:08:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 15:08:53', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=422
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 11:39:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:09:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 15:09:09', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=423
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:19:55";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:20:01";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:50:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 15:50:01', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=424
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 12:20:05";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 15:50:05', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=425
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:20:08";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:50:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 15:50:09', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=426
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:28:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:58:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 15:58:40', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=427
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه خرطوم 16 ملي مصطفي محمود 4 كيلو احمر','','12','312','320','328','320','2026-09-14','0','1','20','','0','0','0','0','0','312','312','312','312','312','0','2.56','2.56','5.13','.','0','0','0','312','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','312','312','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','312','0','0','0','0','0','0','','','0','0','0','0'); -- id=70
UPDATE product SET productName = 'لفه خرطوم 16 ملي مصطفي محمود 4 كيلو احمر', productDescription = '', productCatId = '12', productBuyPrice = '312', productSellAllPrice = '320', productSellUnitPrice = '328', productSellHalfPrice = '320', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00070',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '312',lastbuyprice_withDiscount = '312',meanbuyprice = '312',meanbuyprice_withDiscount = '312' , productbuypricereal = '312' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='312',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='312',meanbuyprice_withTax='312',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='312',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '70';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '70', '1.00', '2026-09-14', '1', '0','0007001','320','320','328','312','','0','0','0','0','0','0','0','0','0','0'); -- id=70
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('70', '1', '75', '1', '2026-09-14'); -- id=70
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('70', '1', '75', '0', '70', 'إضافة منتج', 'productController.php', '0', '75', '1', '2026-09-14','0','0'); -- id=82
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (70, 1,'2026-09-14 15:58:42',1)
                ON DUPLICATE KEY UPDATE productid = 70, edited = 1, sysdate = '2026-09-14 15:58:42', userid = 1; -- id=74
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '23400', '23400', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:42','إضافة منتج لفه خرطوم 16 ملي مصطفي محمود 4 كيلو احمر الكمية 75','1','0','0','0','70','productController.php?do=edit&id=70'); -- id=82
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('82', '382', '23400', '','0'); -- id=82
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '718906.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('82', '121', '23400', '','0'); -- id=82
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-140190.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لفه خرطوم 16 ملي مصطفي محمود 4 كيلو احمر', productDescription = '', productCatId = '12', productBuyPrice = '312.00', productSellAllPrice = '320.00', productSellUnitPrice = '328.00', productSellHalfPrice = '320.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00070',type ='0', expireDate = '0' , dailyentryId = '82',isService = '0',isOptic = '0',lastbuyprice = '312',lastbuyprice_withDiscount = '312',meanbuyprice = '312',meanbuyprice_withDiscount = '312' , productbuypricereal = '312' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='312',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='312',meanbuyprice_withTax='312',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='312',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '70';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اصفر','','12','312','320','328','320','2026-09-14','0','1','5','','0','0','0','0','0','312','312','312','312','312','0','2.56','2.56','5.13','.','0','0','0','312','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','312','312','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','312','0','0','0','0','0','0','','','0','0','0','0'); -- id=71
UPDATE product SET productName = 'لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اصفر', productDescription = '', productCatId = '12', productBuyPrice = '312', productSellAllPrice = '320', productSellUnitPrice = '328', productSellHalfPrice = '320', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '5', parcode = '00071',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '312',lastbuyprice_withDiscount = '312',meanbuyprice = '312',meanbuyprice_withDiscount = '312' , productbuypricereal = '312' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='312',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='312',meanbuyprice_withTax='312',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='312',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '71';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '71', '1.00', '2026-09-14', '1', '0','0007101','320','320','328','312','','0','0','0','0','0','0','0','0','0','0'); -- id=71
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('71', '1', '11', '1', '2026-09-14'); -- id=71
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('71', '1', '11', '0', '71', 'إضافة منتج', 'productController.php', '0', '11', '1', '2026-09-14','0','0'); -- id=83
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (71, 1,'2026-09-14 15:58:44',1)
                ON DUPLICATE KEY UPDATE productid = 71, edited = 1, sysdate = '2026-09-14 15:58:44', userid = 1; -- id=75
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3432', '3432', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:44','إضافة منتج لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اصفر الكمية 11','1','0','0','0','71','productController.php?do=edit&id=71'); -- id=83
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('83', '382', '3432', '','0'); -- id=83
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '722338.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('83', '121', '3432', '','0'); -- id=83
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-136758.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اصفر', productDescription = '', productCatId = '12', productBuyPrice = '312.00', productSellAllPrice = '320.00', productSellUnitPrice = '328.00', productSellHalfPrice = '320.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '5', parcode = '00071',type ='0', expireDate = '0' , dailyentryId = '83',isService = '0',isOptic = '0',lastbuyprice = '312',lastbuyprice_withDiscount = '312',meanbuyprice = '312',meanbuyprice_withDiscount = '312' , productbuypricereal = '312' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='312',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='312',meanbuyprice_withTax='312',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='312',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '71';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اخضر','','12','312','320','3285','320','2026-09-14','0','1','0','','0','0','0','0','0','312','312','312','312','312','0','2.56','2.56','952.88','.','0','0','0','312','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','312','312','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','312','0','0','0','0','0','0','','','0','0','0','0'); -- id=72
UPDATE product SET productName = 'لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اخضر', productDescription = '', productCatId = '12', productBuyPrice = '312', productSellAllPrice = '320', productSellUnitPrice = '3285', productSellHalfPrice = '320', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00072',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '312',lastbuyprice_withDiscount = '312',meanbuyprice = '312',meanbuyprice_withDiscount = '312' , productbuypricereal = '312' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '952.88',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='312',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='312',meanbuyprice_withTax='312',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='312',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '72';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '72', '1.00', '2026-09-14', '1', '0','0007201','320','320','3285','312','','0','0','0','0','0','0','0','0','0','0'); -- id=72
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('72', '1', '5', '1', '2026-09-14'); -- id=72
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('72', '1', '5', '0', '72', 'إضافة منتج', 'productController.php', '0', '5', '1', '2026-09-14','0','0'); -- id=84
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (72, 1,'2026-09-14 15:58:46',1)
                ON DUPLICATE KEY UPDATE productid = 72, edited = 1, sysdate = '2026-09-14 15:58:46', userid = 1; -- id=76
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1560', '1560', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:46','إضافة منتج لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اخضر الكمية 5','1','0','0','0','72','productController.php?do=edit&id=72'); -- id=84
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('84', '382', '1560', '','0'); -- id=84
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '723898.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('84', '121', '1560', '','0'); -- id=84
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-135198.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لفه خرطوم 16 ملي مصطفي محمود 4 كيلو اخضر', productDescription = '', productCatId = '12', productBuyPrice = '312.00', productSellAllPrice = '320.00', productSellUnitPrice = '3285.00', productSellHalfPrice = '320.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00072',type ='0', expireDate = '0' , dailyentryId = '84',isService = '0',isOptic = '0',lastbuyprice = '312',lastbuyprice_withDiscount = '312',meanbuyprice = '312',meanbuyprice_withDiscount = '312' , productbuypricereal = '312' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '952.88',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='312',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='312',meanbuyprice_withTax='312',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='312',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '72';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه خرطوم 23 ملي مصطفي محمود 5 كيلو','','12','390','400','410','400','2026-09-14','0','1','5','','0','0','0','0','0','390','390','390','390','390','0','2.56','2.56','5.13','.','0','0','0','390','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','390','390','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','390','0','0','0','0','0','0','','','0','0','0','0'); -- id=73
UPDATE product SET productName = 'لفه خرطوم 23 ملي مصطفي محمود 5 كيلو', productDescription = '', productCatId = '12', productBuyPrice = '390', productSellAllPrice = '400', productSellUnitPrice = '410', productSellHalfPrice = '400', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '5', parcode = '00073',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '390',lastbuyprice_withDiscount = '390',meanbuyprice = '390',meanbuyprice_withDiscount = '390' , productbuypricereal = '390' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='390',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='390',meanbuyprice_withTax='390',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='390',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '73';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '73', '1.00', '2026-09-14', '1', '0','0007301','400','400','410','390','','0','0','0','0','0','0','0','0','0','0'); -- id=73
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('73', '1', '13', '1', '2026-09-14'); -- id=73
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('73', '1', '13', '0', '73', 'إضافة منتج', 'productController.php', '0', '13', '1', '2026-09-14','0','0'); -- id=85
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (73, 1,'2026-09-14 15:58:48',1)
                ON DUPLICATE KEY UPDATE productid = 73, edited = 1, sysdate = '2026-09-14 15:58:48', userid = 1; -- id=77
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5070', '5070', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:48','إضافة منتج لفه خرطوم 23 ملي مصطفي محمود 5 كيلو الكمية 13','1','0','0','0','73','productController.php?do=edit&id=73'); -- id=85
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('85', '382', '5070', '','0'); -- id=85
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '728968.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('85', '121', '5070', '','0'); -- id=85
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-130128.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لفه خرطوم 23 ملي مصطفي محمود 5 كيلو', productDescription = '', productCatId = '12', productBuyPrice = '390.00', productSellAllPrice = '400.00', productSellUnitPrice = '410.00', productSellHalfPrice = '400.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '5', parcode = '00073',type ='0', expireDate = '0' , dailyentryId = '85',isService = '0',isOptic = '0',lastbuyprice = '390',lastbuyprice_withDiscount = '390',meanbuyprice = '390',meanbuyprice_withDiscount = '390' , productbuypricereal = '390' , buypricereal_precentage = '0' , buytotal_precentage = '2.56' , buyhalf_precentage = '2.56' , buypart_precentage = '5.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='390',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='390',meanbuyprice_withTax='390',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='390',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '73';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('علبه 4 مخرج اصلي ','','12','2.75','2.85','2.95','2.85','2026-09-14','0','1','200','','0','0','0','0','0','2.75','2.75','2.75','2.75','2.75','0','3.64','3.64','7.27','.','0','0','0','2.75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','2.75','2.75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','2.75','0','0','0','0','0','0','','','0','0','0','0'); -- id=74
UPDATE product SET productName = 'علبه 4 مخرج اصلي ', productDescription = '', productCatId = '12', productBuyPrice = '2.75', productSellAllPrice = '2.85', productSellUnitPrice = '2.95', productSellHalfPrice = '2.85', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '200', parcode = '00074',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '2.75',lastbuyprice_withDiscount = '2.75',meanbuyprice = '2.75',meanbuyprice_withDiscount = '2.75' , productbuypricereal = '2.75' , buypricereal_precentage = '0' , buytotal_precentage = '3.64' , buyhalf_precentage = '3.64' , buypart_precentage = '7.27',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='2.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='2.75',meanbuyprice_withTax='2.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='2.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '74';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '74', '1.00', '2026-09-14', '1', '0','0007401','2.85','2.85','2.95','2.75','','0','0','0','0','0','0','0','0','0','0'); -- id=74
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('74', '1', '500', '1', '2026-09-14'); -- id=74
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('74', '1', '500', '0', '74', 'إضافة منتج', 'productController.php', '0', '500', '1', '2026-09-14','0','0'); -- id=86
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (74, 1,'2026-09-14 15:58:50',1)
                ON DUPLICATE KEY UPDATE productid = 74, edited = 1, sysdate = '2026-09-14 15:58:50', userid = 1; -- id=78
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1375', '1375', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:50','إضافة منتج علبه 4 مخرج اصلي  الكمية 500','1','0','0','0','74','productController.php?do=edit&id=74'); -- id=86
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('86', '382', '1375', '','0'); -- id=86
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '730343.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('86', '121', '1375', '','0'); -- id=86
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-128753.23', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'علبه 4 مخرج اصلي ', productDescription = '', productCatId = '12', productBuyPrice = '2.75', productSellAllPrice = '2.85', productSellUnitPrice = '2.95', productSellHalfPrice = '2.85', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '200', parcode = '00074',type ='0', expireDate = '0' , dailyentryId = '86',isService = '0',isOptic = '0',lastbuyprice = '2.75',lastbuyprice_withDiscount = '2.75',meanbuyprice = '2.75',meanbuyprice_withDiscount = '2.75' , productbuypricereal = '2.75' , buypricereal_precentage = '0' , buytotal_precentage = '3.64' , buyhalf_precentage = '3.64' , buypart_precentage = '7.27',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='2.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='2.75',meanbuyprice_withTax='2.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='2.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '74';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('خابور بلاستيك ','','12','1.75','1.9','1.95','1.9','2026-09-14','0','1','250','','0','0','0','0','0','1.75','1.75','1.75','1.75','1.75','0','8.57','8.57','11.43','.','0','0','0','1.75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','1.75','1.75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','1.75','0','0','0','0','0','0','','','0','0','0','0'); -- id=75
UPDATE product SET productName = 'خابور بلاستيك ', productDescription = '', productCatId = '12', productBuyPrice = '1.75', productSellAllPrice = '1.9', productSellUnitPrice = '1.95', productSellHalfPrice = '1.9', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '250', parcode = '00075',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '1.75',lastbuyprice_withDiscount = '1.75',meanbuyprice = '1.75',meanbuyprice_withDiscount = '1.75' , productbuypricereal = '1.75' , buypricereal_precentage = '0' , buytotal_precentage = '8.57' , buyhalf_precentage = '8.57' , buypart_precentage = '11.43',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='1.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='1.75',meanbuyprice_withTax='1.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='1.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '75';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '75', '1.00', '2026-09-14', '1', '0','0007501','1.9','1.9','1.95','1.75','','0','0','0','0','0','0','0','0','0','0'); -- id=75
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('75', '1', '650', '1', '2026-09-14'); -- id=75
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('75', '1', '650', '0', '75', 'إضافة منتج', 'productController.php', '0', '650', '1', '2026-09-14','0','0'); -- id=87
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (75, 1,'2026-09-14 15:58:53',1)
                ON DUPLICATE KEY UPDATE productid = 75, edited = 1, sysdate = '2026-09-14 15:58:53', userid = 1; -- id=79
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1137.5', '1137.5', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:53','إضافة منتج خابور بلاستيك  الكمية 650','1','0','0','0','75','productController.php?do=edit&id=75'); -- id=87
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('87', '382', '1137.5', '','0'); -- id=87
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '731480.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('87', '121', '1137.5', '','0'); -- id=87
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-127615.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'خابور بلاستيك ', productDescription = '', productCatId = '12', productBuyPrice = '1.75', productSellAllPrice = '1.90', productSellUnitPrice = '1.95', productSellHalfPrice = '1.90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '250', parcode = '00075',type ='0', expireDate = '0' , dailyentryId = '87',isService = '0',isOptic = '0',lastbuyprice = '1.75',lastbuyprice_withDiscount = '1.75',meanbuyprice = '1.75',meanbuyprice_withDiscount = '1.75' , productbuypricereal = '1.75' , buypricereal_precentage = '0' , buytotal_precentage = '8.57' , buyhalf_precentage = '8.57' , buypart_precentage = '11.43',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='1.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='1.75',meanbuyprice_withTax='1.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='1.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '75';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('علبه اسبوط 4 مخرج اسمر ','','12','4.25','4.5','4.75','4.5','2026-09-14','0','1','20','','0','0','0','0','0','4.25','4.25','4.25','4.25','4.25','0','5.88','5.88','11.76','.','0','0','0','4.25','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','4.25','4.25','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','4.25','0','0','0','0','0','0','','','0','0','0','0'); -- id=76
UPDATE product SET productName = 'علبه اسبوط 4 مخرج اسمر ', productDescription = '', productCatId = '12', productBuyPrice = '4.25', productSellAllPrice = '4.5', productSellUnitPrice = '4.75', productSellHalfPrice = '4.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00076',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '4.25',lastbuyprice_withDiscount = '4.25',meanbuyprice = '4.25',meanbuyprice_withDiscount = '4.25' , productbuypricereal = '4.25' , buypricereal_precentage = '0' , buytotal_precentage = '5.88' , buyhalf_precentage = '5.88' , buypart_precentage = '11.76',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4.25',meanbuyprice_withTax='4.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '76';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '76', '1.00', '2026-09-14', '1', '0','0007601','4.5','4.5','4.75','4.25','','0','0','0','0','0','0','0','0','0','0'); -- id=76
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('76', '1', '120', '1', '2026-09-14'); -- id=76
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('76', '1', '120', '0', '76', 'إضافة منتج', 'productController.php', '0', '120', '1', '2026-09-14','0','0'); -- id=88
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (76, 1,'2026-09-14 15:58:55',1)
                ON DUPLICATE KEY UPDATE productid = 76, edited = 1, sysdate = '2026-09-14 15:58:55', userid = 1; -- id=80
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '510', '510', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:55','إضافة منتج علبه اسبوط 4 مخرج اسمر  الكمية 120','1','0','0','0','76','productController.php?do=edit&id=76'); -- id=88
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('88', '382', '510', '','0'); -- id=88
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '731990.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('88', '121', '510', '','0'); -- id=88
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-127105.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'علبه اسبوط 4 مخرج اسمر ', productDescription = '', productCatId = '12', productBuyPrice = '4.25', productSellAllPrice = '4.50', productSellUnitPrice = '4.75', productSellHalfPrice = '4.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00076',type ='0', expireDate = '0' , dailyentryId = '88',isService = '0',isOptic = '0',lastbuyprice = '4.25',lastbuyprice_withDiscount = '4.25',meanbuyprice = '4.25',meanbuyprice_withDiscount = '4.25' , productbuypricereal = '4.25' , buypricereal_precentage = '0' , buytotal_precentage = '5.88' , buyhalf_precentage = '5.88' , buypart_precentage = '11.76',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4.25',meanbuyprice_withTax='4.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '76';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('كيلو مسمار سناره 3و5 سنتي ','','12','55','60','60','60','2026-09-14','0','1','0','','0','0','0','0','0','55','55','55','55','55','0','9.09','9.09','9.09','.','0','0','0','55','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','55','55','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','55','0','0','0','0','0','0','','','0','0','0','0'); -- id=77
UPDATE product SET productName = 'كيلو مسمار سناره 3و5 سنتي ', productDescription = '', productCatId = '12', productBuyPrice = '55', productSellAllPrice = '60', productSellUnitPrice = '60', productSellHalfPrice = '60', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00077',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '55',lastbuyprice_withDiscount = '55',meanbuyprice = '55',meanbuyprice_withDiscount = '55' , productbuypricereal = '55' , buypricereal_precentage = '0' , buytotal_precentage = '9.09' , buyhalf_precentage = '9.09' , buypart_precentage = '9.09',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='55',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='55',meanbuyprice_withTax='55',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='55',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '77';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '77', '1.00', '2026-09-14', '1', '0','0007701','60','60','60','55','','0','0','0','0','0','0','0','0','0','0'); -- id=77
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('77', '1', '6', '1', '2026-09-14'); -- id=77
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('77', '1', '6', '0', '77', 'إضافة منتج', 'productController.php', '0', '6', '1', '2026-09-14','0','0'); -- id=89
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (77, 1,'2026-09-14 15:58:57',1)
                ON DUPLICATE KEY UPDATE productid = 77, edited = 1, sysdate = '2026-09-14 15:58:57', userid = 1; -- id=81
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '330', '330', '2026-09-14', '1', '0', '0', '2026-09-14 15:58:57','إضافة منتج كيلو مسمار سناره 3و5 سنتي  الكمية 6','1','0','0','0','77','productController.php?do=edit&id=77'); -- id=89
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('89', '382', '330', '','0'); -- id=89
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '732320.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('89', '121', '330', '','0'); -- id=89
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-126775.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'كيلو مسمار سناره 3و5 سنتي ', productDescription = '', productCatId = '12', productBuyPrice = '55.00', productSellAllPrice = '60.00', productSellUnitPrice = '60.00', productSellHalfPrice = '60.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00077',type ='0', expireDate = '0' , dailyentryId = '89',isService = '0',isOptic = '0',lastbuyprice = '55',lastbuyprice_withDiscount = '55',meanbuyprice = '55',meanbuyprice_withDiscount = '55' , productbuypricereal = '55' , buypricereal_precentage = '0' , buytotal_precentage = '9.09' , buyhalf_precentage = '9.09' , buypart_precentage = '9.09',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='55',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='55',meanbuyprice_withTax='55',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='55',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '77';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:28:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 15:58:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 15:58:59', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=428
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:33:08";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:03:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 16:03:09', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php'); -- id=429
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:33:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:03:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 16:03:20', '1', 'add2', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=add2'); -- id=430
INSERT INTO productcat (productCatName, productCatDate, productCatDescription, productCatParent, userId, conditions, selldiscount, buydiscount, discounttype,isOptic , buytotal , buyhalf , buypart ,buypricereal,opticServices,logo,inMenu,stopNegativeSale,catExcelid,webApiId,obygyInvestigationCatId,price4,price5,price6,price7,price8,price9,price10,price11,price12,price13) VALUES ('لوسيد','2026-09-14','','0', '1','0', '0', '0', '-1', '0', '0', '0', '0','0','','.','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); -- id=22
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (22, 1,'2026-09-14 16:03:20',1)
                ON DUPLICATE KEY UPDATE catid = 22, edited = 1, sysdate = '2026-09-14 16:03:20', userid = 1; -- id=22
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:33:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:03:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 16:03:20', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=431
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:33:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:03:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 16:03:22', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=432
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:33:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:03:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:03:23', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=433
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:35:00";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:05:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:05:01', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=434
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('ابليك اب داون ثلاثي','','22','45','48','49','49','2026-09-14','0','1','0','','0','0','0','0','0','45','45','45','45','45','0','6.67','8.89','8.89','.','0','0','0','45','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','45','45','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','45','0','0','0','0','0','0','','','0','0','0','0'); -- id=78
UPDATE product SET productName = 'ابليك اب داون ثلاثي', productDescription = '', productCatId = '22', productBuyPrice = '45', productSellAllPrice = '48', productSellUnitPrice = '49', productSellHalfPrice = '49', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00078',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '45',lastbuyprice_withDiscount = '45',meanbuyprice = '45',meanbuyprice_withDiscount = '45' , productbuypricereal = '45' , buypricereal_precentage = '0' , buytotal_precentage = '6.67' , buyhalf_precentage = '8.89' , buypart_precentage = '8.89',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='45',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='45',meanbuyprice_withTax='45',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='45',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '78';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '78', '1', '2026-09-14', '1', '0','0007801','48','49','49','45','','0','0','0','0','0','0','0','0','0','0'); -- id=78
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('78', '1', '22', '1', '2026-09-14'); -- id=78
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('78', '1', '22', '0', '78', 'إضافة منتج', 'productController.php', '0', '22', '1', '2026-09-14','0','0'); -- id=90
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (78, 1,'2026-09-14 16:05:02',1)
                ON DUPLICATE KEY UPDATE productid = 78, edited = 1, sysdate = '2026-09-14 16:05:02', userid = 1; -- id=82
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '990', '990', '2026-09-14', '1', '0', '0', '2026-09-14 16:05:02','إضافة منتج ابليك اب داون ثلاثي الكمية 22','1','0','0','0','78','productController.php?do=edit&id=78'); -- id=90
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('90', '382', '990', '','0'); -- id=90
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '733310.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('90', '121', '990', '','0'); -- id=90
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-125785.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'ابليك اب داون ثلاثي', productDescription = '', productCatId = '22', productBuyPrice = '45.00', productSellAllPrice = '48.00', productSellUnitPrice = '49.00', productSellHalfPrice = '49.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00078',type ='0', expireDate = '0' , dailyentryId = '90',isService = '0',isOptic = '0',lastbuyprice = '45',lastbuyprice_withDiscount = '45',meanbuyprice = '45',meanbuyprice_withDiscount = '45' , productbuypricereal = '45' , buypricereal_precentage = '0' , buytotal_precentage = '6.67' , buyhalf_precentage = '8.89' , buypart_precentage = '8.89',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='45',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='45',meanbuyprice_withTax='45',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='45',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '78';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('ابليك اب داون ثنائي','','22','35','38','39','39','2026-09-14','0','1','0','','0','0','0','0','0','35','35','35','35','35','0','8.57','11.43','11.43','.','0','0','0','35','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','35','35','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','35','0','0','0','0','0','0','','','0','0','0','0'); -- id=79
UPDATE product SET productName = 'ابليك اب داون ثنائي', productDescription = '', productCatId = '22', productBuyPrice = '35', productSellAllPrice = '38', productSellUnitPrice = '39', productSellHalfPrice = '39', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00079',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '35',lastbuyprice_withDiscount = '35',meanbuyprice = '35',meanbuyprice_withDiscount = '35' , productbuypricereal = '35' , buypricereal_precentage = '0' , buytotal_precentage = '8.57' , buyhalf_precentage = '11.43' , buypart_precentage = '11.43',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='35',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='35',meanbuyprice_withTax='35',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='35',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '79';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '79', '1', '2026-09-14', '1', '0','0007901','38','39','39','35','','0','0','0','0','0','0','0','0','0','0'); -- id=79
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('79', '1', '20', '1', '2026-09-14'); -- id=79
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('79', '1', '20', '0', '79', 'إضافة منتج', 'productController.php', '0', '20', '1', '2026-09-14','0','0'); -- id=91
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (79, 1,'2026-09-14 16:05:04',1)
                ON DUPLICATE KEY UPDATE productid = 79, edited = 1, sysdate = '2026-09-14 16:05:04', userid = 1; -- id=83
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '700', '700', '2026-09-14', '1', '0', '0', '2026-09-14 16:05:04','إضافة منتج ابليك اب داون ثنائي الكمية 20','1','0','0','0','79','productController.php?do=edit&id=79'); -- id=91
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('91', '382', '700', '','0'); -- id=91
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '734010.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('91', '121', '700', '','0'); -- id=91
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-125085.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'ابليك اب داون ثنائي', productDescription = '', productCatId = '22', productBuyPrice = '35.00', productSellAllPrice = '38.00', productSellUnitPrice = '39.00', productSellHalfPrice = '39.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00079',type ='0', expireDate = '0' , dailyentryId = '91',isService = '0',isOptic = '0',lastbuyprice = '35',lastbuyprice_withDiscount = '35',meanbuyprice = '35',meanbuyprice_withDiscount = '35' , productbuypricereal = '35' , buypricereal_precentage = '0' , buytotal_precentage = '8.57' , buyhalf_precentage = '11.43' , buypart_precentage = '11.43',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='35',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='35',meanbuyprice_withTax='35',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='35',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '79';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:35:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:05:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:05:07', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=435
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:35:08";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:05:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:05:08', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=436
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:37:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:07:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:07:39', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=437
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('كيلو سن صاج اسمر ','','14','82','85','95','85','2026-09-14','0','1','0','','0','0','0','0','0','82','82','82','82','82','0','3.66','3.66','15.85','.','0','0','0','82','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','82','82','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','82','0','0','0','0','0','0','','','0','0','0','0'); -- id=80
UPDATE product SET productName = 'كيلو سن صاج اسمر ', productDescription = '', productCatId = '14', productBuyPrice = '82', productSellAllPrice = '85', productSellUnitPrice = '95', productSellHalfPrice = '85', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00080',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '82',lastbuyprice_withDiscount = '82',meanbuyprice = '82',meanbuyprice_withDiscount = '82' , productbuypricereal = '82' , buypricereal_precentage = '0' , buytotal_precentage = '3.66' , buyhalf_precentage = '3.66' , buypart_precentage = '15.85',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='82',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='82',meanbuyprice_withTax='82',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='82',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '80';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '80', '1', '2026-09-14', '1', '0','0008001','85','85','95','82','','0','0','0','0','0','0','0','0','0','0'); -- id=80
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('80', '1', '10', '1', '2026-09-14'); -- id=80
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('80', '1', '10', '0', '80', 'إضافة منتج', 'productController.php', '0', '10', '1', '2026-09-14','0','0'); -- id=92
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (80, 1,'2026-09-14 16:07:41',1)
                ON DUPLICATE KEY UPDATE productid = 80, edited = 1, sysdate = '2026-09-14 16:07:41', userid = 1; -- id=84
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '820', '820', '2026-09-14', '1', '0', '0', '2026-09-14 16:07:41','إضافة منتج كيلو سن صاج اسمر  الكمية 10','1','0','0','0','80','productController.php?do=edit&id=80'); -- id=92
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('92', '382', '820', '','0'); -- id=92
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '734830.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('92', '121', '820', '','0'); -- id=92
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-124265.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'كيلو سن صاج اسمر ', productDescription = '', productCatId = '14', productBuyPrice = '82.00', productSellAllPrice = '85.00', productSellUnitPrice = '95.00', productSellHalfPrice = '85.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00080',type ='0', expireDate = '0' , dailyentryId = '92',isService = '0',isOptic = '0',lastbuyprice = '82',lastbuyprice_withDiscount = '82',meanbuyprice = '82',meanbuyprice_withDiscount = '82' , productbuypricereal = '82' , buypricereal_precentage = '0' , buytotal_precentage = '3.66' , buyhalf_precentage = '3.66' , buypart_precentage = '15.85',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='82',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='82',meanbuyprice_withTax='82',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='82',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '80';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شريط لحام 20 متر افينا ','','14','18','18.5','19','18.5','2026-09-14','0','1','0','','0','0','0','0','0','18','18','18','18','18','0','2.78','2.78','5.56','.','0','0','0','18','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','18','18','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','18','0','0','0','0','0','0','','','0','0','0','0'); -- id=81
UPDATE product SET productName = 'شريط لحام 20 متر افينا ', productDescription = '', productCatId = '14', productBuyPrice = '18', productSellAllPrice = '18.5', productSellUnitPrice = '19', productSellHalfPrice = '18.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00081',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '18',lastbuyprice_withDiscount = '18',meanbuyprice = '18',meanbuyprice_withDiscount = '18' , productbuypricereal = '18' , buypricereal_precentage = '0' , buytotal_precentage = '2.78' , buyhalf_precentage = '2.78' , buypart_precentage = '5.56',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='18',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='18',meanbuyprice_withTax='18',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='18',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '81';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '81', '1', '2026-09-14', '1', '0','0008101','18.5','18.5','19','18','','0','0','0','0','0','0','0','0','0','0'); -- id=81
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('81', '1', '650', '1', '2026-09-14'); -- id=81
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('81', '1', '650', '0', '81', 'إضافة منتج', 'productController.php', '0', '650', '1', '2026-09-14','0','0'); -- id=93
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (81, 1,'2026-09-14 16:07:43',1)
                ON DUPLICATE KEY UPDATE productid = 81, edited = 1, sysdate = '2026-09-14 16:07:43', userid = 1; -- id=85
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '11700', '11700', '2026-09-14', '1', '0', '0', '2026-09-14 16:07:43','إضافة منتج شريط لحام 20 متر افينا  الكمية 650','1','0','0','0','81','productController.php?do=edit&id=81'); -- id=93
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('93', '382', '11700', '','0'); -- id=93
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '746530.98', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('93', '121', '11700', '','0'); -- id=93
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-112565.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شريط لحام 20 متر افينا ', productDescription = '', productCatId = '14', productBuyPrice = '18.00', productSellAllPrice = '18.50', productSellUnitPrice = '19.00', productSellHalfPrice = '18.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00081',type ='0', expireDate = '0' , dailyentryId = '93',isService = '0',isOptic = '0',lastbuyprice = '18',lastbuyprice_withDiscount = '18',meanbuyprice = '18',meanbuyprice_withDiscount = '18' , productbuypricereal = '18' , buypricereal_precentage = '0' , buytotal_precentage = '2.78' , buyhalf_precentage = '2.78' , buypart_precentage = '5.56',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='18',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='18',meanbuyprice_withTax='18',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='18',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '81';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:37:45";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:07:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:07:46', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=438
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:37:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:07:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:07:49', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=439
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:40:02";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:10:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:10:02', '1', 'addAndRetuen', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addAndRetuen'); -- id=440

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 06aa7ffb69a7a8
-- ----------------------------------------------------------------------------------------------------

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,qrerpid,qrerpids,autoSaveFlag,ereason,estatus,epdf,obgyBillType,billoperationid,datestarting,pricetype,currencyId,knownwayId,travelDriverId,travelBusId,travelPathId,travelTripId,travelTripTypeId,travelTripDateId,totalprodiscount,manage_ex,med_hallmark,pay_rec_no,pay_rec_val,decisionNo,decisionValue,sellToSupplier,supplierbuybillid,sellbilltypeclientid,shipfrom,shipto,paymethodshipping,whatShippingCost,clientaddress,tagids,obgyRefDoc,addressid,couponid,paymenttypeid,paymentdetails) VALUES ('2026-09-14 16:10:03', '06aa7ffb69a7a8', '1', '0.00', '0', '0', '1', '2119.00', '2119', '2119', '0', '1', '2026-09-14 16:10:03', '', '1', '0', 'نقدي', '1', '0', '3', '0', 'نقدي', '46.25' ,'0','','','','','-1','0','0','0','0','0','2119','0','','0','0','2119','0','0','0','0','0','0','0','0','','','','0','','0','','0','-1','2026-09-14','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','','','0','0','0',''); -- id=3
UPDATE client SET  clientdebt = '0', userid = '1' 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,userSelectedDate,paySerialNo,totalpayments,tagids,file) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','3', '0', '2026-09-14 16:10:04', '1', 'sellbillController.php', 'اضافة فاتورة مبيعات', '2119', '0', null, '0', null, null,'', '0','1','1','0','1','2026-09-14 16:10:03','0','0','',''); -- id=5
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('312','00070', '3', '12', '70', '6', '328', '1968', '0', '', '1', '2026-09-14 16:10:04', '70', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','328','1968','0','','0','0.00','0','0','0','0'); -- id=10
UPDATE sellbilldetail SET  lastbuyprice = 312.00 , meanbuyprice = 312.00, lastbuyprice_withDiscount = 312.00, meanbuyprice_withDiscount = 312.00
        , lastbuyprice_withTax = 312, meanbuyprice_withTax = 312, lastbuyprice_withDiscountAndTax = 312
                where sellbilldetailid = 10;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (70, '2026-09-14', 1968, 1872, 1872
                    , 1872, 1872, 1872, 1872
                    , 0, 0, 0, 0
                    , 0, 0, 0, 6, 0, 1872, 1872, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1968, sellCostBuyPrice =sellCostBuyPrice+1872
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1872, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1872
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1872, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1872
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+1872
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+1872
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+1872
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+6
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 1968, 1872, 1872
                    , 1872, 1872, 1872, 1872
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1872, 1872, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1968, sellCostBuyPrice =sellCostBuyPrice+1872
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1872, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1872
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1872, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1872
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+1872
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+1872
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+1872
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '69', userid = '1', storedetaildate = '2026-09-14 16:10:04' WHERE storedetailid = '70';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('70', '1', '6', '1', '3', 'اضافة فاتورة مبيعات', 'sellbillController.php', '75', '69', '1', '2026-09-14 16:10:04','0','0'); -- id=94
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('55','00077', '3', '12', '77', '.25', '60', '15', '0', '', '1', '2026-09-14 16:10:04', '77', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','60','15','0','','0','0.00','0','0','0','0'); -- id=11
UPDATE sellbilldetail SET  lastbuyprice = 55.00 , meanbuyprice = 55.00, lastbuyprice_withDiscount = 55.00, meanbuyprice_withDiscount = 55.00
        , lastbuyprice_withTax = 55, meanbuyprice_withTax = 55, lastbuyprice_withDiscountAndTax = 55
                where sellbilldetailid = 11;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (77, '2026-09-14', 15, 13.75, 13.75
                    , 13.75, 13.75, 13.75, 13.75
                    , 0, 0, 0, 0
                    , 0, 0, 0, 0.25, 0, 13.75, 13.75, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+15, sellCostBuyPrice =sellCostBuyPrice+13.75
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+13.75, sellCostMeanBuyPrice = sellCostMeanBuyPrice+13.75
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+13.75, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+13.75
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+13.75
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+13.75
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+13.75
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+0.25
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 15, 13.75, 13.75
                    , 13.75, 13.75, 13.75, 13.75
                    , 0, 0, 0, 0
                    , 0, 0, 0, 13.75, 13.75, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+15, sellCostBuyPrice =sellCostBuyPrice+13.75
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+13.75, sellCostMeanBuyPrice = sellCostMeanBuyPrice+13.75
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+13.75, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+13.75
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+13.75
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+13.75
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+13.75
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '5.75', userid = '1', storedetaildate = '2026-09-14 16:10:04' WHERE storedetailid = '77';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('77', '1', '0.25', '1', '3', 'اضافة فاتورة مبيعات', 'sellbillController.php', '6', '5.75', '1', '2026-09-14 16:10:04','0','0'); -- id=95
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('2.75','00074', '3', '12', '74', '30', '2.95', '88.5', '0', '', '1', '2026-09-14 16:10:04', '74', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','2.95','88.5','0','','0','0.00','0','0','0','0'); -- id=12
UPDATE sellbilldetail SET  lastbuyprice = 2.75 , meanbuyprice = 2.75, lastbuyprice_withDiscount = 2.75, meanbuyprice_withDiscount = 2.75
        , lastbuyprice_withTax = 2.75, meanbuyprice_withTax = 2.75, lastbuyprice_withDiscountAndTax = 2.75
                where sellbilldetailid = 12;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (74, '2026-09-14', 88.5, 82.5, 82.5
                    , 82.5, 82.5, 82.5, 82.5
                    , 0, 0, 0, 0
                    , 0, 0, 0, 30, 0, 82.5, 82.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+88.5, sellCostBuyPrice =sellCostBuyPrice+82.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+82.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+82.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+82.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+82.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+82.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+82.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+82.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+30
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 88.5, 82.5, 82.5
                    , 82.5, 82.5, 82.5, 82.5
                    , 0, 0, 0, 0
                    , 0, 0, 0, 82.5, 82.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+88.5, sellCostBuyPrice =sellCostBuyPrice+82.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+82.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+82.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+82.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+82.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+82.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+82.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+82.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '470', userid = '1', storedetaildate = '2026-09-14 16:10:05' WHERE storedetailid = '74';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('74', '1', '30', '1', '3', 'اضافة فاتورة مبيعات', 'sellbillController.php', '500', '470', '1', '2026-09-14 16:10:05','0','0'); -- id=96
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('4.25','00076', '3', '12', '76', '10', '4.75', '47.5', '0', '', '1', '2026-09-14 16:10:05', '76', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','4.75','47.5','0','','0','0.00','0','0','0','0'); -- id=13
UPDATE sellbilldetail SET  lastbuyprice = 4.25 , meanbuyprice = 4.25, lastbuyprice_withDiscount = 4.25, meanbuyprice_withDiscount = 4.25
        , lastbuyprice_withTax = 4.25, meanbuyprice_withTax = 4.25, lastbuyprice_withDiscountAndTax = 4.25
                where sellbilldetailid = 13;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (76, '2026-09-14', 47.5, 42.5, 42.5
                    , 42.5, 42.5, 42.5, 42.5
                    , 0, 0, 0, 0
                    , 0, 0, 0, 10, 0, 42.5, 42.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+47.5, sellCostBuyPrice =sellCostBuyPrice+42.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+42.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+42.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+42.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+42.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+42.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+42.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+42.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+10
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 47.5, 42.5, 42.5
                    , 42.5, 42.5, 42.5, 42.5
                    , 0, 0, 0, 0
                    , 0, 0, 0, 42.5, 42.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+47.5, sellCostBuyPrice =sellCostBuyPrice+42.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+42.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+42.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+42.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+42.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+42.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+42.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+42.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '110', userid = '1', storedetaildate = '2026-09-14 16:10:05' WHERE storedetailid = '76';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('76', '1', '10', '1', '3', 'اضافة فاتورة مبيعات', 'sellbillController.php', '120', '110', '1', '2026-09-14 16:10:05','0','0'); -- id=97
CALL saveInUse(1,@saveidis,@savecurrentvalueis,@currencyIdis,@treeIdis,@conversionFactoris);
UPDATE save SET  savecurrentvalue = '-41672.3984375',  userid = '1' WHERE saveid = '1';
UPDATE save SET  inUse = 0 where saveid = 1;
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note,clientdebtchangeidfk) VALUES ('-43791.3984375','2119', '0', '1', 'اضافة فاتورة مبيعات', '3', '-41672.3984375', '2026-09-14 16:10:05', '1',  'sellbillController.php','1','','0'); -- id=6
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2119', '2119', '2026-09-14', '1', '0', '0', '2026-09-14 16:10:05','اضافة فاتورة مبيعات رقم 3','1','0',null,'0','3','sellbillController.php?do=showDetail&sellbillid=3'); -- id=94
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('94', '383', '2119', '','0'); -- id=94
UPDATE accountstree SET name = 'الخزنة الرئيسية', customName = 'الخزنة الرئيسية', customNameEn = 'الخزنة الرئيسية', nameEn = 'الخزنة الرئيسية', parent = '40', accountNature = '0', theValue = '-41672.4', theOrder = '0', layingOrder = '12010200002', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = 'Bank and Cash ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:28' WHERE id = '383';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('94', '143', '2119', '','0'); -- id=94
UPDATE accountstree SET name = 'ايرادات المبيعات ', customName = 'ايرادات المبيعات ', customNameEn = 'Revenue of Sales', nameEn = 'Revenue of Sales', parent = '142', accountNature = '1', theValue = '10827.6', theOrder = '0', layingOrder = '410101', reportid = '2', listId = '2', notes = '', itemfrom = '0', itemtype = '2', itemtype2 = '0', itemtype3 = 'Income ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:40' WHERE id = '143';
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2010.75', '2010.75', '2026-09-14', '1', '0', '0', '2026-09-14 16:10:05','اضافة فاتورة مبيعات رقم 3 - صرف البضاعة من المخزن','1','0',null,'0','3','sellbillController.php?do=showDetail&sellbillid=3'); -- id=95
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('95', '402', '2010.75', '','0'); -- id=95
UPDATE accountstree SET name = 'تكلفة التشغيل', customName = 'تكلفة التشغيل', customNameEn = '', nameEn = '', parent = '160', accountNature = '0', theValue = '10839.79', theOrder = '0', layingOrder = '530101', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '1', del = '0', sysdate = '2023-07-25 23:37:18' WHERE id = '402';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('95', '382', '2010.75', '','0'); -- id=95
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '744520.23', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
update sellbill set dailyentryid='94,0,95' where sellbillid=3;
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES ('2026-09-14', 2119, 2010.75, 2010.75
                    , 2010.75, 2010.75, 2010.75, 2010.75
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,2010.75, 2010.75, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+2119, sellCostBuyPrice =sellCostBuyPrice+2010.75
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+2010.75, sellCostMeanBuyPrice = sellCostMeanBuyPrice+2010.75
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+2010.75, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+2010.75
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+2010.75
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+2010.75
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+2010.75
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 2119, 2010.75, 2010.75
                    , 2010.75, 2010.75, 2010.75, 2010.75
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,2010.75, 2010.75, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+2119, sellCostBuyPrice =sellCostBuyPrice+2010.75
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+2010.75, sellCostMeanBuyPrice = sellCostMeanBuyPrice+2010.75
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+2010.75, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+2010.75
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+2010.75
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+2010.75
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+2010.75
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice,netSellCostLastBuyPricewithTax,netSellCostMeanBuyPricewithTax)
                    VALUES (1, 2119, 2010.75, 2010.75
                    , 2010.75, 2010.75, 2010.75, 2010.75, 2010.75, 2010.75)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+2119, netSellCostBuyPrice = netSellCostBuyPrice+2010.75
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+2010.75
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+2010.75
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+2010.75
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+2010.75
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+2010.75
                , netSellCostLastBuyPricewithTax = netSellCostLastBuyPricewithTax+2010.75
                , netSellCostMeanBuyPricewithTax = netSellCostMeanBuyPricewithTax+2010.75;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 06aa7ffb69a7a8 and sellbillId = 3 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:40:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:10:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:10:07', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=441
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:41:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:11:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:11:20', '1', 'addAndRetuen', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addAndRetuen'); -- id=442

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 06aa800402477f
-- ----------------------------------------------------------------------------------------------------

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,qrerpid,qrerpids,autoSaveFlag,ereason,estatus,epdf,obgyBillType,billoperationid,datestarting,pricetype,currencyId,knownwayId,travelDriverId,travelBusId,travelPathId,travelTripId,travelTripTypeId,travelTripDateId,totalprodiscount,manage_ex,med_hallmark,pay_rec_no,pay_rec_val,decisionNo,decisionValue,sellToSupplier,supplierbuybillid,sellbilltypeclientid,shipfrom,shipto,paymethodshipping,whatShippingCost,clientaddress,tagids,obgyRefDoc,addressid,couponid,paymenttypeid,paymentdetails) VALUES ('2026-09-14 16:11:20', '06aa800402477f', '1', '0.00', '0', '0', '1', '760.50', '760.5', '760.5', '0', '1', '2026-09-14 16:11:20', '', '1', '0', 'نقدي', '1', '0', '3', '0', 'نقدي', '17.5' ,'0','','','','','-1','0','0','0','0','0','760','0','','0','0','760.5','0','0','0','0','0','0','0','0','','','','0','','0','','0','-1','2026-09-14','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','','','0','0','0',''); -- id=4
UPDATE client SET  clientdebt = '0', userid = '1' 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,userSelectedDate,paySerialNo,totalpayments,tagids,file) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','4', '0', '2026-09-14 16:11:21', '1', 'sellbillController.php', 'اضافة فاتورة مبيعات', '760.5', '0', null, '0', null, null,'', '0','1','1','0','1','2026-09-14 16:11:20','0','0','',''); -- id=6
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('45','00078', '4', '22', '78', '13', '49', '637', '0', '', '1', '2026-09-14 16:11:21', '78', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','49','637','0','','0','0.00','0','0','0','0'); -- id=14
UPDATE sellbilldetail SET  lastbuyprice = 45.00 , meanbuyprice = 45.00, lastbuyprice_withDiscount = 45.00, meanbuyprice_withDiscount = 45.00
        , lastbuyprice_withTax = 45, meanbuyprice_withTax = 45, lastbuyprice_withDiscountAndTax = 45
                where sellbilldetailid = 14;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (78, '2026-09-14', 637, 585, 585
                    , 585, 585, 585, 585
                    , 0, 0, 0, 0
                    , 0, 0, 0, 13, 0, 585, 585, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+637, sellCostBuyPrice =sellCostBuyPrice+585
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+585, sellCostMeanBuyPrice = sellCostMeanBuyPrice+585
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+585, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+585
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+585
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+585
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+585
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+13
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 637, 585, 585
                    , 585, 585, 585, 585
                    , 0, 0, 0, 0
                    , 0, 0, 0, 585, 585, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+637, sellCostBuyPrice =sellCostBuyPrice+585
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+585, sellCostMeanBuyPrice = sellCostMeanBuyPrice+585
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+585, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+585
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+585
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+585
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+585
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '9', userid = '1', storedetaildate = '2026-09-14 16:11:21' WHERE storedetailid = '78';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('78', '1', '13', '1', '4', 'اضافة فاتورة مبيعات', 'sellbillController.php', '22', '9', '1', '2026-09-14 16:11:21','0','0'); -- id=98
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('18','00081', '4', '14', '81', '4', '19', '76', '0', '', '1', '2026-09-14 16:11:21', '81', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','19','76','0','','0','0.00','0','0','0','0'); -- id=15
UPDATE sellbilldetail SET  lastbuyprice = 18.00 , meanbuyprice = 18.00, lastbuyprice_withDiscount = 18.00, meanbuyprice_withDiscount = 18.00
        , lastbuyprice_withTax = 18, meanbuyprice_withTax = 18, lastbuyprice_withDiscountAndTax = 18
                where sellbilldetailid = 15;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (81, '2026-09-14', 76, 72, 72
                    , 72, 72, 72, 72
                    , 0, 0, 0, 0
                    , 0, 0, 0, 4, 0, 72, 72, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+76, sellCostBuyPrice =sellCostBuyPrice+72
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+72, sellCostMeanBuyPrice = sellCostMeanBuyPrice+72
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+72, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+72
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+72
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+72
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+72
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+4
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 76, 72, 72
                    , 72, 72, 72, 72
                    , 0, 0, 0, 0
                    , 0, 0, 0, 72, 72, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+76, sellCostBuyPrice =sellCostBuyPrice+72
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+72, sellCostMeanBuyPrice = sellCostMeanBuyPrice+72
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+72, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+72
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+72
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+72
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+72
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '646', userid = '1', storedetaildate = '2026-09-14 16:11:22' WHERE storedetailid = '81';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('81', '1', '4', '1', '4', 'اضافة فاتورة مبيعات', 'sellbillController.php', '650', '646', '1', '2026-09-14 16:11:22','0','0'); -- id=99
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('82','00080', '4', '14', '80', '.5', '95', '47.5', '0', '', '1', '2026-09-14 16:11:22', '80', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','95','47.5','0','','0','0.00','0','0','0','0'); -- id=16
UPDATE sellbilldetail SET  lastbuyprice = 82.00 , meanbuyprice = 82.00, lastbuyprice_withDiscount = 82.00, meanbuyprice_withDiscount = 82.00
        , lastbuyprice_withTax = 82, meanbuyprice_withTax = 82, lastbuyprice_withDiscountAndTax = 82
                where sellbilldetailid = 16;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (80, '2026-09-14', 47.5, 41, 41
                    , 41, 41, 41, 41
                    , 0, 0, 0, 0
                    , 0, 0, 0, 0.5, 0, 41, 41, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+47.5, sellCostBuyPrice =sellCostBuyPrice+41
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+41, sellCostMeanBuyPrice = sellCostMeanBuyPrice+41
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+41, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+41
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+41
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+41
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+41
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+0.5
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 47.5, 41, 41
                    , 41, 41, 41, 41
                    , 0, 0, 0, 0
                    , 0, 0, 0, 41, 41, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+47.5, sellCostBuyPrice =sellCostBuyPrice+41
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+41, sellCostMeanBuyPrice = sellCostMeanBuyPrice+41
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+41, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+41
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+41
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+41
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+41
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '9.5', userid = '1', storedetaildate = '2026-09-14 16:11:22' WHERE storedetailid = '80';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('80', '1', '0.5', '1', '4', 'اضافة فاتورة مبيعات', 'sellbillController.php', '10', '9.5', '1', '2026-09-14 16:11:22','0','0'); -- id=100
CALL saveInUse(1,@saveidis,@savecurrentvalueis,@currencyIdis,@treeIdis,@conversionFactoris);
UPDATE save SET  savecurrentvalue = '-40911.8984375',  userid = '1' WHERE saveid = '1';
UPDATE save SET  inUse = 0 where saveid = 1;
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note,clientdebtchangeidfk) VALUES ('-41672.3984375','760.5', '0', '1', 'اضافة فاتورة مبيعات', '4', '-40911.8984375', '2026-09-14 16:11:22', '1',  'sellbillController.php','1','','0'); -- id=7
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '760.5', '760.5', '2026-09-14', '1', '0', '0', '2026-09-14 16:11:23','اضافة فاتورة مبيعات رقم 4','1','0',null,'0','4','sellbillController.php?do=showDetail&sellbillid=4'); -- id=96
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('96', '383', '760.5', '','0'); -- id=96
UPDATE accountstree SET name = 'الخزنة الرئيسية', customName = 'الخزنة الرئيسية', customNameEn = 'الخزنة الرئيسية', nameEn = 'الخزنة الرئيسية', parent = '40', accountNature = '0', theValue = '-40911.9', theOrder = '0', layingOrder = '12010200002', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = 'Bank and Cash ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:28' WHERE id = '383';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('96', '143', '760.5', '','0'); -- id=96
UPDATE accountstree SET name = 'ايرادات المبيعات ', customName = 'ايرادات المبيعات ', customNameEn = 'Revenue of Sales', nameEn = 'Revenue of Sales', parent = '142', accountNature = '1', theValue = '11588.1', theOrder = '0', layingOrder = '410101', reportid = '2', listId = '2', notes = '', itemfrom = '0', itemtype = '2', itemtype2 = '0', itemtype3 = 'Income ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:40' WHERE id = '143';
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '698', '698', '2026-09-14', '1', '0', '0', '2026-09-14 16:11:23','اضافة فاتورة مبيعات رقم 4 - صرف البضاعة من المخزن','1','0',null,'0','4','sellbillController.php?do=showDetail&sellbillid=4'); -- id=97
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('97', '402', '698', '','0'); -- id=97
UPDATE accountstree SET name = 'تكلفة التشغيل', customName = 'تكلفة التشغيل', customNameEn = '', nameEn = '', parent = '160', accountNature = '0', theValue = '11537.79', theOrder = '0', layingOrder = '530101', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '1', del = '0', sysdate = '2023-07-25 23:37:18' WHERE id = '402';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('97', '382', '698', '','0'); -- id=97
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '743822.23', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
update sellbill set dailyentryid='96,0,97' where sellbillid=4;
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES ('2026-09-14', 760.5, 698, 698
                    , 698, 698, 698, 698
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,698, 698, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+760.5, sellCostBuyPrice =sellCostBuyPrice+698
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+698, sellCostMeanBuyPrice = sellCostMeanBuyPrice+698
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+698, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+698
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+698
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+698
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+698
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 760.5, 698, 698
                    , 698, 698, 698, 698
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,698, 698, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+760.5, sellCostBuyPrice =sellCostBuyPrice+698
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+698, sellCostMeanBuyPrice = sellCostMeanBuyPrice+698
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+698, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+698
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+698
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+698
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+698
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice,netSellCostLastBuyPricewithTax,netSellCostMeanBuyPricewithTax)
                    VALUES (1, 760.5, 698, 698
                    , 698, 698, 698, 698, 698, 698)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+760.5, netSellCostBuyPrice = netSellCostBuyPrice+698
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+698
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+698
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+698
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+698
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+698
                , netSellCostLastBuyPricewithTax = netSellCostLastBuyPricewithTax+698
                , netSellCostMeanBuyPricewithTax = netSellCostMeanBuyPricewithTax+698;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 06aa800402477f and sellbillId = 4 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:41:24";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:11:24", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:11:24', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=443
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 12:53:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:23:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:23:29', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=444
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:01:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:31:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:31:07', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=445
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه سوسته 13 ملي رصاصي','','12','30.8','34','34','34','2026-09-14','0','1','30','','0','0','0','0','0','30.8','30.8','30.8','30.8','30.8','0','10.39','10.39','10.39','.','0','0','0','30.8','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','30.8','30.8','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','30.8','0','0','0','0','0','0','','','0','0','0','0'); -- id=82
UPDATE product SET productName = 'لفه سوسته 13 ملي رصاصي', productDescription = '', productCatId = '12', productBuyPrice = '30.8', productSellAllPrice = '34', productSellUnitPrice = '34', productSellHalfPrice = '34', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00082',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '30.8',lastbuyprice_withDiscount = '30.8',meanbuyprice = '30.8',meanbuyprice_withDiscount = '30.8' , productbuypricereal = '30.8' , buypricereal_precentage = '0' , buytotal_precentage = '10.39' , buyhalf_precentage = '10.39' , buypart_precentage = '10.39',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='30.8',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='30.8',meanbuyprice_withTax='30.8',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='30.8',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '82';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '82', '1.00', '2026-09-14', '1', '0','0008201','34','34','34','30.8','','0','0','0','0','0','0','0','0','0','0'); -- id=82
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('82', '1', '100', '1', '2026-09-14'); -- id=82
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('82', '1', '100', '0', '82', 'إضافة منتج', 'productController.php', '0', '100', '1', '2026-09-14','0','0'); -- id=101
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (82, 1,'2026-09-14 16:31:08',1)
                ON DUPLICATE KEY UPDATE productid = 82, edited = 1, sysdate = '2026-09-14 16:31:08', userid = 1; -- id=86
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3080', '3080', '2026-09-14', '1', '0', '0', '2026-09-14 16:31:09','إضافة منتج لفه سوسته 13 ملي رصاصي الكمية 100','1','0','0','0','82','productController.php?do=edit&id=82'); -- id=98
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('98', '382', '3080', '','0'); -- id=98
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '746902.23', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('98', '121', '3080', '','0'); -- id=98
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-109485.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لفه سوسته 13 ملي رصاصي', productDescription = '', productCatId = '12', productBuyPrice = '30.80', productSellAllPrice = '34.00', productSellUnitPrice = '34.00', productSellHalfPrice = '34.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00082',type ='0', expireDate = '0' , dailyentryId = '98',isService = '0',isOptic = '0',lastbuyprice = '30.8',lastbuyprice_withDiscount = '30.8',meanbuyprice = '30.8',meanbuyprice_withDiscount = '30.8' , productbuypricereal = '30.8' , buypricereal_precentage = '0' , buytotal_precentage = '10.39' , buyhalf_precentage = '10.39' , buypart_precentage = '10.39',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='30.8',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='30.8',meanbuyprice_withTax='30.8',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='30.8',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '82';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه سوسته 16 ملي رصاصي','','12','42.3','45','45','45','2026-09-14','0','1','40','','0','0','0','0','0','42.3','42.3','42.3','42.3','42.3','0','6.38','6.38','6.38','.','0','0','0','42.3','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','42.3','42.3','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','42.3','0','0','0','0','0','0','','','0','0','0','0'); -- id=83
UPDATE product SET productName = 'لفه سوسته 16 ملي رصاصي', productDescription = '', productCatId = '12', productBuyPrice = '42.3', productSellAllPrice = '45', productSellUnitPrice = '45', productSellHalfPrice = '45', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '40', parcode = '00083',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '42.3',lastbuyprice_withDiscount = '42.3',meanbuyprice = '42.3',meanbuyprice_withDiscount = '42.3' , productbuypricereal = '42.3' , buypricereal_precentage = '0' , buytotal_precentage = '6.38' , buyhalf_precentage = '6.38' , buypart_precentage = '6.38',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='42.3',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='42.3',meanbuyprice_withTax='42.3',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='42.3',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '83';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '83', '1.00', '2026-09-14', '1', '0','0008301','45','45','45','42.3','','0','0','0','0','0','0','0','0','0','0'); -- id=83
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('83', '1', '140', '1', '2026-09-14'); -- id=83
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('83', '1', '140', '0', '83', 'إضافة منتج', 'productController.php', '0', '140', '1', '2026-09-14','0','0'); -- id=102
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (83, 1,'2026-09-14 16:31:10',1)
                ON DUPLICATE KEY UPDATE productid = 83, edited = 1, sysdate = '2026-09-14 16:31:10', userid = 1; -- id=87
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5922', '5922', '2026-09-14', '1', '0', '0', '2026-09-14 16:31:10','إضافة منتج لفه سوسته 16 ملي رصاصي الكمية 140','1','0','0','0','83','productController.php?do=edit&id=83'); -- id=99
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('99', '382', '5922', '','0'); -- id=99
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '752824.23', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('99', '121', '5922', '','0'); -- id=99
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-103563.73', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لفه سوسته 16 ملي رصاصي', productDescription = '', productCatId = '12', productBuyPrice = '42.30', productSellAllPrice = '45.00', productSellUnitPrice = '45.00', productSellHalfPrice = '45.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '40', parcode = '00083',type ='0', expireDate = '0' , dailyentryId = '99',isService = '0',isOptic = '0',lastbuyprice = '42.3',lastbuyprice_withDiscount = '42.3',meanbuyprice = '42.3',meanbuyprice_withDiscount = '42.3' , productbuypricereal = '42.3' , buypricereal_precentage = '0' , buytotal_precentage = '6.38' , buyhalf_precentage = '6.38' , buypart_precentage = '6.38',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='42.3',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='42.3',meanbuyprice_withTax='42.3',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='42.3',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '83';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه سوسته وير 16 ملي 30 متر بيور','','12','160','180','195','180','2026-09-14','0','1','0','','0','0','0','0','0','160','160','160','160','160','0','12.5','12.5','21.88','.','0','0','0','160','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','160','160','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','160','0','0','0','0','0','0','','','0','0','0','0'); -- id=84
UPDATE product SET productName = 'لفه سوسته وير 16 ملي 30 متر بيور', productDescription = '', productCatId = '12', productBuyPrice = '160', productSellAllPrice = '180', productSellUnitPrice = '195', productSellHalfPrice = '180', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00084',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '160',lastbuyprice_withDiscount = '160',meanbuyprice = '160',meanbuyprice_withDiscount = '160' , productbuypricereal = '160' , buypricereal_precentage = '0' , buytotal_precentage = '12.5' , buyhalf_precentage = '12.5' , buypart_precentage = '21.88',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='160',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='160',meanbuyprice_withTax='160',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='160',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '84';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '84', '1.00', '2026-09-14', '1', '0','0008401','180','180','195','160','','0','0','0','0','0','0','0','0','0','0'); -- id=84
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('84', '1', '0', '1', '2026-09-14'); -- id=84
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('84', '1', '0', '0', '84', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=103
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (84, 1,'2026-09-14 16:31:12',1)
                ON DUPLICATE KEY UPDATE productid = 84, edited = 1, sysdate = '2026-09-14 16:31:12', userid = 1; -- id=88
UPDATE product SET productName = 'لفه سوسته وير 16 ملي 30 متر بيور', productDescription = '', productCatId = '12', productBuyPrice = '160.00', productSellAllPrice = '180.00', productSellUnitPrice = '195.00', productSellHalfPrice = '180.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00084',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '160',lastbuyprice_withDiscount = '160',meanbuyprice = '160',meanbuyprice_withDiscount = '160' , productbuypricereal = '160' , buypricereal_precentage = '0' , buytotal_precentage = '12.5' , buyhalf_precentage = '12.5' , buypart_precentage = '21.88',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='160',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='160',meanbuyprice_withTax='160',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='160',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '84';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لفه سوسته وير 23 ملي 30 متر بيور','','12','250','265','285','285','2026-09-14','0','1','0','','0','0','0','0','0','250','250','250','250','250','0','6','14','14','.','0','0','0','250','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','250','250','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','250','0','0','0','0','0','0','','','0','0','0','0'); -- id=85
UPDATE product SET productName = 'لفه سوسته وير 23 ملي 30 متر بيور', productDescription = '', productCatId = '12', productBuyPrice = '250', productSellAllPrice = '265', productSellUnitPrice = '285', productSellHalfPrice = '285', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00085',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '250',lastbuyprice_withDiscount = '250',meanbuyprice = '250',meanbuyprice_withDiscount = '250' , productbuypricereal = '250' , buypricereal_precentage = '0' , buytotal_precentage = '6' , buyhalf_precentage = '14' , buypart_precentage = '14',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='250',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='250',meanbuyprice_withTax='250',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='250',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '85';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '85', '1.00', '2026-09-14', '1', '0','0008501','265','285','285','250','','0','0','0','0','0','0','0','0','0','0'); -- id=85
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('85', '1', '0', '1', '2026-09-14'); -- id=85
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('85', '1', '0', '0', '85', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=104
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (85, 1,'2026-09-14 16:31:14',1)
                ON DUPLICATE KEY UPDATE productid = 85, edited = 1, sysdate = '2026-09-14 16:31:14', userid = 1; -- id=89
UPDATE product SET productName = 'لفه سوسته وير 23 ملي 30 متر بيور', productDescription = '', productCatId = '12', productBuyPrice = '250.00', productSellAllPrice = '265.00', productSellUnitPrice = '285.00', productSellHalfPrice = '285.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00085',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '250',lastbuyprice_withDiscount = '250',meanbuyprice = '250',meanbuyprice_withDiscount = '250' , productbuypricereal = '250' , buypricereal_precentage = '0' , buytotal_precentage = '6' , buyhalf_precentage = '14' , buypart_precentage = '14',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='250',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='250',meanbuyprice_withTax='250',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='250',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '85';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('علبه ماجيك مفرد مصطفي محمود ','','12','5.9','625','625','625','2026-09-14','0','1','0','','0','0','0','0','0','5.9','5.9','5.9','5.9','5.9','0','10493.22','10493.22','10493.22','.','0','0','0','5.9','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','5.9','5.9','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','5.9','0','0','0','0','0','0','','','0','0','0','0'); -- id=86
UPDATE product SET productName = 'علبه ماجيك مفرد مصطفي محمود ', productDescription = '', productCatId = '12', productBuyPrice = '5.9', productSellAllPrice = '625', productSellUnitPrice = '625', productSellHalfPrice = '625', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00086',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.9',lastbuyprice_withDiscount = '5.9',meanbuyprice = '5.9',meanbuyprice_withDiscount = '5.9' , productbuypricereal = '5.9' , buypricereal_precentage = '0' , buytotal_precentage = '10493.22' , buyhalf_precentage = '10493.22' , buypart_precentage = '10493.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.9',meanbuyprice_withTax='5.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '86';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '86', '1.00', '2026-09-14', '1', '0','0008601','625','625','625','5.9','','0','0','0','0','0','0','0','0','0','0'); -- id=86
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('86', '1', '0', '1', '2026-09-14'); -- id=86
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('86', '1', '0', '0', '86', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=105
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (86, 1,'2026-09-14 16:31:15',1)
                ON DUPLICATE KEY UPDATE productid = 86, edited = 1, sysdate = '2026-09-14 16:31:15', userid = 1; -- id=90
UPDATE product SET productName = 'علبه ماجيك مفرد مصطفي محمود ', productDescription = '', productCatId = '12', productBuyPrice = '5.90', productSellAllPrice = '625.00', productSellUnitPrice = '625.00', productSellHalfPrice = '625.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00086',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.9',lastbuyprice_withDiscount = '5.9',meanbuyprice = '5.9',meanbuyprice_withDiscount = '5.9' , productbuypricereal = '5.9' , buypricereal_precentage = '0' , buytotal_precentage = '10493.22' , buyhalf_precentage = '10493.22' , buypart_precentage = '10493.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.9',meanbuyprice_withTax='5.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '86';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('علبه ماجيك مجوز مصطفي محمود راسي','','12','11.1','11.3','11.3','11.3','2026-09-14','0','1','0','','0','0','0','0','0','11.1','11.1','11.1','11.1','11.1','0','1.8','1.8','0','.','0','0','0','11.1','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','11.1','11.1','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','11.1','0','0','0','0','0','0','','','0','0','0','0'); -- id=87
UPDATE product SET productName = 'علبه ماجيك مجوز مصطفي محمود راسي', productDescription = '', productCatId = '12', productBuyPrice = '11.1', productSellAllPrice = '11.3', productSellUnitPrice = '11.3', productSellHalfPrice = '11.3', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00087',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '11.1',lastbuyprice_withDiscount = '11.1',meanbuyprice = '11.1',meanbuyprice_withDiscount = '11.1' , productbuypricereal = '11.1' , buypricereal_precentage = '0' , buytotal_precentage = '1.8' , buyhalf_precentage = '1.8' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='11.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='11.1',meanbuyprice_withTax='11.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='11.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '87';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '87', '1.00', '2026-09-14', '1', '0','0008701','11.3','11.3','11.3','11.1','','0','0','0','0','0','0','0','0','0','0'); -- id=87
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('87', '1', '0', '1', '2026-09-14'); -- id=87
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('87', '1', '0', '0', '87', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=106
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (87, 1,'2026-09-14 16:31:17',1)
                ON DUPLICATE KEY UPDATE productid = 87, edited = 1, sysdate = '2026-09-14 16:31:17', userid = 1; -- id=91
UPDATE product SET productName = 'علبه ماجيك مجوز مصطفي محمود راسي', productDescription = '', productCatId = '12', productBuyPrice = '11.10', productSellAllPrice = '11.30', productSellUnitPrice = '11.30', productSellHalfPrice = '11.30', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00087',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '11.1',lastbuyprice_withDiscount = '11.1',meanbuyprice = '11.1',meanbuyprice_withDiscount = '11.1' , productbuypricereal = '11.1' , buypricereal_precentage = '0' , buytotal_precentage = '1.8' , buyhalf_precentage = '1.8' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='11.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='11.1',meanbuyprice_withTax='11.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='11.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '87';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('علبه ملجيك مجوز شاشه مصطفي محمود','','12','11.1','11.3','11.3','11.3','2026-09-14','0','1','0','','0','0','0','0','0','11.1','11.1','11.1','11.1','11.1','0','1.8','1.8','1.8','.','0','0','0','11.1','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','11.1','11.1','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','11.1','0','0','0','0','0','0','','','0','0','0','0'); -- id=88
UPDATE product SET productName = 'علبه ملجيك مجوز شاشه مصطفي محمود', productDescription = '', productCatId = '12', productBuyPrice = '11.1', productSellAllPrice = '11.3', productSellUnitPrice = '11.3', productSellHalfPrice = '11.3', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00088',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '11.1',lastbuyprice_withDiscount = '11.1',meanbuyprice = '11.1',meanbuyprice_withDiscount = '11.1' , productbuypricereal = '11.1' , buypricereal_precentage = '0' , buytotal_precentage = '1.8' , buyhalf_precentage = '1.8' , buypart_precentage = '1.8',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='11.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='11.1',meanbuyprice_withTax='11.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='11.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '88';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '88', '1.00', '2026-09-14', '1', '0','0008801','11.3','11.3','11.3','11.1','','0','0','0','0','0','0','0','0','0','0'); -- id=88
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('88', '1', '0', '1', '2026-09-14'); -- id=88
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('88', '1', '0', '0', '88', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=107
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (88, 1,'2026-09-14 16:31:19',1)
                ON DUPLICATE KEY UPDATE productid = 88, edited = 1, sysdate = '2026-09-14 16:31:19', userid = 1; -- id=92
UPDATE product SET productName = 'علبه ملجيك مجوز شاشه مصطفي محمود', productDescription = '', productCatId = '12', productBuyPrice = '11.10', productSellAllPrice = '11.30', productSellUnitPrice = '11.30', productSellHalfPrice = '11.30', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00088',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '11.1',lastbuyprice_withDiscount = '11.1',meanbuyprice = '11.1',meanbuyprice_withDiscount = '11.1' , productbuypricereal = '11.1' , buypricereal_precentage = '0' , buytotal_precentage = '1.8' , buyhalf_precentage = '1.8' , buypart_precentage = '1.8',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='11.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='11.1',meanbuyprice_withTax='11.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='11.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '88';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('علبه ماجيك مفرد كوبرا ','','12','4','4','4','4','2026-09-14','0','1','0','','0','0','0','0','0','4.','4','4.','4','4','0','0','0','0','.','0','0','0','4','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','4','4','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','4','0','0','0','0','0','0','','','0','0','0','0'); -- id=89
UPDATE product SET productName = 'علبه ماجيك مفرد كوبرا ', productDescription = '', productCatId = '12', productBuyPrice = '4', productSellAllPrice = '4', productSellUnitPrice = '4', productSellHalfPrice = '4', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00089',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '4.',lastbuyprice_withDiscount = '4',meanbuyprice = '4.',meanbuyprice_withDiscount = '4' , productbuypricereal = '4' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4',meanbuyprice_withTax='4',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '89';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '89', '1.00', '2026-09-14', '1', '0','0008901','4','4','4','4','','0','0','0','0','0','0','0','0','0','0'); -- id=89
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('89', '1', '0', '1', '2026-09-14'); -- id=89
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('89', '1', '0', '0', '89', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=108
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (89, 1,'2026-09-14 16:31:20',1)
                ON DUPLICATE KEY UPDATE productid = 89, edited = 1, sysdate = '2026-09-14 16:31:20', userid = 1; -- id=93
UPDATE product SET productName = 'علبه ماجيك مفرد كوبرا ', productDescription = '', productCatId = '12', productBuyPrice = '4.00', productSellAllPrice = '4.00', productSellUnitPrice = '4.00', productSellHalfPrice = '4.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00089',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '4.',lastbuyprice_withDiscount = '4',meanbuyprice = '4.',meanbuyprice_withDiscount = '4' , productbuypricereal = '4' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4',meanbuyprice_withTax='4',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '89';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:01:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:31:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:31:22', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=446
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:01:35";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:31:35", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:31:35', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=447
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:02:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:32:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:32:06', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=448
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:02:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:32:21", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:32:21', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=449
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:02:38";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:32:38", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:32:38', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=450
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:02:48";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:32:48", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 16:32:48', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php'); -- id=451
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:02:58";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:32:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 16:32:58', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=452
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:03:14";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:33:14", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 16:33:14', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=453
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:03:42";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:33:42", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:33:42', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=454
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:04:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:34:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:34:15', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=455
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:04:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:34:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:34:23', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=456
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:04:36";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:34:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:34:37', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=457
UPDATE productunit SET proUnitSellAllPrice  = 6.25 * productnumber  WHERE productid = 86;
UPDATE product SET productName = 'علبه ماجيك مفرد مصطفي محمود ', productDescription = '', productCatId = '12', productBuyPrice = '5.90', productSellAllPrice = '6.25', productSellUnitPrice = '625.00', productSellHalfPrice = '625.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00086',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.90',lastbuyprice_withDiscount = '5.9',meanbuyprice = '5.90',meanbuyprice_withDiscount = '5.9' , productbuypricereal = '5.90' , buypricereal_precentage = '0.00' , buytotal_precentage = '10493.22' , buyhalf_precentage = '10493.22' , buypart_precentage = '10493.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.9',meanbuyprice_withTax='5.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '86';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (86, 1,'2026-09-14 16:34:52',1)
                ON DUPLICATE KEY UPDATE productid = 86, edited = 1, sysdate = '2026-09-14 16:34:52', userid = 1; -- id=90
UPDATE productunit SET proUnitSellHalfPrice = 6.25 * productnumber WHERE productid = 86;
UPDATE product SET productName = 'علبه ماجيك مفرد مصطفي محمود ', productDescription = '', productCatId = '12', productBuyPrice = '5.90', productSellAllPrice = '6.25', productSellUnitPrice = '625.00', productSellHalfPrice = '6.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00086',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.90',lastbuyprice_withDiscount = '5.9',meanbuyprice = '5.90',meanbuyprice_withDiscount = '5.9' , productbuypricereal = '5.90' , buypricereal_precentage = '0.00' , buytotal_precentage = '10493.22' , buyhalf_precentage = '10493.22' , buypart_precentage = '10493.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.9',meanbuyprice_withTax='5.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '86';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (86, 1,'2026-09-14 16:34:55',1)
                ON DUPLICATE KEY UPDATE productid = 86, edited = 1, sysdate = '2026-09-14 16:34:55', userid = 1; -- id=90
UPDATE productunit SET proUnitSellUnitPrice = 6.25 * productnumber WHERE productid = 86;
UPDATE product SET productName = 'علبه ماجيك مفرد مصطفي محمود ', productDescription = '', productCatId = '12', productBuyPrice = '5.90', productSellAllPrice = '6.25', productSellUnitPrice = '6.25', productSellHalfPrice = '6.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00086',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.90',lastbuyprice_withDiscount = '5.9',meanbuyprice = '5.90',meanbuyprice_withDiscount = '5.9' , productbuypricereal = '5.90' , buypricereal_precentage = '0.00' , buytotal_precentage = '10493.22' , buyhalf_precentage = '10493.22' , buypart_precentage = '10493.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.9',meanbuyprice_withTax='5.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '86';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (86, 1,'2026-09-14 16:34:58',1)
                ON DUPLICATE KEY UPDATE productid = 86, edited = 1, sysdate = '2026-09-14 16:34:58', userid = 1; -- id=90
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:05:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:35:27", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 16:35:27', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php'); -- id=458
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:05:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:35:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 16:35:43', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=459
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:05:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:35:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:35:53', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=460
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:06:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:36:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productstore.php', '2026-09-14 16:36:39', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productstore.php?do=show'); -- id=461
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:06:46";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:36:46", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:36:46', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=462
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:09:31";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:39:31", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:39:31', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=463
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:09:41";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:39:41", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:39:41', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=464
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:09:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:39:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:39:55', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=465
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:10:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:40:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 16:40:28', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=466
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:10:46";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:40:47", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 16:40:47', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=467
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:11:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:41:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 16:41:06', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=468
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:11:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:41:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 16:41:22', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=469
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:11:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:41:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 16:41:39', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=470
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:12:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:42:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:42:26', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=471
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:12:58";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:42:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:42:59', '1', 'addAndRetuen', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addAndRetuen'); -- id=472

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 06aa807d360ff4
-- ----------------------------------------------------------------------------------------------------

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,qrerpid,qrerpids,autoSaveFlag,ereason,estatus,epdf,obgyBillType,billoperationid,datestarting,pricetype,currencyId,knownwayId,travelDriverId,travelBusId,travelPathId,travelTripId,travelTripTypeId,travelTripDateId,totalprodiscount,manage_ex,med_hallmark,pay_rec_no,pay_rec_val,decisionNo,decisionValue,sellToSupplier,supplierbuybillid,sellbilltypeclientid,shipfrom,shipto,paymethodshipping,whatShippingCost,clientaddress,tagids,obgyRefDoc,addressid,couponid,paymenttypeid,paymentdetails) VALUES ('2026-09-14 16:42:59', '06aa807d360ff4', '1', '0.00', '0', '0', '1', '911.00', '911', '911', '0', '1', '2026-09-14 16:42:59', '', '1', '0', 'نقدي', '1', '0', '3', '0', 'نقدي', '40' ,'0','','','','','-1','0','0','0','0','0','911','0','','0','0','911','0','0','0','0','0','0','0','0','','','','0','','0','','0','-1','2026-09-14','0','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','','','0','0','0',''); -- id=5
UPDATE client SET  clientdebt = '0', userid = '1' 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,userSelectedDate,paySerialNo,totalpayments,tagids,file) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','5', '0', '2026-09-14 16:43:00', '1', 'sellbillController.php', 'اضافة فاتورة مبيعات', '911', '0', null, '0', null, null,'', '0','1','1','0','1','2026-09-14 16:42:59','0','0','',''); -- id=7
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('34.8','00003', '5', '1', '3', '15', '34.9', '523.5', '0', '', '0', '2026-09-14 16:43:00', '3', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','0','0','','','1','1','0','0','34.9','523.5','0','','0','0.00','0','0','0','0'); -- id=17
UPDATE sellbilldetail SET  lastbuyprice = 34.80 , meanbuyprice = 34.80, lastbuyprice_withDiscount = 34.80, meanbuyprice_withDiscount = 34.80
        , lastbuyprice_withTax = 34.8, meanbuyprice_withTax = 34.8, lastbuyprice_withDiscountAndTax = 34.8
                where sellbilldetailid = 17;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (3, '2026-09-14', 523.5, 522, 522
                    , 522, 522, 522, 522
                    , 0, 0, 0, 0
                    , 0, 0, 0, 15, 0, 522, 522, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+523.5, sellCostBuyPrice =sellCostBuyPrice+522
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+522, sellCostMeanBuyPrice = sellCostMeanBuyPrice+522
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+522, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+522
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+522
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+522
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+522
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+15
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 523.5, 522, 522
                    , 522, 522, 522, 522
                    , 0, 0, 0, 0
                    , 0, 0, 0, 522, 522, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+523.5, sellCostBuyPrice =sellCostBuyPrice+522
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+522, sellCostMeanBuyPrice = sellCostMeanBuyPrice+522
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+522, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+522
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+522
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+522
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+522
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '1781', userid = '1', storedetaildate = '2026-09-14 16:43:00' WHERE storedetailid = '3';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('3', '1', '15', '1', '5', 'اضافة فاتورة مبيعات', 'sellbillController.php', '1796', '1781', '1', '2026-09-14 16:43:00','0','0'); -- id=109
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('34.8','00004', '5', '1', '4', '5', '34.9', '174.5', '0', '', '0', '2026-09-14 16:43:00', '4', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','0','0','','','1','1','0','0','34.9','174.5','0','','0','0.00','0','0','0','0'); -- id=18
UPDATE sellbilldetail SET  lastbuyprice = 34.80 , meanbuyprice = 34.80, lastbuyprice_withDiscount = 34.80, meanbuyprice_withDiscount = 34.80
        , lastbuyprice_withTax = 34.8, meanbuyprice_withTax = 34.8, lastbuyprice_withDiscountAndTax = 34.8
                where sellbilldetailid = 18;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (4, '2026-09-14', 174.5, 174, 174
                    , 174, 174, 174, 174
                    , 0, 0, 0, 0
                    , 0, 0, 0, 5, 0, 174, 174, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+174.5, sellCostBuyPrice =sellCostBuyPrice+174
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+174, sellCostMeanBuyPrice = sellCostMeanBuyPrice+174
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+174, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+174
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+174
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+174
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+174
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+5
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 174.5, 174, 174
                    , 174, 174, 174, 174
                    , 0, 0, 0, 0
                    , 0, 0, 0, 174, 174, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+174.5, sellCostBuyPrice =sellCostBuyPrice+174
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+174, sellCostMeanBuyPrice = sellCostMeanBuyPrice+174
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+174, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+174
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+174
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+174
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+174
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '2138', userid = '1', storedetaildate = '2026-09-14 16:43:00' WHERE storedetailid = '4';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('4', '1', '5', '1', '5', 'اضافة فاتورة مبيعات', 'sellbillController.php', '2143', '2138', '1', '2026-09-14 16:43:01','0','0'); -- id=110
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('10.55','00005', '5', '1', '5', '20', '10.65', '213', '0', '', '0', '2026-09-14 16:43:01', '5', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','0','0','','','1','1','0','0','10.65','213','0','','0','0.00','0','0','0','0'); -- id=19
UPDATE sellbilldetail SET  lastbuyprice = 10.55 , meanbuyprice = 10.55, lastbuyprice_withDiscount = 10.55, meanbuyprice_withDiscount = 10.55
        , lastbuyprice_withTax = 10.55, meanbuyprice_withTax = 10.55, lastbuyprice_withDiscountAndTax = 10.55
                where sellbilldetailid = 19;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (5, '2026-09-14', 213, 211, 211
                    , 211, 211, 211, 211
                    , 0, 0, 0, 0
                    , 0, 0, 0, 20, 0, 211, 211, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+213, sellCostBuyPrice =sellCostBuyPrice+211
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+211, sellCostMeanBuyPrice = sellCostMeanBuyPrice+211
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+211, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+211
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+211
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+211
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+211
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+20
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 213, 211, 211
                    , 211, 211, 211, 211
                    , 0, 0, 0, 0
                    , 0, 0, 0, 211, 211, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+213, sellCostBuyPrice =sellCostBuyPrice+211
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+211, sellCostMeanBuyPrice = sellCostMeanBuyPrice+211
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+211, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+211
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+211
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+211
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+211
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '2060', userid = '1', storedetaildate = '2026-09-14 16:43:01' WHERE storedetailid = '5';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('5', '1', '20', '1', '5', 'اضافة فاتورة مبيعات', 'sellbillController.php', '2080', '2060', '1', '2026-09-14 16:43:01','0','0'); -- id=111
CALL saveInUse(1,@saveidis,@savecurrentvalueis,@currencyIdis,@treeIdis,@conversionFactoris);
UPDATE save SET  savecurrentvalue = '-40000.8984375',  userid = '1' WHERE saveid = '1';
UPDATE save SET  inUse = 0 where saveid = 1;
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note,clientdebtchangeidfk) VALUES ('-40911.8984375','911', '0', '1', 'اضافة فاتورة مبيعات', '5', '-40000.8984375', '2026-09-14 16:43:01', '1',  'sellbillController.php','1','','0'); -- id=8
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '911', '911', '2026-09-14', '1', '0', '0', '2026-09-14 16:43:01','اضافة فاتورة مبيعات رقم 5','1','0',null,'0','5','sellbillController.php?do=showDetail&sellbillid=5'); -- id=100
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('100', '383', '911', '','0'); -- id=100
UPDATE accountstree SET name = 'الخزنة الرئيسية', customName = 'الخزنة الرئيسية', customNameEn = 'الخزنة الرئيسية', nameEn = 'الخزنة الرئيسية', parent = '40', accountNature = '0', theValue = '-40000.9', theOrder = '0', layingOrder = '12010200002', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = 'Bank and Cash ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:28' WHERE id = '383';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('100', '143', '911', '','0'); -- id=100
UPDATE accountstree SET name = 'ايرادات المبيعات ', customName = 'ايرادات المبيعات ', customNameEn = 'Revenue of Sales', nameEn = 'Revenue of Sales', parent = '142', accountNature = '1', theValue = '12499.1', theOrder = '0', layingOrder = '410101', reportid = '2', listId = '2', notes = '', itemfrom = '0', itemtype = '2', itemtype2 = '0', itemtype3 = 'Income ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:40' WHERE id = '143';
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '907', '907', '2026-09-14', '1', '0', '0', '2026-09-14 16:43:01','اضافة فاتورة مبيعات رقم 5 - صرف البضاعة من المخزن','1','0',null,'0','5','sellbillController.php?do=showDetail&sellbillid=5'); -- id=101
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('101', '402', '907', '','0'); -- id=101
UPDATE accountstree SET name = 'تكلفة التشغيل', customName = 'تكلفة التشغيل', customNameEn = '', nameEn = '', parent = '160', accountNature = '0', theValue = '12444.79', theOrder = '0', layingOrder = '530101', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '1', del = '0', sysdate = '2023-07-25 23:37:18' WHERE id = '402';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('101', '382', '907', '','0'); -- id=101
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '751917.23', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
update sellbill set dailyentryid='100,0,101' where sellbillid=5;
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES ('2026-09-14', 911, 907, 907
                    , 907, 907, 907, 907
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,907, 907, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+911, sellCostBuyPrice =sellCostBuyPrice+907
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+907, sellCostMeanBuyPrice = sellCostMeanBuyPrice+907
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+907, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+907
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+907
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+907
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+907
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 911, 907, 907
                    , 907, 907, 907, 907
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,907, 907, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+911, sellCostBuyPrice =sellCostBuyPrice+907
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+907, sellCostMeanBuyPrice = sellCostMeanBuyPrice+907
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+907, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+907
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+907
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+907
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+907
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice,netSellCostLastBuyPricewithTax,netSellCostMeanBuyPricewithTax)
                    VALUES (1, 911, 907, 907
                    , 907, 907, 907, 907, 907, 907)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+911, netSellCostBuyPrice = netSellCostBuyPrice+907
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+907
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+907
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+907
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+907
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+907
                , netSellCostLastBuyPricewithTax = netSellCostLastBuyPricewithTax+907
                , netSellCostMeanBuyPricewithTax = netSellCostMeanBuyPricewithTax+907;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 06aa807d360ff4 and sellbillId = 5 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:13:03";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 16:43:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 16:43:03', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=473
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:36:44";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:36:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:06:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 17:06:49', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=474
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 13:36:49";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 17:06:50', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=475
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:37:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:07:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:07:11', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=476
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:37:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:07:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:07:29', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=477
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:50:24";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:20:24", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:20:24', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=478
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:50:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:20:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:20:43', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=479
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:51:27";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:21:27", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:21:27', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=480
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:51:44";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:21:44", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:21:44', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=481
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:51:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:21:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 17:21:52', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=482
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:58:03";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:28:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:28:04', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=483
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 13:58:48";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:28:48", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:28:48', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=484
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:01:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:31:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:31:43', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=485
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:02:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:32:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:32:30', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=486
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:02:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:32:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:32:40', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=487
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:03:03";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:33:03", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:33:03', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=488
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:03:08";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:33:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:33:08', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=489
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:03:33";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:33:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:33:33', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=490
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:10:04";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:10:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:40:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 17:40:07', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=491
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 14:10:09";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 17:40:09', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=492
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:10:58";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:40:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:40:58', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=493
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:11:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:41:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:41:06', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=494
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:11:17";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:41:17", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:41:17', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=495
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:15:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:45:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 17:45:12', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php'); -- id=496
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:15:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:45:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 17:45:30', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php?do=show'); -- id=497
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:15:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:45:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:45:52', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=498
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:16:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:46:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('settlementstoreController.php', '2026-09-14 17:46:06', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/settlementstoreController.php?do=show'); -- id=499
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:16:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:46:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 17:46:12', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=500
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:16:27";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:46:27", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 17:46:27', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=501
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:16:51";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:46:51", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryexpirationController.php', '2026-09-14 17:46:51', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryexpirationController.php'); -- id=502
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:17:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:47:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('storedetailController.php', '2026-09-14 17:47:20', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/storedetailController.php'); -- id=503
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:21:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:51:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 17:51:25', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=504
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:22:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:52:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 17:52:06', '1', 'addAndRetuen', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addAndRetuen'); -- id=505

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 06aa817fe6c1a4
-- ----------------------------------------------------------------------------------------------------

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,qrerpid,qrerpids,autoSaveFlag,ereason,estatus,epdf,obgyBillType,billoperationid,datestarting,pricetype,currencyId,knownwayId,travelDriverId,travelBusId,travelPathId,travelTripId,travelTripTypeId,travelTripDateId,totalprodiscount,manage_ex,med_hallmark,pay_rec_no,pay_rec_val,decisionNo,decisionValue,sellToSupplier,supplierbuybillid,sellbilltypeclientid,shipfrom,shipto,paymethodshipping,whatShippingCost,clientaddress,tagids,obgyRefDoc,addressid,couponid,paymenttypeid,paymentdetails) VALUES ('2026-09-14 17:52:06', '06aa817fe6c1a4', '1', '0.00', '0', '0', '1', '110.00', '110', '110', '0', '1', '2026-09-14 17:52:06', '', '1', '0', 'نقدي', '1', '0', '3', '0', 'نقدي', '1' ,'0','','','','','-1','0','0','0','0','0','110','0','','0','0','110','0','0','0','0','0','0','0','0','','','','0','','0','','0','-1','2026-09-14','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','','','0','0','0',''); -- id=6
UPDATE client SET  clientdebt = '0', userid = '1' 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,userSelectedDate,paySerialNo,totalpayments,tagids,file) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','6', '0', '2026-09-14 17:52:07', '1', 'sellbillController.php', 'اضافة فاتورة مبيعات', '110', '0', null, '0', null, null,'', '0','1','1','0','1','2026-09-14 17:52:06','0','0','',''); -- id=8
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('85.5','00066', '6', '9', '66', '1', '110', '110', '0', '', '1', '2026-09-14 17:52:07', '66', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','1','0','','','1','1','0','0','110','110','0','','0','','0','0','0','0'); -- id=20
UPDATE sellbilldetail SET  lastbuyprice = 85.50 , meanbuyprice = 85.50, lastbuyprice_withDiscount = 85.50, meanbuyprice_withDiscount = 85.50
        , lastbuyprice_withTax = 85.5, meanbuyprice_withTax = 85.5, lastbuyprice_withDiscountAndTax = 85.5
                where sellbilldetailid = 20;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (66, '2026-09-14', 110, 85.5, 85.5
                    , 85.5, 85.5, 85.5, 85.5
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1, 0, 85.5, 85.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+110, sellCostBuyPrice =sellCostBuyPrice+85.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+85.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+85.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+85.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+85.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+85.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+85.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+85.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+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,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 110, 85.5, 85.5
                    , 85.5, 85.5, 85.5, 85.5
                    , 0, 0, 0, 0
                    , 0, 0, 0, 85.5, 85.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+110, sellCostBuyPrice =sellCostBuyPrice+85.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+85.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+85.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+85.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+85.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+85.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+85.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+85.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '59', userid = '1', storedetaildate = '2026-09-14 17:52:07' WHERE storedetailid = '66';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('66', '1', '1', '1', '6', 'اضافة فاتورة مبيعات', 'sellbillController.php', '60', '59', '1', '2026-09-14 17:52:07','0','0'); -- id=112
CALL saveInUse(1,@saveidis,@savecurrentvalueis,@currencyIdis,@treeIdis,@conversionFactoris);
UPDATE save SET  savecurrentvalue = '-39890.8984375',  userid = '1' WHERE saveid = '1';
UPDATE save SET  inUse = 0 where saveid = 1;
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note,clientdebtchangeidfk) VALUES ('-40000.8984375','110', '0', '1', 'اضافة فاتورة مبيعات', '6', '-39890.8984375', '2026-09-14 17:52:07', '1',  'sellbillController.php','1','','0'); -- id=9
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '110', '110', '2026-09-14', '1', '0', '0', '2026-09-14 17:52:08','اضافة فاتورة مبيعات رقم 6','1','0',null,'0','6','sellbillController.php?do=showDetail&sellbillid=6'); -- id=102
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('102', '383', '110', '','0'); -- id=102
UPDATE accountstree SET name = 'الخزنة الرئيسية', customName = 'الخزنة الرئيسية', customNameEn = 'الخزنة الرئيسية', nameEn = 'الخزنة الرئيسية', parent = '40', accountNature = '0', theValue = '-39890.9', theOrder = '0', layingOrder = '12010200002', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = 'Bank and Cash ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:28' WHERE id = '383';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('102', '143', '110', '','0'); -- id=102
UPDATE accountstree SET name = 'ايرادات المبيعات ', customName = 'ايرادات المبيعات ', customNameEn = 'Revenue of Sales', nameEn = 'Revenue of Sales', parent = '142', accountNature = '1', theValue = '12609.1', theOrder = '0', layingOrder = '410101', reportid = '2', listId = '2', notes = '', itemfrom = '0', itemtype = '2', itemtype2 = '0', itemtype3 = 'Income ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:40' WHERE id = '143';
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '85.5', '85.5', '2026-09-14', '1', '0', '0', '2026-09-14 17:52:08','اضافة فاتورة مبيعات رقم 6 - صرف البضاعة من المخزن','1','0',null,'0','6','sellbillController.php?do=showDetail&sellbillid=6'); -- id=103
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('103', '402', '85.5', '','0'); -- id=103
UPDATE accountstree SET name = 'تكلفة التشغيل', customName = 'تكلفة التشغيل', customNameEn = '', nameEn = '', parent = '160', accountNature = '0', theValue = '12530.29', theOrder = '0', layingOrder = '530101', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '1', del = '0', sysdate = '2023-07-25 23:37:18' WHERE id = '402';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('103', '382', '85.5', '','0'); -- id=103
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '751831.73', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
update sellbill set dailyentryid='102,0,103' where sellbillid=6;
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES ('2026-09-14', 110, 85.5, 85.5
                    , 85.5, 85.5, 85.5, 85.5
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,85.5, 85.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+110, sellCostBuyPrice =sellCostBuyPrice+85.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+85.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+85.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+85.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+85.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+85.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+85.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+85.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 110, 85.5, 85.5
                    , 85.5, 85.5, 85.5, 85.5
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,85.5, 85.5, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+110, sellCostBuyPrice =sellCostBuyPrice+85.5
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+85.5, sellCostMeanBuyPrice = sellCostMeanBuyPrice+85.5
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+85.5, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+85.5
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+85.5
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+85.5
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+85.5
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice,netSellCostLastBuyPricewithTax,netSellCostMeanBuyPricewithTax)
                    VALUES (1, 110, 85.5, 85.5
                    , 85.5, 85.5, 85.5, 85.5, 85.5, 85.5)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+110, netSellCostBuyPrice = netSellCostBuyPrice+85.5
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+85.5
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+85.5
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+85.5
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+85.5
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+85.5
                , netSellCostLastBuyPricewithTax = netSellCostLastBuyPricewithTax+85.5
                , netSellCostMeanBuyPricewithTax = netSellCostMeanBuyPricewithTax+85.5;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 06aa817fe6c1a4 and sellbillId = 6 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:22:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:52:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 17:52:09', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=506
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:22:42";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:52:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 17:52:43', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=507
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:23:14";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:53:14", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 17:53:14', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php'); -- id=508
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:24:19";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:54:19", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 17:54:19', '1', 'invReport', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=invReport'); -- id=509
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:24:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 17:54:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 17:54:25', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=510
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:45:47";
update user set blockedByLimits = 0;
INSERT IGNORE INTO relusergroupproperties (usergroupid, propertyid, propertyvalue, theorder)
                SELECT -1,propertyid , 0,0
                from properties; -- id=0
INSERT IGNORE INTO usergroupadmin (propertyid, isallowed)
                SELECT propertyid , propertydefault
                from properties; -- id=0
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:45:58";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:15:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('index.php', '2026-09-14 18:15:59', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/index.php'); -- id=511
UPDATE product SET lastbuyprice=productBuyPrice,lastbuyprice_withDiscount=productBuyPrice,meanbuyprice=productBuyPrice,meanbuyprice_withDiscount=productBuyPrice where lastbuyprice is null;
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 < "2026-09-14 14:45:59";
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('playStationCardController.php', '2026-09-14 18:15:59', '1', 'handleExpiredCards', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/playStationCardController.php?do=handleExpiredCards'); -- id=512
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:46:02";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:16:02", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('buyBillController.php', '2026-09-14 18:16:02', '1', 'bill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/buyBillController.php?do=bill&billnameid=1'); -- id=513
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('غطاء بواط 15 في 20','','18','8.73','9.25','9.5','9.25','2026-09-14','0','1','1','','0','0','0','0','0','8.73','8.73','8.73','8.73','8.73','0','0','0','0','','0','0','0','0','0','','','0','0','0','','0','0','0','','','','','0','0','0','0','','0','0','','0','','8.73','8.73','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','0','0','0','0','0','0','','','0','0','0','0'); -- id=90
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (90, 1,'2026-09-14 18:17:11',1)
                ON DUPLICATE KEY UPDATE productid = 90, edited = 1, sysdate = '2026-09-14 18:17:11', userid = 1; -- id=97
UPDATE product SET productName = 'غطاء بواط 15 في 20', productDescription = '', productCatId = '18', productBuyPrice = '8.73', productSellAllPrice = '9.25', productSellUnitPrice = '9.5', productSellHalfPrice = '9.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00090',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '8.73',lastbuyprice_withDiscount = '8.73',meanbuyprice = '8.73',meanbuyprice_withDiscount = '8.73' , productbuypricereal = '8.73' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='8.73',meanbuyprice_withTax='8.73',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='0',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '90';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '90', '1', '2026-09-14', '1', '0','0009001','9.25','9.25','9.5','8.73','','0','0','0','0','0','0','0','0','0','0'); -- id=90
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('90', '1', '0', '1', '2026-09-14'); -- id=90
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('90', '1', '0', '0', '90', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=113
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بواط 10 في 15','','18','8.73','9','9.5','9','2026-09-14','0','1','1','','0','0','0','0','0','8.73','8.73','8.73','8.73','8.73','0','0','0','0','','0','0','0','0','0','','','0','0','0','','0','0','0','','','','','0','0','0','0','','0','0','','0','','8.73','8.73','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','0','0','0','0','0','0','','','0','0','0','0'); -- id=91
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (91, 1,'2026-09-14 18:18:50',1)
                ON DUPLICATE KEY UPDATE productid = 91, edited = 1, sysdate = '2026-09-14 18:18:50', userid = 1; -- id=98
UPDATE product SET productName = 'بواط 10 في 15', productDescription = '', productCatId = '18', productBuyPrice = '8.73', productSellAllPrice = '9', productSellUnitPrice = '9.5', productSellHalfPrice = '9', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00091',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '8.73',lastbuyprice_withDiscount = '8.73',meanbuyprice = '8.73',meanbuyprice_withDiscount = '8.73' , productbuypricereal = '8.73' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='8.73',meanbuyprice_withTax='8.73',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='0',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '91';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '91', '1', '2026-09-14', '1', '0','0009101','9','9','9.5','8.73','','0','0','0','0','0','0','0','0','0','0'); -- id=91
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('91', '1', '18', '1', '2026-09-14'); -- id=91
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('91', '1', '18', '0', '91', 'إضافة منتج', 'productController.php', '0', '18', '1', '2026-09-14','0','0'); -- id=114
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '157.14', '157.14', '2026-09-14', '1', '0', '0', '2026-09-14 18:18:51','إضافة منتج بواط 10 في 15 الكمية 18','1','0','0','0','0',''); -- id=104
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('104', '382', '157.14', '','0'); -- id=104
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '751988.87', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('104', '121', '157.14', '','0'); -- id=104
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-103406.59', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
COMMIT;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بواط 20 في20','','18','25.7','26','28','26','2026-09-14','0','1','1','','0','0','0','0','0','25.7','25.7','25.7','25.7','25.7','0','0','0','0','','0','0','0','0','0','','','0','0','0','','0','0','0','','','','','0','0','0','0','','0','0','','0','','25.7','25.7','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','0','0','0','0','0','0','','','0','0','0','0'); -- id=92
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (92, 1,'2026-09-14 18:19:53',1)
                ON DUPLICATE KEY UPDATE productid = 92, edited = 1, sysdate = '2026-09-14 18:19:53', userid = 1; -- id=99
UPDATE product SET productName = 'بواط 20 في20', productDescription = '', productCatId = '18', productBuyPrice = '25.7', productSellAllPrice = '26', productSellUnitPrice = '28', productSellHalfPrice = '26', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00092',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '25.7',lastbuyprice_withDiscount = '25.7',meanbuyprice = '25.7',meanbuyprice_withDiscount = '25.7' , productbuypricereal = '25.7' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='25.7',meanbuyprice_withTax='25.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='0',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '92';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '92', '1', '2026-09-14', '1', '0','0009201','26','26','28','25.7','','0','0','0','0','0','0','0','0','0','0'); -- id=92
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('92', '1', '3', '1', '2026-09-14'); -- id=92
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('92', '1', '3', '0', '92', 'إضافة منتج', 'productController.php', '0', '3', '1', '2026-09-14','0','0'); -- id=115
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '77.1', '77.1', '2026-09-14', '1', '0', '0', '2026-09-14 18:19:54','إضافة منتج بواط 20 في20 الكمية 3','1','0','0','0','0',''); -- id=105
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('105', '382', '77.1', '','0'); -- id=105
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '752065.97', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('105', '121', '77.1', '','0'); -- id=105
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-103329.49', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
COMMIT;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بواط 20 في 25','','18','35.89','36','38','36','2026-09-14','0','1','1','','0','0','0','0','0','35.89','35.89','35.89','35.89','35.89','0','0','0','0','','0','0','0','0','0','','','0','0','0','','0','0','0','','','','','0','0','0','0','','0','0','','0','','35.89','35.89','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','0','0','0','0','0','0','','','0','0','0','0'); -- id=93
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (93, 1,'2026-09-14 18:21:20',1)
                ON DUPLICATE KEY UPDATE productid = 93, edited = 1, sysdate = '2026-09-14 18:21:20', userid = 1; -- id=100
UPDATE product SET productName = 'بواط 20 في 25', productDescription = '', productCatId = '18', productBuyPrice = '35.89', productSellAllPrice = '36', productSellUnitPrice = '38', productSellHalfPrice = '36', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00093',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '35.89',lastbuyprice_withDiscount = '35.89',meanbuyprice = '35.89',meanbuyprice_withDiscount = '35.89' , productbuypricereal = '35.89' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='35.89',meanbuyprice_withTax='35.89',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='0',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '93';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '93', '1', '2026-09-14', '1', '0','0009301','36','36','38','35.89','','0','0','0','0','0','0','0','0','0','0'); -- id=93
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('93', '1', '0', '1', '2026-09-14'); -- id=93
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('93', '1', '0', '0', '93', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=116
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بواط 15 في 20','','18','18.43','19','19.5','19','2026-09-14','0','1','1','','0','0','0','0','0','18.43','18.43','18.43','18.43','18.43','0','0','0','0','','0','0','0','0','0','','','0','0','0','','0','0','0','','','','','0','0','0','0','','0','0','','0','','18.43','18.43','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','0','0','0','0','0','0','','','0','0','0','0'); -- id=94
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (94, 1,'2026-09-14 18:22:58',1)
                ON DUPLICATE KEY UPDATE productid = 94, edited = 1, sysdate = '2026-09-14 18:22:58', userid = 1; -- id=101
UPDATE product SET productName = 'بواط 15 في 20', productDescription = '', productCatId = '18', productBuyPrice = '18.43', productSellAllPrice = '19', productSellUnitPrice = '19.5', productSellHalfPrice = '19', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00094',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '18.43',lastbuyprice_withDiscount = '18.43',meanbuyprice = '18.43',meanbuyprice_withDiscount = '18.43' , productbuypricereal = '18.43' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='18.43',meanbuyprice_withTax='18.43',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='0',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '94';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '94', '1', '2026-09-14', '1', '0','0009401','19','19','19.5','18.43','','0','0','0','0','0','0','0','0','0','0'); -- id=94
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('94', '1', '41', '1', '2026-09-14'); -- id=94
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('94', '1', '41', '0', '94', 'إضافة منتج', 'productController.php', '0', '41', '1', '2026-09-14','0','0'); -- id=117
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '755.63', '755.63', '2026-09-14', '1', '0', '0', '2026-09-14 18:22:59','إضافة منتج بواط 15 في 20 الكمية 41','1','0','0','0','0',''); -- id=106
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('106', '382', '755.63', '','0'); -- id=106
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '752821.6', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('106', '121', '755.63', '','0'); -- id=106
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-102573.86', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:53:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:23:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('buyBillController.php', '2026-09-14 18:23:22', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/buyBillController.php?do=add'); -- id=514
BEGIN;
INSERT INTO buybill (buybillSerial, buybilldate, buybillsupplierid, buybilltotaldeptbefor, buybilltotaldeptafter, buybilldiscount, buybilldiscountrype, buybilltotalbill, buybillaftertotalbill, buybilltotalpayed, buybillfinalbill, buybillstoreid, buybillsysdate,comment, userid, conditions, buybillclientname, buybillsaveid, buybilldirectpayment, billnameid,payedtax,costcenterid,dailyentryid,delbyuserid,currencyId,taxOfDiscountPer,taxOfDiscountVal,files,client,totalBuyDiscountVal,webApiId,buybilladdition,buybilladditiontrype,tagids) VALUES ('06aa81dc431586', '2026-09-14 18:16:04', '1', '0.00', '0.43000000000029', '0', '0', '4407.43',  '4407.43', '4407', '0.43000000000029', '1', '2026-09-14 18:23:22', '', '1', '0', '', '1','1','1','0.00','-1','0','0','1','0','0','.','0','0','0','0','0',''); -- id=2
INSERT INTO buybilldetail (Parcode, buybillid, buybilldetailcatid, buybilldetailproductid, buybilldetailquantity, buybilldetailprice, buybilldetailtotalprice, discountvalue, note, buybilldetaildate, productunitid,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,quantitybefore, buybilldetailpriceC, buybilldetailtotalpriceC, discountvalueC,discounttype,rowtaxval,rowtaxper,lastbuyprice_withTax,meanbuyprice_withTax,probuyDiscountPer,lastbuyprice_withDiscountAndTax,storeid) VALUES ('00090', '2', '18', '90', '50', '8.73', '436.50', '0', '', '2026-09-14 18:23:22', '90','','','0','0','0','0','0',null,'8.73','436.5','0','0','0','0','0','0','0','0','1'); -- id=3
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2026-09-14 18:16:04', 1, 90, 0, 0
                    , 8.73, 50, 0, 0, 1, '2026-09-14 18:23:23')
                ON DUPLICATE KEY UPDATE buyprice = 8.73,
                        buyQuantity =buyQuantity+50, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2026-09-14 18:23:23' ; -- id=3
INSERT INTO entryproductspurchased (productid, price, productquantity, soldquantity, tablename, modelid, expirationDate, priority, del) VALUES ('90', '8.73', '50', '0', 'buyBillController.php', '3', '', '0', '0'); -- id=3
UPDATE product SET  productBuyPrice = "8.73" WHERE productId = 90 ;
UPDATE buybilldetail SET  quantitybefore = 0 WHERE buybilldetailid = 3 ;
UPDATE product SET productName = 'غطاء بواط 15 في 20', productDescription = '', productCatId = '18', productBuyPrice = '8.73', productSellAllPrice = '9.25', productSellUnitPrice = '9.50', productSellHalfPrice = '9.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00090',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '8.73',lastbuyprice_withDiscount = '8.73',meanbuyprice = '8.73',meanbuyprice_withDiscount = '8.73' , productbuypricereal = '8.73' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.00' , buyhalf_precentage = '0.00' , buypart_precentage = '0.00',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='8.73',meanbuyprice_withTax='8.73',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='8.73',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '90';
UPDATE buybilldetail SET  lastbuyprice = 8.73 , meanbuyprice = 8.73, lastbuyprice_withDiscount = 8.73, meanbuyprice_withDiscount = 8.73
        , lastbuyprice_withTax = 8.73, meanbuyprice_withTax = 8.73, lastbuyprice_withDiscountAndTax = 8.73
                where buybilldetailid = 3;
UPDATE productunit SET proUnitBuyPrice  = 8.73 * productnumber WHERE productid = 90;
UPDATE storedetail SET  productquantity = '50', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '90';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('90', '1', '50', '0', '2', 'اضافة فاتورة مشتريات', 'buyBillController.php', '0', '50', '1', '2026-09-14 18:16:04','0','0'); -- id=118
INSERT INTO buybilldetail (Parcode, buybillid, buybilldetailcatid, buybilldetailproductid, buybilldetailquantity, buybilldetailprice, buybilldetailtotalprice, discountvalue, note, buybilldetaildate, productunitid,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,quantitybefore, buybilldetailpriceC, buybilldetailtotalpriceC, discountvalueC,discounttype,rowtaxval,rowtaxper,lastbuyprice_withTax,meanbuyprice_withTax,probuyDiscountPer,lastbuyprice_withDiscountAndTax,storeid) VALUES ('00091', '2', '18', '91', '100', '8.73', '873.00', '0', '', '2026-09-14 18:23:22', '91','','','0','0','0','0','0',null,'8.73','873','0','0','0','0','0','0','0','0','1'); -- id=4
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2026-09-14 18:16:04', 1, 91, 0, 0
                    , 8.73, 100, 0, 0, 1, '2026-09-14 18:23:24')
                ON DUPLICATE KEY UPDATE buyprice = 8.73,
                        buyQuantity =buyQuantity+100, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2026-09-14 18:23:24' ; -- id=4
INSERT INTO entryproductspurchased (productid, price, productquantity, soldquantity, tablename, modelid, expirationDate, priority, del) VALUES ('91', '8.73', '100', '0', 'buyBillController.php', '4', '', '0', '0'); -- id=4
UPDATE product SET  productBuyPrice = "8.73" WHERE productId = 91 ;
UPDATE buybilldetail SET  quantitybefore = 18 WHERE buybilldetailid = 4 ;
UPDATE product SET productName = 'بواط 10 في 15', productDescription = '', productCatId = '18', productBuyPrice = '8.73', productSellAllPrice = '9.00', productSellUnitPrice = '9.50', productSellHalfPrice = '9.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00091',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '8.73',lastbuyprice_withDiscount = '8.73',meanbuyprice = '8.73',meanbuyprice_withDiscount = '8.73' , productbuypricereal = '8.73' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.00' , buyhalf_precentage = '0.00' , buypart_precentage = '0.00',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='8.73',meanbuyprice_withTax='8.73',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='8.73',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '91';
UPDATE buybilldetail SET  lastbuyprice = 8.73 , meanbuyprice = 8.73, lastbuyprice_withDiscount = 8.73, meanbuyprice_withDiscount = 8.73
        , lastbuyprice_withTax = 8.73, meanbuyprice_withTax = 8.73, lastbuyprice_withDiscountAndTax = 8.73
                where buybilldetailid = 4;
UPDATE productunit SET proUnitBuyPrice  = 8.73 * productnumber WHERE productid = 91;
UPDATE storedetail SET  productquantity = '118', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '91';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('91', '1', '100', '0', '2', 'اضافة فاتورة مشتريات', 'buyBillController.php', '18', '118', '1', '2026-09-14 18:16:04','0','0'); -- id=119
INSERT INTO buybilldetail (Parcode, buybillid, buybilldetailcatid, buybilldetailproductid, buybilldetailquantity, buybilldetailprice, buybilldetailtotalprice, discountvalue, note, buybilldetaildate, productunitid,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,quantitybefore, buybilldetailpriceC, buybilldetailtotalpriceC, discountvalueC,discounttype,rowtaxval,rowtaxper,lastbuyprice_withTax,meanbuyprice_withTax,probuyDiscountPer,lastbuyprice_withDiscountAndTax,storeid) VALUES ('00092', '2', '18', '92', '50', '25.7', '1285.00', '0', '', '2026-09-14 18:23:22', '92','','','0','0','0','0','0',null,'25.7','1285','0','0','0','0','0','0','0','0','1'); -- id=5
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2026-09-14 18:16:04', 1, 92, 0, 0
                    , 25.7, 50, 0, 0, 1, '2026-09-14 18:23:25')
                ON DUPLICATE KEY UPDATE buyprice = 25.7,
                        buyQuantity =buyQuantity+50, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2026-09-14 18:23:25' ; -- id=5
INSERT INTO entryproductspurchased (productid, price, productquantity, soldquantity, tablename, modelid, expirationDate, priority, del) VALUES ('92', '25.7', '50', '0', 'buyBillController.php', '5', '', '0', '0'); -- id=5
UPDATE product SET  productBuyPrice = "25.7" WHERE productId = 92 ;
UPDATE buybilldetail SET  quantitybefore = 3 WHERE buybilldetailid = 5 ;
UPDATE product SET productName = 'بواط 20 في20', productDescription = '', productCatId = '18', productBuyPrice = '25.70', productSellAllPrice = '26.00', productSellUnitPrice = '28.00', productSellHalfPrice = '26.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00092',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '25.7',lastbuyprice_withDiscount = '25.7',meanbuyprice = '25.7',meanbuyprice_withDiscount = '25.7' , productbuypricereal = '25.70' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.00' , buyhalf_precentage = '0.00' , buypart_precentage = '0.00',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='25.7',meanbuyprice_withTax='25.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='25.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '92';
UPDATE buybilldetail SET  lastbuyprice = 25.7 , meanbuyprice = 25.7, lastbuyprice_withDiscount = 25.7, meanbuyprice_withDiscount = 25.7
        , lastbuyprice_withTax = 25.7, meanbuyprice_withTax = 25.7, lastbuyprice_withDiscountAndTax = 25.7
                where buybilldetailid = 5;
UPDATE productunit SET proUnitBuyPrice  = 25.7 * productnumber WHERE productid = 92;
UPDATE storedetail SET  productquantity = '53', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '92';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('92', '1', '50', '0', '2', 'اضافة فاتورة مشتريات', 'buyBillController.php', '3', '53', '1', '2026-09-14 18:16:04','0','0'); -- id=120
INSERT INTO buybilldetail (Parcode, buybillid, buybilldetailcatid, buybilldetailproductid, buybilldetailquantity, buybilldetailprice, buybilldetailtotalprice, discountvalue, note, buybilldetaildate, productunitid,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,quantitybefore, buybilldetailpriceC, buybilldetailtotalpriceC, discountvalueC,discounttype,rowtaxval,rowtaxper,lastbuyprice_withTax,meanbuyprice_withTax,probuyDiscountPer,lastbuyprice_withDiscountAndTax,storeid) VALUES ('00093', '2', '18', '93', '50', '35.89', '1794.50', '0', '', '2026-09-14 18:23:22', '93','','','0','0','0','0','0',null,'35.89','1794.5','0','0','0','0','0','0','0','0','1'); -- id=6
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2026-09-14 18:16:04', 1, 93, 0, 0
                    , 35.89, 50, 0, 0, 1, '2026-09-14 18:23:26')
                ON DUPLICATE KEY UPDATE buyprice = 35.89,
                        buyQuantity =buyQuantity+50, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2026-09-14 18:23:26' ; -- id=6
INSERT INTO entryproductspurchased (productid, price, productquantity, soldquantity, tablename, modelid, expirationDate, priority, del) VALUES ('93', '35.89', '50', '0', 'buyBillController.php', '6', '', '0', '0'); -- id=6
UPDATE product SET  productBuyPrice = "35.89" WHERE productId = 93 ;
UPDATE buybilldetail SET  quantitybefore = 0 WHERE buybilldetailid = 6 ;
UPDATE product SET productName = 'بواط 20 في 25', productDescription = '', productCatId = '18', productBuyPrice = '35.89', productSellAllPrice = '36.00', productSellUnitPrice = '38.00', productSellHalfPrice = '36.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00093',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '35.89',lastbuyprice_withDiscount = '35.89',meanbuyprice = '35.89',meanbuyprice_withDiscount = '35.89' , productbuypricereal = '35.89' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.00' , buyhalf_precentage = '0.00' , buypart_precentage = '0.00',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='35.89',meanbuyprice_withTax='35.89',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='35.89',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '93';
UPDATE buybilldetail SET  lastbuyprice = 35.89 , meanbuyprice = 35.89, lastbuyprice_withDiscount = 35.89, meanbuyprice_withDiscount = 35.89
        , lastbuyprice_withTax = 35.89, meanbuyprice_withTax = 35.89, lastbuyprice_withDiscountAndTax = 35.89
                where buybilldetailid = 6;
UPDATE productunit SET proUnitBuyPrice  = 35.89 * productnumber WHERE productid = 93;
UPDATE storedetail SET  productquantity = '50', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '93';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('93', '1', '50', '0', '2', 'اضافة فاتورة مشتريات', 'buyBillController.php', '0', '50', '1', '2026-09-14 18:16:04','0','0'); -- id=121
INSERT INTO buybilldetail (Parcode, buybillid, buybilldetailcatid, buybilldetailproductid, buybilldetailquantity, buybilldetailprice, buybilldetailtotalprice, discountvalue, note, buybilldetaildate, productunitid,lastbuyprice,meanbuyprice,lastbuyprice_withDiscount,meanbuyprice_withDiscount,otherdetailquantity,sizeid,colorid,quantitybefore, buybilldetailpriceC, buybilldetailtotalpriceC, discountvalueC,discounttype,rowtaxval,rowtaxper,lastbuyprice_withTax,meanbuyprice_withTax,probuyDiscountPer,lastbuyprice_withDiscountAndTax,storeid) VALUES ('00094', '2', '18', '94', '1', '18.43', '18.43', '0', '', '2026-09-14 18:23:22', '94','','','0','0','0','0','0',null,'18.43','18.43','0','0','0','0','0','0','0','0','1'); -- id=7
INSERT INTO buypriceshistorybook (theDate, storeId, productid, sizeid, colorid, buyprice, buyQuantity, sellQuantity, del, userid, sysDate)
                    VALUES ('2026-09-14 18:16:04', 1, 94, 0, 0
                    , 18.43, 1, 0, 0, 1, '2026-09-14 18:23:26')
                ON DUPLICATE KEY UPDATE buyprice = 18.43,
                        buyQuantity =buyQuantity+1, sellQuantity = sellQuantity+0,
                        del = 0,userid = 1,sysDate = '2026-09-14 18:23:26' ; -- id=7
INSERT INTO entryproductspurchased (productid, price, productquantity, soldquantity, tablename, modelid, expirationDate, priority, del) VALUES ('94', '18.43', '1', '0', 'buyBillController.php', '7', '', '0', '0'); -- id=7
UPDATE product SET  productBuyPrice = "18.43" WHERE productId = 94 ;
UPDATE buybilldetail SET  quantitybefore = 41 WHERE buybilldetailid = 7 ;
UPDATE product SET productName = 'بواط 15 في 20', productDescription = '', productCatId = '18', productBuyPrice = '18.43', productSellAllPrice = '19.00', productSellUnitPrice = '19.50', productSellHalfPrice = '19.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '1', parcode = '00094',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '18.43',lastbuyprice_withDiscount = '18.43',meanbuyprice = '18.43',meanbuyprice_withDiscount = '18.43' , productbuypricereal = '18.43' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.00' , buyhalf_precentage = '0.00' , buypart_precentage = '0.00',logo = '',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='0',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='18.43',meanbuyprice_withTax='18.43',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='18.43',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '94';
UPDATE buybilldetail SET  lastbuyprice = 18.43 , meanbuyprice = 18.43, lastbuyprice_withDiscount = 18.43, meanbuyprice_withDiscount = 18.43
        , lastbuyprice_withTax = 18.43, meanbuyprice_withTax = 18.43, lastbuyprice_withDiscountAndTax = 18.43
                where buybilldetailid = 7;
UPDATE productunit SET proUnitBuyPrice  = 18.43 * productnumber WHERE productid = 94;
UPDATE storedetail SET  productquantity = '42', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '94';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('94', '1', '1', '0', '2', 'اضافة فاتورة مشتريات', 'buyBillController.php', '41', '42', '1', '2026-09-14 18:16:04','0','0'); -- id=122
UPDATE supplier SET  suppliercurrentDebt = '0.43000000000029',suppliercurrentDebtInCurrency= '0.43000000000029' , userid = '1', supplierdate = '2026-09-14 18:23:22'   WHERE supplierid = '1';
INSERT INTO supplierdebtchange (supplierid, supplierdebtchangebefore, supplierdebtchangeamount, supplierdebtchangetype, processname, supplierdebtchangemodelid, supplierdebtchangeafter, supplierdebtchangedate, userid, tablename, comment, dailyentryid,saveid, costcenterid,currencyId,conversionFactor,payedInCurrency,saveConversionFactor,debtchangbeforeInSupplierCurrency,debtchangamountInSupplierCurrency,debtchangafterInSupplierCurrency,paySerialNo,tagids) VALUES ('1', '0.00', '0.43000000000029', '0', 'اضافة فاتورة مشتريات', '2', '0.43000000000029', '2026-09-14 18:16:04', '1', 'buyBillController.php', 'اضافة فاتورة مشتريات', '0','', '0','1','1','0.43000000000029','1','0','0.43000000000029','0.43000000000029','0',''); -- id=10
UPDATE save SET  savecurrentvalue = '-44297.9',  userid = '1' WHERE saveid = '1';
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note,clientdebtchangeidfk) VALUES ('-39890.90','4407', '1', '1', 'اضافة فاتورة مشتريات', '2', '-44297.9', '2026-09-14 18:16:04', '1',  'buyBillController.php','0','','0'); -- id=10
update buybill set dailyentryid='0,0' where buybillid=2;
COMMIT;
UPDATE product SET overAllAveragePrice = 8.73 WHERE productId = 90;UPDATE product SET overAllAveragePrice = 8.73 WHERE productId = 91;UPDATE product SET overAllAveragePrice = 25.7 WHERE productId = 92;UPDATE product SET overAllAveragePrice = 35.89 WHERE productId = 93;UPDATE product SET overAllAveragePrice = 18.43 WHERE productId = 94;;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:53:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:23:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('buyBillController.php', '2026-09-14 18:23:28', '1', 'editprint', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/buyBillController.php?do=editprint&id=2'); -- id=515
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:53:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:23:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 18:23:49', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=516
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:53:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:23:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 18:23:55', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=517
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:57:34";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:27:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 18:27:34', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=518
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بواط 10 في 10','','18','5.82','6.5','7','6.5','2026-09-14','0','1','0','','0','0','0','0','0','5.82','5.82','5.82','5.82','5.82','0','11.68','11.68','20.27','.','0','0','0','5.82','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','5.82','5.82','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','5.82','0','0','0','0','0','0','','','0','0','0','0'); -- id=95
UPDATE product SET productName = 'بواط 10 في 10', productDescription = '', productCatId = '18', productBuyPrice = '5.82', productSellAllPrice = '6.5', productSellUnitPrice = '7', productSellHalfPrice = '6.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00095',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.82',lastbuyprice_withDiscount = '5.82',meanbuyprice = '5.82',meanbuyprice_withDiscount = '5.82' , productbuypricereal = '5.82' , buypricereal_precentage = '0' , buytotal_precentage = '11.68' , buyhalf_precentage = '11.68' , buypart_precentage = '20.27',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.82',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.82',meanbuyprice_withTax='5.82',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.82',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '95';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '95', '1', '2026-09-14', '1', '0','0009501','6.5','6.5','7','5.82','','0','0','0','0','0','0','0','0','0','0'); -- id=95
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('95', '1', '84', '1', '2026-09-14'); -- id=95
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('95', '1', '84', '0', '95', 'إضافة منتج', 'productController.php', '0', '84', '1', '2026-09-14','0','0'); -- id=123
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (95, 1,'2026-09-14 18:27:36',1)
                ON DUPLICATE KEY UPDATE productid = 95, edited = 1, sysdate = '2026-09-14 18:27:36', userid = 1; -- id=102
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '488.88', '488.88', '2026-09-14', '1', '0', '0', '2026-09-14 18:27:36','إضافة منتج بواط 10 في 10 الكمية 84','1','0','0','0','95','productController.php?do=edit&id=95'); -- id=107
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('107', '382', '488.88', '','0'); -- id=107
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '753310.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('107', '121', '488.88', '','0'); -- id=107
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-102084.98', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بواط 10 في 10', productDescription = '', productCatId = '18', productBuyPrice = '5.82', productSellAllPrice = '6.50', productSellUnitPrice = '7.00', productSellHalfPrice = '6.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00095',type ='0', expireDate = '0' , dailyentryId = '107',isService = '0',isOptic = '0',lastbuyprice = '5.82',lastbuyprice_withDiscount = '5.82',meanbuyprice = '5.82',meanbuyprice_withDiscount = '5.82' , productbuypricereal = '5.82' , buypricereal_precentage = '0' , buytotal_precentage = '11.68' , buyhalf_precentage = '11.68' , buypart_precentage = '20.27',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.82',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.82',meanbuyprice_withTax='5.82',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.82',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '95';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('غطاء بواط 10 في 15','','18','4.85','5.5','5.5','5.5','2026-09-14','0','1','0','','0','0','0','0','0','4.85','4.85','4.85','4.85','4.85','0','13.4','13.4','13.4','.','0','0','0','4.85','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','4.85','4.85','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','4.85','0','0','0','0','0','0','','','0','0','0','0'); -- id=96
UPDATE product SET productName = 'غطاء بواط 10 في 15', productDescription = '', productCatId = '18', productBuyPrice = '4.85', productSellAllPrice = '5.5', productSellUnitPrice = '5.5', productSellHalfPrice = '5.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00096',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '4.85',lastbuyprice_withDiscount = '4.85',meanbuyprice = '4.85',meanbuyprice_withDiscount = '4.85' , productbuypricereal = '4.85' , buypricereal_precentage = '0' , buytotal_precentage = '13.4' , buyhalf_precentage = '13.4' , buypart_precentage = '13.4',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4.85',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4.85',meanbuyprice_withTax='4.85',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4.85',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '96';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '96', '1', '2026-09-14', '1', '0','0009601','5.5','5.5','5.5','4.85','','0','0','0','0','0','0','0','0','0','0'); -- id=96
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('96', '1', '0', '1', '2026-09-14'); -- id=96
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('96', '1', '0', '0', '96', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=124
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (96, 1,'2026-09-14 18:27:38',1)
                ON DUPLICATE KEY UPDATE productid = 96, edited = 1, sysdate = '2026-09-14 18:27:38', userid = 1; -- id=103
UPDATE product SET productName = 'غطاء بواط 10 في 15', productDescription = '', productCatId = '18', productBuyPrice = '4.85', productSellAllPrice = '5.50', productSellUnitPrice = '5.50', productSellHalfPrice = '5.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00096',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '4.85',lastbuyprice_withDiscount = '4.85',meanbuyprice = '4.85',meanbuyprice_withDiscount = '4.85' , productbuypricereal = '4.85' , buypricereal_precentage = '0' , buytotal_precentage = '13.4' , buyhalf_precentage = '13.4' , buypart_precentage = '13.4',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4.85',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4.85',meanbuyprice_withTax='4.85',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4.85',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '96';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('غطاء يواط 20 في 20','','18','12.61','14','14','14','2026-09-14','0','1','0','','0','0','0','0','0','12.61','12.61','12.61','12.61','12.61','0','11.02','0','0','.','0','0','0','12.61','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','12.61','12.61','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','12.61','0','0','0','0','0','0','','','0','0','0','0'); -- id=97
UPDATE product SET productName = 'غطاء يواط 20 في 20', productDescription = '', productCatId = '18', productBuyPrice = '12.61', productSellAllPrice = '14', productSellUnitPrice = '14', productSellHalfPrice = '14', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00097',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '12.61',lastbuyprice_withDiscount = '12.61',meanbuyprice = '12.61',meanbuyprice_withDiscount = '12.61' , productbuypricereal = '12.61' , buypricereal_precentage = '0' , buytotal_precentage = '11.02' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='12.61',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='12.61',meanbuyprice_withTax='12.61',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='12.61',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '97';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '97', '1', '2026-09-14', '1', '0','0009701','14','14','14','12.61','','0','0','0','0','0','0','0','0','0','0'); -- id=97
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('97', '1', '0', '1', '2026-09-14'); -- id=97
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('97', '1', '0', '0', '97', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=125
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (97, 1,'2026-09-14 18:27:39',1)
                ON DUPLICATE KEY UPDATE productid = 97, edited = 1, sysdate = '2026-09-14 18:27:39', userid = 1; -- id=104
UPDATE product SET productName = 'غطاء يواط 20 في 20', productDescription = '', productCatId = '18', productBuyPrice = '12.61', productSellAllPrice = '14.00', productSellUnitPrice = '14.00', productSellHalfPrice = '14.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00097',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '12.61',lastbuyprice_withDiscount = '12.61',meanbuyprice = '12.61',meanbuyprice_withDiscount = '12.61' , productbuypricereal = '12.61' , buypricereal_precentage = '0' , buytotal_precentage = '11.02' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='12.61',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='12.61',meanbuyprice_withTax='12.61',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='12.61',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '97';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('غطاء بواط 20 في 25','','18','16.49','17.5','18','17.5','2026-09-14','0','1','0','','0','0','0','0','0','16.49','16.49','16.49','16.49','16.49','0','6.12','6.12','9.16','.','0','0','0','16.49','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','16.49','16.49','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','16.49','0','0','0','0','0','0','','','0','0','0','0'); -- id=98
UPDATE product SET productName = 'غطاء بواط 20 في 25', productDescription = '', productCatId = '18', productBuyPrice = '16.49', productSellAllPrice = '17.5', productSellUnitPrice = '18', productSellHalfPrice = '17.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00098',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '16.49',lastbuyprice_withDiscount = '16.49',meanbuyprice = '16.49',meanbuyprice_withDiscount = '16.49' , productbuypricereal = '16.49' , buypricereal_precentage = '0' , buytotal_precentage = '6.12' , buyhalf_precentage = '6.12' , buypart_precentage = '9.16',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16.49',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16.49',meanbuyprice_withTax='16.49',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16.49',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '98';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '98', '1', '2026-09-14', '1', '0','0009801','17.5','17.5','18','16.49','','0','0','0','0','0','0','0','0','0','0'); -- id=98
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('98', '1', '0', '1', '2026-09-14'); -- id=98
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('98', '1', '0', '0', '98', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=126
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (98, 1,'2026-09-14 18:27:41',1)
                ON DUPLICATE KEY UPDATE productid = 98, edited = 1, sysdate = '2026-09-14 18:27:41', userid = 1; -- id=105
UPDATE product SET productName = 'غطاء بواط 20 في 25', productDescription = '', productCatId = '18', productBuyPrice = '16.49', productSellAllPrice = '17.50', productSellUnitPrice = '18.00', productSellHalfPrice = '17.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00098',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '16.49',lastbuyprice_withDiscount = '16.49',meanbuyprice = '16.49',meanbuyprice_withDiscount = '16.49' , productbuypricereal = '16.49' , buypricereal_precentage = '0' , buytotal_precentage = '6.12' , buyhalf_precentage = '6.12' , buypart_precentage = '9.16',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16.49',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16.49',meanbuyprice_withTax='16.49',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16.49',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '98';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('غطاء بواط 10 في 10','','18','5.82','6.5','6.5','6.5','2026-09-14','0','1','0','','0','0','0','0','0','5.82','5.82','5.82','5.82','5.82','0','11.68','0','0','.','0','0','0','5.82','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','5.82','5.82','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','5.82','0','0','0','0','0','0','','','0','0','0','0'); -- id=99
UPDATE product SET productName = 'غطاء بواط 10 في 10', productDescription = '', productCatId = '18', productBuyPrice = '5.82', productSellAllPrice = '6.5', productSellUnitPrice = '6.5', productSellHalfPrice = '6.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00099',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.82',lastbuyprice_withDiscount = '5.82',meanbuyprice = '5.82',meanbuyprice_withDiscount = '5.82' , productbuypricereal = '5.82' , buypricereal_precentage = '0' , buytotal_precentage = '11.68' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.82',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.82',meanbuyprice_withTax='5.82',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.82',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '99';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '99', '1', '2026-09-14', '1', '0','0009901','6.5','6.5','6.5','5.82','','0','0','0','0','0','0','0','0','0','0'); -- id=99
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('99', '1', '0', '1', '2026-09-14'); -- id=99
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('99', '1', '0', '0', '99', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=127
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (99, 1,'2026-09-14 18:27:43',1)
                ON DUPLICATE KEY UPDATE productid = 99, edited = 1, sysdate = '2026-09-14 18:27:43', userid = 1; -- id=106
UPDATE product SET productName = 'غطاء بواط 10 في 10', productDescription = '', productCatId = '18', productBuyPrice = '5.82', productSellAllPrice = '6.50', productSellUnitPrice = '6.50', productSellHalfPrice = '6.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00099',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '5.82',lastbuyprice_withDiscount = '5.82',meanbuyprice = '5.82',meanbuyprice_withDiscount = '5.82' , productbuypricereal = '5.82' , buypricereal_precentage = '0' , buytotal_precentage = '11.68' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='5.82',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='5.82',meanbuyprice_withTax='5.82',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='5.82',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '99';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 14:57:45";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 18:27:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 18:27:45', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=519
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 15:32:27";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 19:02:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 19:02:32', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=520
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 15:33:01";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 19:03:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 19:03:01', '1', 'addAndRetuen', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addAndRetuen'); -- id=521

-- ----------------------------------------------------------------------------------------------------
-- bill add start - with serial 06aa828a94bab4
-- ----------------------------------------------------------------------------------------------------

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,qrerpid,qrerpids,autoSaveFlag,ereason,estatus,epdf,obgyBillType,billoperationid,datestarting,pricetype,currencyId,knownwayId,travelDriverId,travelBusId,travelPathId,travelTripId,travelTripTypeId,travelTripDateId,totalprodiscount,manage_ex,med_hallmark,pay_rec_no,pay_rec_val,decisionNo,decisionValue,sellToSupplier,supplierbuybillid,sellbilltypeclientid,shipfrom,shipto,paymethodshipping,whatShippingCost,clientaddress,tagids,obgyRefDoc,addressid,couponid,paymenttypeid,paymentdetails) VALUES ('2026-09-14 19:03:01', '06aa828a94bab4', '1', '0.00', '0', '0', '1', '1060.00', '1060', '1060', '0', '1', '2026-09-14 19:03:01', '', '1', '0', 'نقدي', '1', '0', '3', '0', 'نقدي', '4' ,'0','','','','','-1','0','0','0','0','0','1060','0','','0','0','1060','0','0','0','0','0','0','0','0','','','','0','','0','','0','-1','2026-09-14','0','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','','','0','0','0',''); -- id=7
UPDATE client SET  clientdebt = '0', userid = '1' 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,userSelectedDate,paySerialNo,totalpayments,tagids,file) VALUES ('1','0.00','0','0','اضافة فاتورة مبيعات','7', '0', '2026-09-14 19:03:02', '1', 'sellbillController.php', 'اضافة فاتورة مبيعات', '1060', '0', null, '0', null, null,'', '0','1','1','0','1','2026-09-14 19:03:01','0','0','',''); -- id=9
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,proHeight,proWidth,lastbuyprice_withTax,meanbuyprice_withTax,sellbilldetailpriceC,sellbilldetailtotalpriceC,discountvalueC,proSellTrackingSerial,travelBrokerId,categorydiscount,lastbuyprice_withDiscountAndTax,prosellDiscountPer,prosellDiscountPerType,prosellDiscountVal) VALUES ('255','00035', '7', '8', '35', '4', '265', '1060', '0', '', '0', '2026-09-14 19:03:02', '35', '0.00', '-1', '1','0.00','','','0','0','0','0','0','0','0','0','','','1','1','0','0','265','1060','0','','0','0.00','0','0','0','0'); -- id=21
UPDATE sellbilldetail SET  lastbuyprice = 255.00 , meanbuyprice = 255.00, lastbuyprice_withDiscount = 255.00, meanbuyprice_withDiscount = 255.00
        , lastbuyprice_withTax = 255, meanbuyprice_withTax = 255, lastbuyprice_withDiscountAndTax = 255
                where sellbilldetailid = 21;
 INSERT INTO quickprofitproduct (productId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,netQuantity,netQuantityRet,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (35, '2026-09-14', 1060, 1020, 1020
                    , 1020, 1020, 1020, 1020
                    , 0, 0, 0, 0
                    , 0, 0, 0, 4, 0, 1020, 1020, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1060, sellCostBuyPrice =sellCostBuyPrice+1020
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1020, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1020
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1020, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1020
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+1020
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+1020
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+1020
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0
                        , netQuantity = netQuantity+4
                        , netQuantityRet = netQuantityRet+0;
 INSERT INTO quickprofitstore (storeId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount, returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 1060, 1020, 1020
                    , 1020, 1020, 1020, 1020
                    , 0, 0, 0, 0
                    , 0, 0, 0, 1020, 1020, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1060, sellCostBuyPrice =sellCostBuyPrice+1020
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1020, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1020
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1020, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1020
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+1020
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+1020
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+1020
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
UPDATE storedetail SET  productquantity = '32', userid = '1', storedetaildate = '2026-09-14 19:03:02' WHERE storedetailid = '35';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('35', '1', '4', '1', '7', 'اضافة فاتورة مبيعات', 'sellbillController.php', '36', '32', '1', '2026-09-14 19:03:02','0','0'); -- id=128
CALL saveInUse(1,@saveidis,@savecurrentvalueis,@currencyIdis,@treeIdis,@conversionFactoris);
UPDATE save SET  savecurrentvalue = '-43237.8984375',  userid = '1' WHERE saveid = '1';
UPDATE save SET  inUse = 0 where saveid = 1;
INSERT INTO savedaily (savedailysavebefore, savedailychangeamount, savedailychangetype, saveid, processname, savedailymodelid, savedailysaveafter, savedailydate, userid, tablename,clientid ,note,clientdebtchangeidfk) VALUES ('-44297.8984375','1060', '0', '1', 'اضافة فاتورة مبيعات', '7', '-43237.8984375', '2026-09-14 19:03:03', '1',  'sellbillController.php','1','','0'); -- id=11
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1060', '1060', '2026-09-14', '1', '0', '0', '2026-09-14 19:03:03','اضافة فاتورة مبيعات رقم 7','1','0',null,'0','7','sellbillController.php?do=showDetail&sellbillid=7'); -- id=108
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('108', '383', '1060', '','0'); -- id=108
UPDATE accountstree SET name = 'الخزنة الرئيسية', customName = 'الخزنة الرئيسية', customNameEn = 'الخزنة الرئيسية', nameEn = 'الخزنة الرئيسية', parent = '40', accountNature = '0', theValue = '-38830.9', theOrder = '0', layingOrder = '12010200002', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = 'Bank and Cash ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:28' WHERE id = '383';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('108', '143', '1060', '','0'); -- id=108
UPDATE accountstree SET name = 'ايرادات المبيعات ', customName = 'ايرادات المبيعات ', customNameEn = 'Revenue of Sales', nameEn = 'Revenue of Sales', parent = '142', accountNature = '1', theValue = '13669.1', theOrder = '0', layingOrder = '410101', reportid = '2', listId = '2', notes = '', itemfrom = '0', itemtype = '2', itemtype2 = '0', itemtype3 = 'Income ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:40' WHERE id = '143';
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1020', '1020', '2026-09-14', '1', '0', '0', '2026-09-14 19:03:03','اضافة فاتورة مبيعات رقم 7 - صرف البضاعة من المخزن','1','0',null,'0','7','sellbillController.php?do=showDetail&sellbillid=7'); -- id=109
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('109', '402', '1020', '','0'); -- id=109
UPDATE accountstree SET name = 'تكلفة التشغيل', customName = 'تكلفة التشغيل', customNameEn = '', nameEn = '', parent = '160', accountNature = '0', theValue = '13550.29', theOrder = '0', layingOrder = '530101', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '1', del = '0', sysdate = '2023-07-25 23:37:18' WHERE id = '402';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('109', '382', '1020', '','0'); -- id=109
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '752290.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
update sellbill set dailyentryid='108,0,109' where sellbillid=7;
 INSERT INTO quickprofitday (theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES ('2026-09-14', 1060, 1020, 1020
                    , 1020, 1020, 1020, 1020
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,1020, 1020, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1060, sellCostBuyPrice =sellCostBuyPrice+1020
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1020, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1020
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1020, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1020
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+1020
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+1020
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+1020
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitclient (clientId, theDate, sellVal, sellCostBuyPrice, sellCostLastBuyPrice, sellCostMeanBuyPrice, sellCostLastBuyPricewithDiscount, sellCostMeanBuyPricewithDiscount, sellCostOverAllAveragePrice, returnSellVal, returnSellCostBuyPrice, returnSellCostLastBuyPrice, returnSellCostMeanBuyPrice, returnSellCostLastBuyPricewithDiscount, returnSellCostMeanBuyPricewithDiscount,returnSellCostOverAllAveragePrice,sellCostLastBuyPricewithTax,sellCostMeanBuyPricewithTax,returnSellCostLastBuyPricewithTax,returnSellCostMeanBuyPricewithTax)
                    VALUES (1, '2026-09-14', 1060, 1020, 1020
                    , 1020, 1020, 1020, 1020
                    , 0, 0, 0, 0
                    , 0, 0, 0 ,1020, 1020, 0, 0)
                ON DUPLICATE KEY UPDATE sellVal = sellVal+1060, sellCostBuyPrice =sellCostBuyPrice+1020
                        , sellCostLastBuyPrice = sellCostLastBuyPrice+1020, sellCostMeanBuyPrice = sellCostMeanBuyPrice+1020
                        , sellCostLastBuyPricewithDiscount = sellCostLastBuyPricewithDiscount+1020, sellCostMeanBuyPricewithDiscount = sellCostMeanBuyPricewithDiscount+1020
                            , sellCostOverAllAveragePrice = sellCostOverAllAveragePrice+1020
                            , sellCostLastBuyPricewithTax = sellCostLastBuyPricewithTax+1020
                            , sellCostMeanBuyPricewithTax = sellCostMeanBuyPricewithTax+1020
                        , returnSellVal = returnSellVal+0, returnSellCostBuyPrice = returnSellCostBuyPrice+0, returnSellCostLastBuyPrice = returnSellCostLastBuyPrice+0
                        , returnSellCostMeanBuyPrice = returnSellCostMeanBuyPrice+0, returnSellCostLastBuyPricewithDiscount = returnSellCostLastBuyPricewithDiscount+0
                        , returnSellCostMeanBuyPricewithDiscount = returnSellCostMeanBuyPricewithDiscount+0
                            , returnSellCostOverAllAveragePrice = returnSellCostOverAllAveragePrice+0
                            , returnSellCostLastBuyPricewithTax = returnSellCostLastBuyPricewithTax+0
                            , returnSellCostMeanBuyPricewithTax = returnSellCostMeanBuyPricewithTax+0;
 INSERT INTO quickprofitgeneral (id, netSellVal, netSellCostBuyPrice, netSellCostLastBuyPrice, netSellCostMeanBuyPrice, netSellCostLastBuyPricewithDiscount, netSellCostMeanBuyPricewithDiscount, netSellCostOverAllAveragePrice,netSellCostLastBuyPricewithTax,netSellCostMeanBuyPricewithTax)
                    VALUES (1, 1060, 1020, 1020
                    , 1020, 1020, 1020, 1020, 1020, 1020)
                ON DUPLICATE KEY UPDATE netSellVal = netSellVal+1060, netSellCostBuyPrice = netSellCostBuyPrice+1020
                , netSellCostLastBuyPrice = netSellCostLastBuyPrice+1020
                , netSellCostMeanBuyPrice = netSellCostMeanBuyPrice+1020
                , netSellCostLastBuyPricewithDiscount = netSellCostLastBuyPricewithDiscount+1020
                , netSellCostMeanBuyPricewithDiscount = netSellCostMeanBuyPricewithDiscount+1020
                , netSellCostOverAllAveragePrice = netSellCostOverAllAveragePrice+1020
                , netSellCostLastBuyPricewithTax = netSellCostLastBuyPricewithTax+1020
                , netSellCostMeanBuyPricewithTax = netSellCostMeanBuyPricewithTax+1020;
COMMIT;

-- ----------------------------------------------------------------------------------------------------
-- bill add end - with serial 06aa828a94bab4 and sellbillId = 7 and returnsellbillId = 
-- ----------------------------------------------------------------------------------------------------

UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 15:33:04";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 19:03:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 19:03:04', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=522
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 15:34:11";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 19:04:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 19:04:11', '1', 'addsellBill', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=addsellBill&billnameid=3'); -- id=523
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 17:54:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 21:24:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 21:24:55', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=524
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:00:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 21:30:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 21:30:12', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=525
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح مفرد ','','3','17.6','17.75','17.75','17.75','2026-09-14','0','1','100','','0','0','0','0','0','17.6','17.6','17.6','17.6','17.6','0','0.85','0.85','0.85','.','0','0','0','17.6','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','17.6','17.6','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','17.6','0','0','0','0','0','0','','','0','0','0','0'); -- id=100
UPDATE product SET productName = 'مفتاح مفرد ', productDescription = '', productCatId = '3', productBuyPrice = '17.6', productSellAllPrice = '17.75', productSellUnitPrice = '17.75', productSellHalfPrice = '17.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00100',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '17.6',lastbuyprice_withDiscount = '17.6',meanbuyprice = '17.6',meanbuyprice_withDiscount = '17.6' , productbuypricereal = '17.6' , buypricereal_precentage = '0' , buytotal_precentage = '0.85' , buyhalf_precentage = '0.85' , buypart_precentage = '0.85',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='17.6',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='17.6',meanbuyprice_withTax='17.6',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='17.6',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '100';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '100', '1.00', '2026-09-14', '1', '0','0010001','17.75','17.75','17.75','17.6','','0','0','0','0','0','0','0','0','0','0'); -- id=100
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('100', '1', '360', '1', '2026-09-14'); -- id=100
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('100', '1', '360', '0', '100', 'إضافة منتج', 'productController.php', '0', '360', '1', '2026-09-14','0','0'); -- id=129
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (100, 1,'2026-09-14 21:30:13',1)
                ON DUPLICATE KEY UPDATE productid = 100, edited = 1, sysdate = '2026-09-14 21:30:13', userid = 1; -- id=107
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '6336', '6336', '2026-09-14', '1', '0', '0', '2026-09-14 21:30:13','إضافة منتج مفتاح مفرد  الكمية 360','1','0','0','0','100','productController.php?do=edit&id=100'); -- id=110
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('110', '382', '6336', '','0'); -- id=110
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '758626.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('110', '121', '6336', '','0'); -- id=110
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-95748.98', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح مفرد ', productDescription = '', productCatId = '3', productBuyPrice = '17.60', productSellAllPrice = '17.75', productSellUnitPrice = '17.75', productSellHalfPrice = '17.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00100',type ='0', expireDate = '0' , dailyentryId = '110',isService = '0',isOptic = '0',lastbuyprice = '17.6',lastbuyprice_withDiscount = '17.6',meanbuyprice = '17.6',meanbuyprice_withDiscount = '17.6' , productbuypricereal = '17.6' , buypricereal_precentage = '0' , buytotal_precentage = '0.85' , buyhalf_precentage = '0.85' , buypart_precentage = '0.85',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='17.6',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='17.6',meanbuyprice_withTax='17.6',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='17.6',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '100';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بريزه مفرد','','3','17.6','17.75','17.75','17.75','2026-09-14','0','1','100','','0','0','0','0','0','17.6','17.6','17.6','17.6','17.6','0','0.85','0.85','0.85','.','0','0','0','17.6','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','17.6','17.6','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','17.6','0','0','0','0','0','0','','','0','0','0','0'); -- id=101
UPDATE product SET productName = 'بريزه مفرد', productDescription = '', productCatId = '3', productBuyPrice = '17.6', productSellAllPrice = '17.75', productSellUnitPrice = '17.75', productSellHalfPrice = '17.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00101',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '17.6',lastbuyprice_withDiscount = '17.6',meanbuyprice = '17.6',meanbuyprice_withDiscount = '17.6' , productbuypricereal = '17.6' , buypricereal_precentage = '0' , buytotal_precentage = '0.85' , buyhalf_precentage = '0.85' , buypart_precentage = '0.85',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='17.6',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='17.6',meanbuyprice_withTax='17.6',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='17.6',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '101';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '101', '1.00', '2026-09-14', '1', '0','0010101','17.75','17.75','17.75','17.6','','0','0','0','0','0','0','0','0','0','0'); -- id=101
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('101', '1', '457', '1', '2026-09-14'); -- id=101
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('101', '1', '457', '0', '101', 'إضافة منتج', 'productController.php', '0', '457', '1', '2026-09-14','0','0'); -- id=130
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (101, 1,'2026-09-14 21:30:15',1)
                ON DUPLICATE KEY UPDATE productid = 101, edited = 1, sysdate = '2026-09-14 21:30:15', userid = 1; -- id=108
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '8043.2', '8043.2', '2026-09-14', '1', '0', '0', '2026-09-14 21:30:15','إضافة منتج بريزه مفرد الكمية 457','1','0','0','0','101','productController.php?do=edit&id=101'); -- id=111
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('111', '382', '8043.2', '','0'); -- id=111
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '766669.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('111', '121', '8043.2', '','0'); -- id=111
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-87705.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بريزه مفرد', productDescription = '', productCatId = '3', productBuyPrice = '17.60', productSellAllPrice = '17.75', productSellUnitPrice = '17.75', productSellHalfPrice = '17.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00101',type ='0', expireDate = '0' , dailyentryId = '111',isService = '0',isOptic = '0',lastbuyprice = '17.6',lastbuyprice_withDiscount = '17.6',meanbuyprice = '17.6',meanbuyprice_withDiscount = '17.6' , productbuypricereal = '17.6' , buypricereal_precentage = '0' , buytotal_precentage = '0.85' , buyhalf_precentage = '0.85' , buypart_precentage = '0.85',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='17.6',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='17.6',meanbuyprice_withTax='17.6',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='17.6',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '101';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه ','','3','11.75','12','12','12','2026-09-14','0','1','300','','0','0','0','0','0','11.75','11.75','11.75','11.75','11.75','0','2.13','2.13','2.13','.','0','0','0','11.75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','11.75','11.75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','11.75','0','0','0','0','0','0','','','0','0','0','0'); -- id=102
UPDATE product SET productName = 'شاسيه ', productDescription = '', productCatId = '3', productBuyPrice = '11.75', productSellAllPrice = '12', productSellUnitPrice = '12', productSellHalfPrice = '12', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '300', parcode = '00102',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '11.75',lastbuyprice_withDiscount = '11.75',meanbuyprice = '11.75',meanbuyprice_withDiscount = '11.75' , productbuypricereal = '11.75' , buypricereal_precentage = '0' , buytotal_precentage = '2.13' , buyhalf_precentage = '2.13' , buypart_precentage = '2.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='11.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='11.75',meanbuyprice_withTax='11.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='11.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '102';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '102', '1.00', '2026-09-14', '1', '0','0010201','12','12','12','11.75','','0','0','0','0','0','0','0','0','0','0'); -- id=102
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('102', '1', '1120', '1', '2026-09-14'); -- id=102
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('102', '1', '1120', '0', '102', 'إضافة منتج', 'productController.php', '0', '1120', '1', '2026-09-14','0','0'); -- id=131
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (102, 1,'2026-09-14 21:30:17',1)
                ON DUPLICATE KEY UPDATE productid = 102, edited = 1, sysdate = '2026-09-14 21:30:17', userid = 1; -- id=109
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '13160', '13160', '2026-09-14', '1', '0', '0', '2026-09-14 21:30:17','إضافة منتج شاسيه  الكمية 1120','1','0','0','0','102','productController.php?do=edit&id=102'); -- id=112
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('112', '382', '13160', '','0'); -- id=112
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '779829.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('112', '121', '13160', '','0'); -- id=112
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-74545.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه ', productDescription = '', productCatId = '3', productBuyPrice = '11.75', productSellAllPrice = '12.00', productSellUnitPrice = '12.00', productSellHalfPrice = '12.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '300', parcode = '00102',type ='0', expireDate = '0' , dailyentryId = '112',isService = '0',isOptic = '0',lastbuyprice = '11.75',lastbuyprice_withDiscount = '11.75',meanbuyprice = '11.75',meanbuyprice_withDiscount = '11.75' , productbuypricereal = '11.75' , buypricereal_precentage = '0' , buytotal_precentage = '2.13' , buyhalf_precentage = '2.13' , buypart_precentage = '2.13',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='11.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='11.75',meanbuyprice_withTax='11.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='11.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '102';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('سداده','','3','4.5','5.5','5.5','5.5','2026-09-14','0','1','200','','0','0','0','0','0','4.5','4.5','4.5','4.5','4.5','0','22.22','22.22','22.22','.','0','0','0','4.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','4.5','4.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','4.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=103
UPDATE product SET productName = 'سداده', productDescription = '', productCatId = '3', productBuyPrice = '4.5', productSellAllPrice = '5.5', productSellUnitPrice = '5.5', productSellHalfPrice = '5.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '200', parcode = '00103',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '4.5',lastbuyprice_withDiscount = '4.5',meanbuyprice = '4.5',meanbuyprice_withDiscount = '4.5' , productbuypricereal = '4.5' , buypricereal_precentage = '0' , buytotal_precentage = '22.22' , buyhalf_precentage = '22.22' , buypart_precentage = '22.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4.5',meanbuyprice_withTax='4.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '103';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '103', '1.00', '2026-09-14', '1', '0','0010301','5.5','5.5','5.5','4.5','','0','0','0','0','0','0','0','0','0','0'); -- id=103
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('103', '1', '500', '1', '2026-09-14'); -- id=103
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('103', '1', '500', '0', '103', 'إضافة منتج', 'productController.php', '0', '500', '1', '2026-09-14','0','0'); -- id=132
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (103, 1,'2026-09-14 21:30:19',1)
                ON DUPLICATE KEY UPDATE productid = 103, edited = 1, sysdate = '2026-09-14 21:30:19', userid = 1; -- id=110
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2250', '2250', '2026-09-14', '1', '0', '0', '2026-09-14 21:30:19','إضافة منتج سداده الكمية 500','1','0','0','0','103','productController.php?do=edit&id=103'); -- id=113
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('113', '382', '2250', '','0'); -- id=113
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '782079.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('113', '121', '2250', '','0'); -- id=113
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-72295.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'سداده', productDescription = '', productCatId = '3', productBuyPrice = '4.50', productSellAllPrice = '5.50', productSellUnitPrice = '5.50', productSellHalfPrice = '5.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '200', parcode = '00103',type ='0', expireDate = '0' , dailyentryId = '113',isService = '0',isOptic = '0',lastbuyprice = '4.5',lastbuyprice_withDiscount = '4.5',meanbuyprice = '4.5',meanbuyprice_withDiscount = '4.5' , productbuypricereal = '4.5' , buypricereal_precentage = '0' , buytotal_precentage = '22.22' , buyhalf_precentage = '22.22' , buypart_precentage = '22.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='4.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='4.5',meanbuyprice_withTax='4.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='4.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '103';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('وش بيج كاكاو','','3','15','15.75','15.75','15.75','2026-09-14','0','1','100','','0','0','0','0','0','15','15','15','15','15','0','5','5','5','.','0','0','0','15','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','15','15','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','15','0','0','0','0','0','0','','','0','0','0','0'); -- id=104
UPDATE product SET productName = 'وش بيج كاكاو', productDescription = '', productCatId = '3', productBuyPrice = '15', productSellAllPrice = '15.75', productSellUnitPrice = '15.75', productSellHalfPrice = '15.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00104',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '104';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '104', '1.00', '2026-09-14', '1', '0','0010401','15.75','15.75','15.75','15','','0','0','0','0','0','0','0','0','0','0'); -- id=104
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('104', '1', '305', '1', '2026-09-14'); -- id=104
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('104', '1', '305', '0', '104', 'إضافة منتج', 'productController.php', '0', '305', '1', '2026-09-14','0','0'); -- id=133
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (104, 1,'2026-09-14 21:30:21',1)
                ON DUPLICATE KEY UPDATE productid = 104, edited = 1, sysdate = '2026-09-14 21:30:21', userid = 1; -- id=111
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4575', '4575', '2026-09-14', '1', '0', '0', '2026-09-14 21:30:21','إضافة منتج وش بيج كاكاو الكمية 305','1','0','0','0','104','productController.php?do=edit&id=104'); -- id=114
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('114', '382', '4575', '','0'); -- id=114
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '786654.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('114', '121', '4575', '','0'); -- id=114
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-67720.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'وش بيج كاكاو', productDescription = '', productCatId = '3', productBuyPrice = '15.00', productSellAllPrice = '15.75', productSellUnitPrice = '15.75', productSellHalfPrice = '15.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00104',type ='0', expireDate = '0' , dailyentryId = '114',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '104';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('وش ابيض ','','3','15','15','15','15','2026-09-14','0','1','0','','0','0','0','0','0','15','15','15','15','15','0','0','0','0','.','0','0','0','15','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','15','15','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','15','0','0','0','0','0','0','','','0','0','0','0'); -- id=105
UPDATE product SET productName = 'وش ابيض ', productDescription = '', productCatId = '3', productBuyPrice = '15', productSellAllPrice = '15', productSellUnitPrice = '15', productSellHalfPrice = '15', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00105',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '105';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '105', '1.00', '2026-09-14', '1', '0','0010501','15','15','15','15','','0','0','0','0','0','0','0','0','0','0'); -- id=105
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('105', '1', '0', '1', '2026-09-14'); -- id=105
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('105', '1', '0', '0', '105', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=134
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (105, 1,'2026-09-14 21:30:23',1)
                ON DUPLICATE KEY UPDATE productid = 105, edited = 1, sysdate = '2026-09-14 21:30:23', userid = 1; -- id=112
UPDATE product SET productName = 'وش ابيض ', productDescription = '', productCatId = '3', productBuyPrice = '15.00', productSellAllPrice = '15.00', productSellUnitPrice = '15.00', productSellHalfPrice = '15.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00105',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '105';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:00:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 21:30:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 21:30:25', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=526
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:13:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 21:43:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 21:43:09', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=527
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('وش بيج عاجي ','','3','15','15.75','15.75','15.75','2026-09-14','0','1','100','','0','0','0','0','0','15','15','15','15','15','0','5','5','5','.','0','0','0','15','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','15','15','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','15','0','0','0','0','0','0','','','0','0','0','0'); -- id=106
UPDATE product SET productName = 'وش بيج عاجي ', productDescription = '', productCatId = '3', productBuyPrice = '15', productSellAllPrice = '15.75', productSellUnitPrice = '15.75', productSellHalfPrice = '15.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00106',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '106';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '106', '1.00', '2026-09-14', '1', '0','0010601','15.75','15.75','15.75','15','','0','0','0','0','0','0','0','0','0','0'); -- id=106
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('106', '1', '496', '1', '2026-09-14'); -- id=106
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('106', '1', '496', '0', '106', 'إضافة منتج', 'productController.php', '0', '496', '1', '2026-09-14','0','0'); -- id=135
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (106, 1,'2026-09-14 21:43:11',1)
                ON DUPLICATE KEY UPDATE productid = 106, edited = 1, sysdate = '2026-09-14 21:43:11', userid = 1; -- id=113
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7440', '7440', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:11','إضافة منتج وش بيج عاجي  الكمية 496','1','0','0','0','106','productController.php?do=edit&id=106'); -- id=115
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('115', '382', '7440', '','0'); -- id=115
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '794094.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('115', '121', '7440', '','0'); -- id=115
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-60280.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'وش بيج عاجي ', productDescription = '', productCatId = '3', productBuyPrice = '15.00', productSellAllPrice = '15.75', productSellUnitPrice = '15.75', productSellHalfPrice = '15.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '100', parcode = '00106',type ='0', expireDate = '0' , dailyentryId = '115',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '106';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 16 امبير ','','3','101','103','103','103','2026-09-14','0','1','12','','0','0','0','0','0','101','101','101','101','101','0','1.98','1.98','1.98','.','0','0','0','101','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','101','101','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','101','0','0','0','0','0','0','','','0','0','0','0'); -- id=107
UPDATE product SET productName = 'مفتاح اتوماتيك 16 امبير ', productDescription = '', productCatId = '3', productBuyPrice = '101', productSellAllPrice = '103', productSellUnitPrice = '103', productSellHalfPrice = '103', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00107',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '101',lastbuyprice_withDiscount = '101',meanbuyprice = '101',meanbuyprice_withDiscount = '101' , productbuypricereal = '101' , buypricereal_precentage = '0' , buytotal_precentage = '1.98' , buyhalf_precentage = '1.98' , buypart_precentage = '1.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='101',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='101',meanbuyprice_withTax='101',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='101',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '107';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '107', '1.00', '2026-09-14', '1', '0','0010701','103','103','103','101','','0','0','0','0','0','0','0','0','0','0'); -- id=107
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('107', '1', '53', '1', '2026-09-14'); -- id=107
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('107', '1', '53', '0', '107', 'إضافة منتج', 'productController.php', '0', '53', '1', '2026-09-14','0','0'); -- id=136
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (107, 1,'2026-09-14 21:43:13',1)
                ON DUPLICATE KEY UPDATE productid = 107, edited = 1, sysdate = '2026-09-14 21:43:13', userid = 1; -- id=114
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5353', '5353', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:13','إضافة منتج مفتاح اتوماتيك 16 امبير  الكمية 53','1','0','0','0','107','productController.php?do=edit&id=107'); -- id=116
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('116', '382', '5353', '','0'); -- id=116
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '799447.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('116', '121', '5353', '','0'); -- id=116
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-54927.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 16 امبير ', productDescription = '', productCatId = '3', productBuyPrice = '101.00', productSellAllPrice = '103.00', productSellUnitPrice = '103.00', productSellHalfPrice = '103.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00107',type ='0', expireDate = '0' , dailyentryId = '116',isService = '0',isOptic = '0',lastbuyprice = '101',lastbuyprice_withDiscount = '101',meanbuyprice = '101',meanbuyprice_withDiscount = '101' , productbuypricereal = '101' , buypricereal_precentage = '0' , buytotal_precentage = '1.98' , buyhalf_precentage = '1.98' , buypart_precentage = '1.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='101',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='101',meanbuyprice_withTax='101',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='101',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '107';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 20 امبير','','3','101','103','103','103','2026-09-14','0','1','12','','0','0','0','0','0','101','101','101','101','101','0','1.98','1.98','1.98','.','0','0','0','101','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','101','101','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','101','0','0','0','0','0','0','','','0','0','0','0'); -- id=108
UPDATE product SET productName = 'مفتاح اتوماتيك 20 امبير', productDescription = '', productCatId = '3', productBuyPrice = '101', productSellAllPrice = '103', productSellUnitPrice = '103', productSellHalfPrice = '103', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00108',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '101',lastbuyprice_withDiscount = '101',meanbuyprice = '101',meanbuyprice_withDiscount = '101' , productbuypricereal = '101' , buypricereal_precentage = '0' , buytotal_precentage = '1.98' , buyhalf_precentage = '1.98' , buypart_precentage = '1.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='101',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='101',meanbuyprice_withTax='101',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='101',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '108';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '108', '1.00', '2026-09-14', '1', '0','0010801','103','103','103','101','','0','0','0','0','0','0','0','0','0','0'); -- id=108
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('108', '1', '23', '1', '2026-09-14'); -- id=108
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('108', '1', '23', '0', '108', 'إضافة منتج', 'productController.php', '0', '23', '1', '2026-09-14','0','0'); -- id=137
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (108, 1,'2026-09-14 21:43:16',1)
                ON DUPLICATE KEY UPDATE productid = 108, edited = 1, sysdate = '2026-09-14 21:43:16', userid = 1; -- id=115
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2323', '2323', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:16','إضافة منتج مفتاح اتوماتيك 20 امبير الكمية 23','1','0','0','0','108','productController.php?do=edit&id=108'); -- id=117
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('117', '382', '2323', '','0'); -- id=117
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '801770.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('117', '121', '2323', '','0'); -- id=117
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-52604.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 20 امبير', productDescription = '', productCatId = '3', productBuyPrice = '101.00', productSellAllPrice = '103.00', productSellUnitPrice = '103.00', productSellHalfPrice = '103.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00108',type ='0', expireDate = '0' , dailyentryId = '117',isService = '0',isOptic = '0',lastbuyprice = '101',lastbuyprice_withDiscount = '101',meanbuyprice = '101',meanbuyprice_withDiscount = '101' , productbuypricereal = '101' , buypricereal_precentage = '0' , buytotal_precentage = '1.98' , buyhalf_precentage = '1.98' , buypart_precentage = '1.98',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='101',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='101',meanbuyprice_withTax='101',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='101',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '108';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 25 امبير','','3','101','103','103','103','2026-09-14','0','1','12','','0','0','0','0','0','101','101','101','101','101','0','1.98','0','0','.','0','0','0','101','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','101','101','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','101','0','0','0','0','0','0','','','0','0','0','0'); -- id=109
UPDATE product SET productName = 'مفتاح اتوماتيك 25 امبير', productDescription = '', productCatId = '3', productBuyPrice = '101', productSellAllPrice = '103', productSellUnitPrice = '103', productSellHalfPrice = '103', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00109',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '101',lastbuyprice_withDiscount = '101',meanbuyprice = '101',meanbuyprice_withDiscount = '101' , productbuypricereal = '101' , buypricereal_precentage = '0' , buytotal_precentage = '1.98' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='101',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='101',meanbuyprice_withTax='101',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='101',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '109';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '109', '1.00', '2026-09-14', '1', '0','0010901','103','103','103','101','','0','0','0','0','0','0','0','0','0','0'); -- id=109
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('109', '1', '36', '1', '2026-09-14'); -- id=109
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('109', '1', '36', '0', '109', 'إضافة منتج', 'productController.php', '0', '36', '1', '2026-09-14','0','0'); -- id=138
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (109, 1,'2026-09-14 21:43:18',1)
                ON DUPLICATE KEY UPDATE productid = 109, edited = 1, sysdate = '2026-09-14 21:43:18', userid = 1; -- id=116
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3636', '3636', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:18','إضافة منتج مفتاح اتوماتيك 25 امبير الكمية 36','1','0','0','0','109','productController.php?do=edit&id=109'); -- id=118
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('118', '382', '3636', '','0'); -- id=118
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '805406.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('118', '121', '3636', '','0'); -- id=118
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-48968.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 25 امبير', productDescription = '', productCatId = '3', productBuyPrice = '101.00', productSellAllPrice = '103.00', productSellUnitPrice = '103.00', productSellHalfPrice = '103.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00109',type ='0', expireDate = '0' , dailyentryId = '118',isService = '0',isOptic = '0',lastbuyprice = '101',lastbuyprice_withDiscount = '101',meanbuyprice = '101',meanbuyprice_withDiscount = '101' , productbuypricereal = '101' , buypricereal_precentage = '0' , buytotal_precentage = '1.98' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='101',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='101',meanbuyprice_withTax='101',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='101',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '109';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 32 امبير','','3','106','110','110','110','2026-09-14','0','1','0','','0','0','0','0','0','106','106','106','106','106','0','3.77','3.77','3.77','.','0','0','0','106','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','106','106','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','106','0','0','0','0','0','0','','','0','0','0','0'); -- id=110
UPDATE product SET productName = 'مفتاح اتوماتيك 32 امبير', productDescription = '', productCatId = '3', productBuyPrice = '106', productSellAllPrice = '110', productSellUnitPrice = '110', productSellHalfPrice = '110', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00110',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '106',lastbuyprice_withDiscount = '106',meanbuyprice = '106',meanbuyprice_withDiscount = '106' , productbuypricereal = '106' , buypricereal_precentage = '0' , buytotal_precentage = '3.77' , buyhalf_precentage = '3.77' , buypart_precentage = '3.77',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='106',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='106',meanbuyprice_withTax='106',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='106',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '110';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '110', '1.00', '2026-09-14', '1', '0','0011001','110','110','110','106','','0','0','0','0','0','0','0','0','0','0'); -- id=110
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('110', '1', '16', '1', '2026-09-14'); -- id=110
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('110', '1', '16', '0', '110', 'إضافة منتج', 'productController.php', '0', '16', '1', '2026-09-14','0','0'); -- id=139
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (110, 1,'2026-09-14 21:43:20',1)
                ON DUPLICATE KEY UPDATE productid = 110, edited = 1, sysdate = '2026-09-14 21:43:20', userid = 1; -- id=117
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1696', '1696', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:20','إضافة منتج مفتاح اتوماتيك 32 امبير الكمية 16','1','0','0','0','110','productController.php?do=edit&id=110'); -- id=119
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('119', '382', '1696', '','0'); -- id=119
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '807102.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('119', '121', '1696', '','0'); -- id=119
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-47272.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 32 امبير', productDescription = '', productCatId = '3', productBuyPrice = '106.00', productSellAllPrice = '110.00', productSellUnitPrice = '110.00', productSellHalfPrice = '110.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00110',type ='0', expireDate = '0' , dailyentryId = '119',isService = '0',isOptic = '0',lastbuyprice = '106',lastbuyprice_withDiscount = '106',meanbuyprice = '106',meanbuyprice_withDiscount = '106' , productbuypricereal = '106' , buypricereal_precentage = '0' , buytotal_precentage = '3.77' , buyhalf_precentage = '3.77' , buypart_precentage = '3.77',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='106',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='106',meanbuyprice_withTax='106',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='106',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '110';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 40 امبير','','3','116','120','120','120','2026-09-14','0','1','12','','0','0','0','0','0','116','116','116','116','116','0','3.45','3.45','3.45','.','0','0','0','116','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','116','116','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','116','0','0','0','0','0','0','','','0','0','0','0'); -- id=111
UPDATE product SET productName = 'مفتاح اتوماتيك 40 امبير', productDescription = '', productCatId = '3', productBuyPrice = '116', productSellAllPrice = '120', productSellUnitPrice = '120', productSellHalfPrice = '120', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00111',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '116',lastbuyprice_withDiscount = '116',meanbuyprice = '116',meanbuyprice_withDiscount = '116' , productbuypricereal = '116' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '3.45' , buypart_precentage = '3.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='116',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='116',meanbuyprice_withTax='116',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='116',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '111';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '111', '1.00', '2026-09-14', '1', '0','0011101','120','120','120','116','','0','0','0','0','0','0','0','0','0','0'); -- id=111
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('111', '1', '31', '1', '2026-09-14'); -- id=111
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('111', '1', '31', '0', '111', 'إضافة منتج', 'productController.php', '0', '31', '1', '2026-09-14','0','0'); -- id=140
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (111, 1,'2026-09-14 21:43:22',1)
                ON DUPLICATE KEY UPDATE productid = 111, edited = 1, sysdate = '2026-09-14 21:43:22', userid = 1; -- id=118
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3596', '3596', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:22','إضافة منتج مفتاح اتوماتيك 40 امبير الكمية 31','1','0','0','0','111','productController.php?do=edit&id=111'); -- id=120
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('120', '382', '3596', '','0'); -- id=120
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '810698.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('120', '121', '3596', '','0'); -- id=120
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-43676.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 40 امبير', productDescription = '', productCatId = '3', productBuyPrice = '116.00', productSellAllPrice = '120.00', productSellUnitPrice = '120.00', productSellHalfPrice = '120.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00111',type ='0', expireDate = '0' , dailyentryId = '120',isService = '0',isOptic = '0',lastbuyprice = '116',lastbuyprice_withDiscount = '116',meanbuyprice = '116',meanbuyprice_withDiscount = '116' , productbuypricereal = '116' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '3.45' , buypart_precentage = '3.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='116',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='116',meanbuyprice_withTax='116',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='116',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '111';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 63 امبير','','3','116','120','120','120','2026-09-14','0','1','12','','0','0','0','0','0','116','116','116','116','116','0','3.45','3.45','3.45','.','0','0','0','116','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','116','116','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','116','0','0','0','0','0','0','','','0','0','0','0'); -- id=112
UPDATE product SET productName = 'مفتاح اتوماتيك 63 امبير', productDescription = '', productCatId = '3', productBuyPrice = '116', productSellAllPrice = '120', productSellUnitPrice = '120', productSellHalfPrice = '120', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00112',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '116',lastbuyprice_withDiscount = '116',meanbuyprice = '116',meanbuyprice_withDiscount = '116' , productbuypricereal = '116' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '3.45' , buypart_precentage = '3.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='116',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='116',meanbuyprice_withTax='116',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='116',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '112';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '112', '1.00', '2026-09-14', '1', '0','0011201','120','120','120','116','','0','0','0','0','0','0','0','0','0','0'); -- id=112
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('112', '1', '21', '1', '2026-09-14'); -- id=112
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('112', '1', '21', '0', '112', 'إضافة منتج', 'productController.php', '0', '21', '1', '2026-09-14','0','0'); -- id=141
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (112, 1,'2026-09-14 21:43:24',1)
                ON DUPLICATE KEY UPDATE productid = 112, edited = 1, sysdate = '2026-09-14 21:43:24', userid = 1; -- id=119
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2436', '2436', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:24','إضافة منتج مفتاح اتوماتيك 63 امبير الكمية 21','1','0','0','0','112','productController.php?do=edit&id=112'); -- id=121
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('121', '382', '2436', '','0'); -- id=121
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '813134.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('121', '121', '2436', '','0'); -- id=121
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-41240.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 63 امبير', productDescription = '', productCatId = '3', productBuyPrice = '116.00', productSellAllPrice = '120.00', productSellUnitPrice = '120.00', productSellHalfPrice = '120.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '12', parcode = '00112',type ='0', expireDate = '0' , dailyentryId = '121',isService = '0',isOptic = '0',lastbuyprice = '116',lastbuyprice_withDiscount = '116',meanbuyprice = '116',meanbuyprice_withDiscount = '116' , productbuypricereal = '116' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '3.45' , buypart_precentage = '3.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='116',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='116',meanbuyprice_withTax='116',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='116',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '112';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 63 امبير مجوز','','3','232','240','240','240','2026-09-14','0','1','0','','0','0','0','0','0','232','232','232','232','232','0','3.45','3.45','3.45','.','0','0','0','232','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','232','232','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','232','0','0','0','0','0','0','','','0','0','0','0'); -- id=113
UPDATE product SET productName = 'مفتاح اتوماتيك 63 امبير مجوز', productDescription = '', productCatId = '3', productBuyPrice = '232', productSellAllPrice = '240', productSellUnitPrice = '240', productSellHalfPrice = '240', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00113',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '232',lastbuyprice_withDiscount = '232',meanbuyprice = '232',meanbuyprice_withDiscount = '232' , productbuypricereal = '232' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '3.45' , buypart_precentage = '3.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='232',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='232',meanbuyprice_withTax='232',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='232',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '113';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '113', '1.00', '2026-09-14', '1', '0','0011301','240','240','240','232','','0','0','0','0','0','0','0','0','0','0'); -- id=113
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('113', '1', '7', '1', '2026-09-14'); -- id=113
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('113', '1', '7', '0', '113', 'إضافة منتج', 'productController.php', '0', '7', '1', '2026-09-14','0','0'); -- id=142
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (113, 1,'2026-09-14 21:43:26',1)
                ON DUPLICATE KEY UPDATE productid = 113, edited = 1, sysdate = '2026-09-14 21:43:26', userid = 1; -- id=120
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1624', '1624', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:26','إضافة منتج مفتاح اتوماتيك 63 امبير مجوز الكمية 7','1','0','0','0','113','productController.php?do=edit&id=113'); -- id=122
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('122', '382', '1624', '','0'); -- id=122
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '814758.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('122', '121', '1624', '','0'); -- id=122
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-39616.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 63 امبير مجوز', productDescription = '', productCatId = '3', productBuyPrice = '232.00', productSellAllPrice = '240.00', productSellUnitPrice = '240.00', productSellHalfPrice = '240.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00113',type ='0', expireDate = '0' , dailyentryId = '122',isService = '0',isOptic = '0',lastbuyprice = '232',lastbuyprice_withDiscount = '232',meanbuyprice = '232',meanbuyprice_withDiscount = '232' , productbuypricereal = '232' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '3.45' , buypart_precentage = '3.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='232',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='232',meanbuyprice_withTax='232',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='232',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '113';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح اتوماتيك 40 امبير مجوز','','3','232','240','240','240','2026-09-14','0','1','0','','0','0','0','0','0','232','232','232','232','232','0','3.45','0','0','.','0','0','0','232','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','232','232','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','232','0','0','0','0','0','0','','','0','0','0','0'); -- id=114
UPDATE product SET productName = 'مفتاح اتوماتيك 40 امبير مجوز', productDescription = '', productCatId = '3', productBuyPrice = '232', productSellAllPrice = '240', productSellUnitPrice = '240', productSellHalfPrice = '240', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00114',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '232',lastbuyprice_withDiscount = '232',meanbuyprice = '232',meanbuyprice_withDiscount = '232' , productbuypricereal = '232' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='232',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='232',meanbuyprice_withTax='232',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='232',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '114';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '114', '1.00', '2026-09-14', '1', '0','0011401','240','240','240','232','','0','0','0','0','0','0','0','0','0','0'); -- id=114
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('114', '1', '6', '1', '2026-09-14'); -- id=114
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('114', '1', '6', '0', '114', 'إضافة منتج', 'productController.php', '0', '6', '1', '2026-09-14','0','0'); -- id=143
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (114, 1,'2026-09-14 21:43:29',1)
                ON DUPLICATE KEY UPDATE productid = 114, edited = 1, sysdate = '2026-09-14 21:43:29', userid = 1; -- id=121
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1392', '1392', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:29','إضافة منتج مفتاح اتوماتيك 40 امبير مجوز الكمية 6','1','0','0','0','114','productController.php?do=edit&id=114'); -- id=123
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('123', '382', '1392', '','0'); -- id=123
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '816150.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('123', '121', '1392', '','0'); -- id=123
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-38224.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح اتوماتيك 40 امبير مجوز', productDescription = '', productCatId = '3', productBuyPrice = '232.00', productSellAllPrice = '240.00', productSellUnitPrice = '240.00', productSellHalfPrice = '240.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00114',type ='0', expireDate = '0' , dailyentryId = '123',isService = '0',isOptic = '0',lastbuyprice = '232',lastbuyprice_withDiscount = '232',meanbuyprice = '232',meanbuyprice_withDiscount = '232' , productbuypricereal = '232' , buypricereal_precentage = '0' , buytotal_precentage = '3.45' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='232',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='232',meanbuyprice_withTax='232',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='232',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '114';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بريزه ام كي بالايرث','','3','88','90.5','90.5','90.5','2026-09-14','0','1','0','','0','0','0','0','0','88','88','88','88','88','0','2.84','2.84','2.84','.','0','0','0','88','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','88','88','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','88','0','0','0','0','0','0','','','0','0','0','0'); -- id=115
UPDATE product SET productName = 'بريزه ام كي بالايرث', productDescription = '', productCatId = '3', productBuyPrice = '88', productSellAllPrice = '90.5', productSellUnitPrice = '90.5', productSellHalfPrice = '90.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00115',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '88',lastbuyprice_withDiscount = '88',meanbuyprice = '88',meanbuyprice_withDiscount = '88' , productbuypricereal = '88' , buypricereal_precentage = '0' , buytotal_precentage = '2.84' , buyhalf_precentage = '2.84' , buypart_precentage = '2.84',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='88',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='88',meanbuyprice_withTax='88',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='88',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '115';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '115', '1.00', '2026-09-14', '1', '0','0011501','90.5','90.5','90.5','88','','0','0','0','0','0','0','0','0','0','0'); -- id=115
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('115', '1', '39', '1', '2026-09-14'); -- id=115
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('115', '1', '39', '0', '115', 'إضافة منتج', 'productController.php', '0', '39', '1', '2026-09-14','0','0'); -- id=144
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (115, 1,'2026-09-14 21:43:31',1)
                ON DUPLICATE KEY UPDATE productid = 115, edited = 1, sysdate = '2026-09-14 21:43:31', userid = 1; -- id=122
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3432', '3432', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:31','إضافة منتج بريزه ام كي بالايرث الكمية 39','1','0','0','0','115','productController.php?do=edit&id=115'); -- id=124
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('124', '382', '3432', '','0'); -- id=124
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '819582.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('124', '121', '3432', '','0'); -- id=124
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-34792.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بريزه ام كي بالايرث', productDescription = '', productCatId = '3', productBuyPrice = '88.00', productSellAllPrice = '90.50', productSellUnitPrice = '90.50', productSellHalfPrice = '90.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00115',type ='0', expireDate = '0' , dailyentryId = '124',isService = '0',isOptic = '0',lastbuyprice = '88',lastbuyprice_withDiscount = '88',meanbuyprice = '88',meanbuyprice_withDiscount = '88' , productbuypricereal = '88' , buypricereal_precentage = '0' , buytotal_precentage = '2.84' , buyhalf_precentage = '2.84' , buypart_precentage = '2.84',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='88',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='88',meanbuyprice_withTax='88',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='88',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '115';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مجوفه بدون ايرث','','3','53','56','56','56','2026-09-14','0','1','0','','0','0','0','0','0','53','53','53','53','53','0','5.66','5.66','5.66','.','0','0','0','53','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','53','53','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','53','0','0','0','0','0','0','','','0','0','0','0'); -- id=116
UPDATE product SET productName = 'مجوفه بدون ايرث', productDescription = '', productCatId = '3', productBuyPrice = '53', productSellAllPrice = '56', productSellUnitPrice = '56', productSellHalfPrice = '56', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00116',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '53',lastbuyprice_withDiscount = '53',meanbuyprice = '53',meanbuyprice_withDiscount = '53' , productbuypricereal = '53' , buypricereal_precentage = '0' , buytotal_precentage = '5.66' , buyhalf_precentage = '5.66' , buypart_precentage = '5.66',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='53',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='53',meanbuyprice_withTax='53',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='53',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '116';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '116', '1.00', '2026-09-14', '1', '0','0011601','56','56','56','53','','0','0','0','0','0','0','0','0','0','0'); -- id=116
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('116', '1', '33', '1', '2026-09-14'); -- id=116
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('116', '1', '33', '0', '116', 'إضافة منتج', 'productController.php', '0', '33', '1', '2026-09-14','0','0'); -- id=145
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (116, 1,'2026-09-14 21:43:33',1)
                ON DUPLICATE KEY UPDATE productid = 116, edited = 1, sysdate = '2026-09-14 21:43:33', userid = 1; -- id=123
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1749', '1749', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:33','إضافة منتج مجوفه بدون ايرث الكمية 33','1','0','0','0','116','productController.php?do=edit&id=116'); -- id=125
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('125', '382', '1749', '','0'); -- id=125
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '821331.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('125', '121', '1749', '','0'); -- id=125
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-33043.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مجوفه بدون ايرث', productDescription = '', productCatId = '3', productBuyPrice = '53.00', productSellAllPrice = '56.00', productSellUnitPrice = '56.00', productSellHalfPrice = '56.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00116',type ='0', expireDate = '0' , dailyentryId = '125',isService = '0',isOptic = '0',lastbuyprice = '53',lastbuyprice_withDiscount = '53',meanbuyprice = '53',meanbuyprice_withDiscount = '53' , productbuypricereal = '53' , buypricereal_precentage = '0' , buytotal_precentage = '5.66' , buyhalf_precentage = '5.66' , buypart_precentage = '5.66',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='53',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='53',meanbuyprice_withTax='53',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='53',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '116';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح ديفاتيري','','3','37','39','39','39','2026-09-14','0','1','0','','0','0','0','0','0','37','37','37','37','37','0','5.41','5.41','5.41','.','0','0','0','37','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','37','37','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','37','0','0','0','0','0','0','','','0','0','0','0'); -- id=117
UPDATE product SET productName = 'مفتاح ديفاتيري', productDescription = '', productCatId = '3', productBuyPrice = '37', productSellAllPrice = '39', productSellUnitPrice = '39', productSellHalfPrice = '39', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00117',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '37',lastbuyprice_withDiscount = '37',meanbuyprice = '37',meanbuyprice_withDiscount = '37' , productbuypricereal = '37' , buypricereal_precentage = '0' , buytotal_precentage = '5.41' , buyhalf_precentage = '5.41' , buypart_precentage = '5.41',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='37',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='37',meanbuyprice_withTax='37',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='37',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '117';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '117', '1.00', '2026-09-14', '1', '0','0011701','39','39','39','37','','0','0','0','0','0','0','0','0','0','0'); -- id=117
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('117', '1', '55', '1', '2026-09-14'); -- id=117
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('117', '1', '55', '0', '117', 'إضافة منتج', 'productController.php', '0', '55', '1', '2026-09-14','0','0'); -- id=146
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (117, 1,'2026-09-14 21:43:35',1)
                ON DUPLICATE KEY UPDATE productid = 117, edited = 1, sysdate = '2026-09-14 21:43:35', userid = 1; -- id=124
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2035', '2035', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:35','إضافة منتج مفتاح ديفاتيري الكمية 55','1','0','0','0','117','productController.php?do=edit&id=117'); -- id=126
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('126', '382', '2035', '','0'); -- id=126
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '823366.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('126', '121', '2035', '','0'); -- id=126
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-31008.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح ديفاتيري', productDescription = '', productCatId = '3', productBuyPrice = '37.00', productSellAllPrice = '39.00', productSellUnitPrice = '39.00', productSellHalfPrice = '39.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00117',type ='0', expireDate = '0' , dailyentryId = '126',isService = '0',isOptic = '0',lastbuyprice = '37',lastbuyprice_withDiscount = '37',meanbuyprice = '37',meanbuyprice_withDiscount = '37' , productbuypricereal = '37' , buypricereal_precentage = '0' , buytotal_precentage = '5.41' , buyhalf_precentage = '5.41' , buypart_precentage = '5.41',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='37',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='37',meanbuyprice_withTax='37',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='37',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '117';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لقمه دش ','','3','27','29','29','29','2026-09-14','0','1','0','','0','0','0','0','0','27','27','27','27','27','0','7.41','7.41','7.41','.','0','0','0','27','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','27','27','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','27','0','0','0','0','0','0','','','0','0','0','0'); -- id=118
UPDATE product SET productName = 'لقمه دش ', productDescription = '', productCatId = '3', productBuyPrice = '27', productSellAllPrice = '29', productSellUnitPrice = '29', productSellHalfPrice = '29', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00118',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '27',lastbuyprice_withDiscount = '27',meanbuyprice = '27',meanbuyprice_withDiscount = '27' , productbuypricereal = '27' , buypricereal_precentage = '0' , buytotal_precentage = '7.41' , buyhalf_precentage = '7.41' , buypart_precentage = '7.41',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='27',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='27',meanbuyprice_withTax='27',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='27',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '118';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '118', '1.00', '2026-09-14', '1', '0','0011801','29','29','29','27','','0','0','0','0','0','0','0','0','0','0'); -- id=118
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('118', '1', '55', '1', '2026-09-14'); -- id=118
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('118', '1', '55', '0', '118', 'إضافة منتج', 'productController.php', '0', '55', '1', '2026-09-14','0','0'); -- id=147
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (118, 1,'2026-09-14 21:43:37',1)
                ON DUPLICATE KEY UPDATE productid = 118, edited = 1, sysdate = '2026-09-14 21:43:37', userid = 1; -- id=125
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1485', '1485', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:37','إضافة منتج لقمه دش  الكمية 55','1','0','0','0','118','productController.php?do=edit&id=118'); -- id=127
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('127', '382', '1485', '','0'); -- id=127
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '824851.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('127', '121', '1485', '','0'); -- id=127
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-29523.78', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لقمه دش ', productDescription = '', productCatId = '3', productBuyPrice = '27.00', productSellAllPrice = '29.00', productSellUnitPrice = '29.00', productSellHalfPrice = '29.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00118',type ='0', expireDate = '0' , dailyentryId = '127',isService = '0',isOptic = '0',lastbuyprice = '27',lastbuyprice_withDiscount = '27',meanbuyprice = '27',meanbuyprice_withDiscount = '27' , productbuypricereal = '27' , buypricereal_precentage = '0' , buytotal_precentage = '7.41' , buyhalf_precentage = '7.41' , buypart_precentage = '7.41',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='27',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='27',meanbuyprice_withTax='27',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='27',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '118';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح مجوز ','','3','53.9','55','55','55','2026-09-14','0','1','0','','0','0','0','0','0','53.9','53.9','53.9','53.9','53.9','0','2.04','2.04','2.04','.','0','0','0','53.9','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','53.9','53.9','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','53.9','0','0','0','0','0','0','','','0','0','0','0'); -- id=119
UPDATE product SET productName = 'مفتاح مجوز ', productDescription = '', productCatId = '3', productBuyPrice = '53.9', productSellAllPrice = '55', productSellUnitPrice = '55', productSellHalfPrice = '55', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00119',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '53.9',lastbuyprice_withDiscount = '53.9',meanbuyprice = '53.9',meanbuyprice_withDiscount = '53.9' , productbuypricereal = '53.9' , buypricereal_precentage = '0' , buytotal_precentage = '2.04' , buyhalf_precentage = '2.04' , buypart_precentage = '2.04',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='53.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='53.9',meanbuyprice_withTax='53.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='53.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '119';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '119', '1.00', '2026-09-14', '1', '0','0011901','55','55','55','53.9','','0','0','0','0','0','0','0','0','0','0'); -- id=119
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('119', '1', '21', '1', '2026-09-14'); -- id=119
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('119', '1', '21', '0', '119', 'إضافة منتج', 'productController.php', '0', '21', '1', '2026-09-14','0','0'); -- id=148
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (119, 1,'2026-09-14 21:43:39',1)
                ON DUPLICATE KEY UPDATE productid = 119, edited = 1, sysdate = '2026-09-14 21:43:39', userid = 1; -- id=126
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1131.9', '1131.9', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:39','إضافة منتج مفتاح مجوز  الكمية 21','1','0','0','0','119','productController.php?do=edit&id=119'); -- id=128
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('128', '382', '1131.9', '','0'); -- id=128
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '825983.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('128', '121', '1131.9', '','0'); -- id=128
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-28391.88', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح مجوز ', productDescription = '', productCatId = '3', productBuyPrice = '53.90', productSellAllPrice = '55.00', productSellUnitPrice = '55.00', productSellHalfPrice = '55.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00119',type ='0', expireDate = '0' , dailyentryId = '128',isService = '0',isOptic = '0',lastbuyprice = '53.9',lastbuyprice_withDiscount = '53.9',meanbuyprice = '53.9',meanbuyprice_withDiscount = '53.9' , productbuypricereal = '53.9' , buypricereal_precentage = '0' , buytotal_precentage = '2.04' , buyhalf_precentage = '2.04' , buypart_precentage = '2.04',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='53.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='53.9',meanbuyprice_withTax='53.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='53.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '119';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('وش اسمر ','','3','15','15.75','15.75','15.75','2026-09-14','0','1','0','','0','0','0','0','0','15','15','15','15','15','0','5','5','5','.','0','0','0','15','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','15','15','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','15','0','0','0','0','0','0','','','0','0','0','0'); -- id=120
UPDATE product SET productName = 'وش اسمر ', productDescription = '', productCatId = '3', productBuyPrice = '15', productSellAllPrice = '15.75', productSellUnitPrice = '15.75', productSellHalfPrice = '15.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00120',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '120';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '120', '1.00', '2026-09-14', '1', '0','0012001','15.75','15.75','15.75','15','','0','0','0','0','0','0','0','0','0','0'); -- id=120
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('120', '1', '180', '1', '2026-09-14'); -- id=120
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('120', '1', '180', '0', '120', 'إضافة منتج', 'productController.php', '0', '180', '1', '2026-09-14','0','0'); -- id=149
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (120, 1,'2026-09-14 21:43:41',1)
                ON DUPLICATE KEY UPDATE productid = 120, edited = 1, sysdate = '2026-09-14 21:43:41', userid = 1; -- id=127
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2700', '2700', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:41','إضافة منتج وش اسمر  الكمية 180','1','0','0','0','120','productController.php?do=edit&id=120'); -- id=129
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('129', '382', '2700', '','0'); -- id=129
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '828683.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('129', '121', '2700', '','0'); -- id=129
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-25691.88', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'وش اسمر ', productDescription = '', productCatId = '3', productBuyPrice = '15.00', productSellAllPrice = '15.75', productSellUnitPrice = '15.75', productSellHalfPrice = '15.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00120',type ='0', expireDate = '0' , dailyentryId = '129',isService = '0',isOptic = '0',lastbuyprice = '15',lastbuyprice_withDiscount = '15',meanbuyprice = '15',meanbuyprice_withDiscount = '15' , productbuypricereal = '15' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='15',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='15',meanbuyprice_withTax='15',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='15',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '120';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('زر جرس عريض ','','3','74.5','77','77','77','2026-09-14','0','1','0','','0','0','0','0','0','74.5','74.5','74.5','74.5','74.5','0','3.36','3.36','3.36','.','0','0','0','74.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','74.5','74.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','74.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=121
UPDATE product SET productName = 'زر جرس عريض ', productDescription = '', productCatId = '3', productBuyPrice = '74.5', productSellAllPrice = '77', productSellUnitPrice = '77', productSellHalfPrice = '77', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00121',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '74.5',lastbuyprice_withDiscount = '74.5',meanbuyprice = '74.5',meanbuyprice_withDiscount = '74.5' , productbuypricereal = '74.5' , buypricereal_precentage = '0' , buytotal_precentage = '3.36' , buyhalf_precentage = '3.36' , buypart_precentage = '3.36',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='74.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='74.5',meanbuyprice_withTax='74.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='74.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '121';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '121', '1.00', '2026-09-14', '1', '0','0012101','77','77','77','74.5','','0','0','0','0','0','0','0','0','0','0'); -- id=121
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('121', '1', '8', '1', '2026-09-14'); -- id=121
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('121', '1', '8', '0', '121', 'إضافة منتج', 'productController.php', '0', '8', '1', '2026-09-14','0','0'); -- id=150
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (121, 1,'2026-09-14 21:43:44',1)
                ON DUPLICATE KEY UPDATE productid = 121, edited = 1, sysdate = '2026-09-14 21:43:44', userid = 1; -- id=128
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '596', '596', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:44','إضافة منتج زر جرس عريض  الكمية 8','1','0','0','0','121','productController.php?do=edit&id=121'); -- id=130
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('130', '382', '596', '','0'); -- id=130
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '829279.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('130', '121', '596', '','0'); -- id=130
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-25095.88', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'زر جرس عريض ', productDescription = '', productCatId = '3', productBuyPrice = '74.50', productSellAllPrice = '77.00', productSellUnitPrice = '77.00', productSellHalfPrice = '77.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00121',type ='0', expireDate = '0' , dailyentryId = '130',isService = '0',isOptic = '0',lastbuyprice = '74.5',lastbuyprice_withDiscount = '74.5',meanbuyprice = '74.5',meanbuyprice_withDiscount = '74.5' , productbuypricereal = '74.5' , buypricereal_precentage = '0' , buytotal_precentage = '3.36' , buyhalf_precentage = '3.36' , buypart_precentage = '3.36',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='74.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='74.5',meanbuyprice_withTax='74.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='74.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '121';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('مفتاح تكييف 45 امبير','','3','241.5','245','245','245','2026-09-14','0','1','0','','0','0','0','0','0','241.5','241.5','241.5','241.5','241.5','0','1.45','1.45','1.45','.','0','0','0','241.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','241.5','241.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','241.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=122
UPDATE product SET productName = 'مفتاح تكييف 45 امبير', productDescription = '', productCatId = '3', productBuyPrice = '241.5', productSellAllPrice = '245', productSellUnitPrice = '245', productSellHalfPrice = '245', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00122',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '241.5',lastbuyprice_withDiscount = '241.5',meanbuyprice = '241.5',meanbuyprice_withDiscount = '241.5' , productbuypricereal = '241.5' , buypricereal_precentage = '0' , buytotal_precentage = '1.45' , buyhalf_precentage = '1.45' , buypart_precentage = '1.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='241.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='241.5',meanbuyprice_withTax='241.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='241.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '122';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '122', '1.00', '2026-09-14', '1', '0','0012201','245','245','245','241.5','','0','0','0','0','0','0','0','0','0','0'); -- id=122
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('122', '1', '6', '1', '2026-09-14'); -- id=122
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('122', '1', '6', '0', '122', 'إضافة منتج', 'productController.php', '0', '6', '1', '2026-09-14','0','0'); -- id=151
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (122, 1,'2026-09-14 21:43:46',1)
                ON DUPLICATE KEY UPDATE productid = 122, edited = 1, sysdate = '2026-09-14 21:43:46', userid = 1; -- id=129
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1449', '1449', '2026-09-14', '1', '0', '0', '2026-09-14 21:43:46','إضافة منتج مفتاح تكييف 45 امبير الكمية 6','1','0','0','0','122','productController.php?do=edit&id=122'); -- id=131
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('131', '382', '1449', '','0'); -- id=131
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '830728.58', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('131', '121', '1449', '','0'); -- id=131
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-23646.88', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'مفتاح تكييف 45 امبير', productDescription = '', productCatId = '3', productBuyPrice = '241.50', productSellAllPrice = '245.00', productSellUnitPrice = '245.00', productSellHalfPrice = '245.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00122',type ='0', expireDate = '0' , dailyentryId = '131',isService = '0',isOptic = '0',lastbuyprice = '241.5',lastbuyprice_withDiscount = '241.5',meanbuyprice = '241.5',meanbuyprice_withDiscount = '241.5' , productbuypricereal = '241.5' , buypricereal_precentage = '0' , buytotal_precentage = '1.45' , buyhalf_precentage = '1.45' , buypart_precentage = '1.45',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='241.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='241.5',meanbuyprice_withTax='241.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='241.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '122';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:13:48";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 21:43:48", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 21:43:48', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=528
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:13:56";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 21:43:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 21:43:56', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=529
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:35:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:05:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:05:16', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=530
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره 10 وات 3 تكه وان لاين','','15','31.86','34','34','34','2026-09-14','0','1','30','','0','0','0','0','0','31.86','31.86','31.86','31.86','31.86','0','6.72','6.72','6.72','.','0','0','0','31.86','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','31.86','31.86','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','31.86','0','0','0','0','0','0','','','0','0','0','0'); -- id=123
UPDATE product SET productName = 'بلفونيره 10 وات 3 تكه وان لاين', productDescription = '', productCatId = '15', productBuyPrice = '31.86', productSellAllPrice = '34', productSellUnitPrice = '34', productSellHalfPrice = '34', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00123',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '31.86',lastbuyprice_withDiscount = '31.86',meanbuyprice = '31.86',meanbuyprice_withDiscount = '31.86' , productbuypricereal = '31.86' , buypricereal_precentage = '0' , buytotal_precentage = '6.72' , buyhalf_precentage = '6.72' , buypart_precentage = '6.72',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='31.86',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='31.86',meanbuyprice_withTax='31.86',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='31.86',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '123';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '123', '1.00', '2026-09-14', '1', '0','0012301','34','34','34','31.86','','0','0','0','0','0','0','0','0','0','0'); -- id=123
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('123', '1', '115', '1', '2026-09-14'); -- id=123
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('123', '1', '115', '0', '123', 'إضافة منتج', 'productController.php', '0', '115', '1', '2026-09-14','0','0'); -- id=152
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (123, 1,'2026-09-14 22:05:17',1)
                ON DUPLICATE KEY UPDATE productid = 123, edited = 1, sysdate = '2026-09-14 22:05:17', userid = 1; -- id=130
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3663.9', '3663.9', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:17','إضافة منتج بلفونيره 10 وات 3 تكه وان لاين الكمية 115','1','0','0','0','123','productController.php?do=edit&id=123'); -- id=132
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('132', '382', '3663.9', '','0'); -- id=132
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '834392.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('132', '121', '3663.9', '','0'); -- id=132
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-19982.98', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره 10 وات 3 تكه وان لاين', productDescription = '', productCatId = '15', productBuyPrice = '31.86', productSellAllPrice = '34.00', productSellUnitPrice = '34.00', productSellHalfPrice = '34.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00123',type ='0', expireDate = '0' , dailyentryId = '132',isService = '0',isOptic = '0',lastbuyprice = '31.86',lastbuyprice_withDiscount = '31.86',meanbuyprice = '31.86',meanbuyprice_withDiscount = '31.86' , productbuypricereal = '31.86' , buypricereal_precentage = '0' , buytotal_precentage = '6.72' , buyhalf_precentage = '6.72' , buypart_precentage = '6.72',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='31.86',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='31.86',meanbuyprice_withTax='31.86',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='31.86',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '123';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('اسبوط زجاجي 6 وات ','','15','32','35','38','35','2026-09-14','0','1','50','','0','0','0','0','0','32','32','32','32','32','0','9.38','9.38','18.75','.','0','0','0','32','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','32','32','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','32','0','0','0','0','0','0','','','0','0','0','0'); -- id=124
UPDATE product SET productName = 'اسبوط زجاجي 6 وات ', productDescription = '', productCatId = '15', productBuyPrice = '32', productSellAllPrice = '35', productSellUnitPrice = '38', productSellHalfPrice = '35', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '50', parcode = '00124',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '32',lastbuyprice_withDiscount = '32',meanbuyprice = '32',meanbuyprice_withDiscount = '32' , productbuypricereal = '32' , buypricereal_precentage = '0' , buytotal_precentage = '9.38' , buyhalf_precentage = '9.38' , buypart_precentage = '18.75',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='32',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='32',meanbuyprice_withTax='32',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='32',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '124';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '124', '1.00', '2026-09-14', '1', '0','0012401','35','35','38','32','','0','0','0','0','0','0','0','0','0','0'); -- id=124
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('124', '1', '280', '1', '2026-09-14'); -- id=124
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('124', '1', '280', '0', '124', 'إضافة منتج', 'productController.php', '0', '280', '1', '2026-09-14','0','0'); -- id=153
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (124, 1,'2026-09-14 22:05:19',1)
                ON DUPLICATE KEY UPDATE productid = 124, edited = 1, sysdate = '2026-09-14 22:05:19', userid = 1; -- id=131
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '8960', '8960', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:19','إضافة منتج اسبوط زجاجي 6 وات  الكمية 280','1','0','0','0','124','productController.php?do=edit&id=124'); -- id=133
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('133', '382', '8960', '','0'); -- id=133
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '843352.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('133', '121', '8960', '','0'); -- id=133
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-11022.98', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'اسبوط زجاجي 6 وات ', productDescription = '', productCatId = '15', productBuyPrice = '32.00', productSellAllPrice = '35.00', productSellUnitPrice = '38.00', productSellHalfPrice = '35.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '50', parcode = '00124',type ='0', expireDate = '0' , dailyentryId = '133',isService = '0',isOptic = '0',lastbuyprice = '32',lastbuyprice_withDiscount = '32',meanbuyprice = '32',meanbuyprice_withDiscount = '32' , productbuypricereal = '32' , buypricereal_precentage = '0' , buytotal_precentage = '9.38' , buyhalf_precentage = '9.38' , buypart_precentage = '18.75',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='32',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='32',meanbuyprice_withTax='32',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='32',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '124';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره 20 وات خارج ماهر','','15','75','90','105','90','2026-09-14','0','1','30','','0','0','0','0','0','75','75','75','75','75','0','20','20','40','.','0','0','0','75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','75','75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','75','0','0','0','0','0','0','','','0','0','0','0'); -- id=125
UPDATE product SET productName = 'بلفونيره 20 وات خارج ماهر', productDescription = '', productCatId = '15', productBuyPrice = '75', productSellAllPrice = '90', productSellUnitPrice = '105', productSellHalfPrice = '90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00125',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '75',lastbuyprice_withDiscount = '75',meanbuyprice = '75',meanbuyprice_withDiscount = '75' , productbuypricereal = '75' , buypricereal_precentage = '0' , buytotal_precentage = '20' , buyhalf_precentage = '20' , buypart_precentage = '40',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='75',meanbuyprice_withTax='75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '125';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '125', '1.00', '2026-09-14', '1', '0','0012501','90','90','105','75','','0','0','0','0','0','0','0','0','0','0'); -- id=125
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('125', '1', '84', '1', '2026-09-14'); -- id=125
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('125', '1', '84', '0', '125', 'إضافة منتج', 'productController.php', '0', '84', '1', '2026-09-14','0','0'); -- id=154
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (125, 1,'2026-09-14 22:05:22',1)
                ON DUPLICATE KEY UPDATE productid = 125, edited = 1, sysdate = '2026-09-14 22:05:22', userid = 1; -- id=132
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '6300', '6300', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:22','إضافة منتج بلفونيره 20 وات خارج ماهر الكمية 84','1','0','0','0','125','productController.php?do=edit&id=125'); -- id=134
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('134', '382', '6300', '','0'); -- id=134
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '849652.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('134', '121', '6300', '','0'); -- id=134
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-4722.98', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره 20 وات خارج ماهر', productDescription = '', productCatId = '15', productBuyPrice = '75.00', productSellAllPrice = '90.00', productSellUnitPrice = '105.00', productSellHalfPrice = '90.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '30', parcode = '00125',type ='0', expireDate = '0' , dailyentryId = '134',isService = '0',isOptic = '0',lastbuyprice = '75',lastbuyprice_withDiscount = '75',meanbuyprice = '75',meanbuyprice_withDiscount = '75' , productbuypricereal = '75' , buypricereal_precentage = '0' , buytotal_precentage = '20' , buyhalf_precentage = '20' , buypart_precentage = '40',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='75',meanbuyprice_withTax='75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '125';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره 20 وات داخل ماهر ','','15','65','80','95','80','2026-09-14','0','1','20','','0','0','0','0','0','65','65','65','65','65','0','23.08','23.08','46.15','.','0','0','0','65','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','65','65','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','65','0','0','0','0','0','0','','','0','0','0','0'); -- id=126
UPDATE product SET productName = 'بلفونيره 20 وات داخل ماهر ', productDescription = '', productCatId = '15', productBuyPrice = '65', productSellAllPrice = '80', productSellUnitPrice = '95', productSellHalfPrice = '80', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00126',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '65',lastbuyprice_withDiscount = '65',meanbuyprice = '65',meanbuyprice_withDiscount = '65' , productbuypricereal = '65' , buypricereal_precentage = '0' , buytotal_precentage = '23.08' , buyhalf_precentage = '23.08' , buypart_precentage = '46.15',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='65',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='65',meanbuyprice_withTax='65',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='65',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '126';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '126', '1.00', '2026-09-14', '1', '0','0012601','80','80','95','65','','0','0','0','0','0','0','0','0','0','0'); -- id=126
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('126', '1', '43', '1', '2026-09-14'); -- id=126
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('126', '1', '43', '0', '126', 'إضافة منتج', 'productController.php', '0', '43', '1', '2026-09-14','0','0'); -- id=155
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (126, 1,'2026-09-14 22:05:24',1)
                ON DUPLICATE KEY UPDATE productid = 126, edited = 1, sysdate = '2026-09-14 22:05:24', userid = 1; -- id=133
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2795', '2795', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:24','إضافة منتج بلفونيره 20 وات داخل ماهر  الكمية 43','1','0','0','0','126','productController.php?do=edit&id=126'); -- id=135
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('135', '382', '2795', '','0'); -- id=135
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '852447.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('135', '121', '2795', '','0'); -- id=135
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '-1927.98', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره 20 وات داخل ماهر ', productDescription = '', productCatId = '15', productBuyPrice = '65.00', productSellAllPrice = '80.00', productSellUnitPrice = '95.00', productSellHalfPrice = '80.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '20', parcode = '00126',type ='0', expireDate = '0' , dailyentryId = '135',isService = '0',isOptic = '0',lastbuyprice = '65',lastbuyprice_withDiscount = '65',meanbuyprice = '65',meanbuyprice_withDiscount = '65' , productbuypricereal = '65' , buypricereal_precentage = '0' , buytotal_precentage = '23.08' , buyhalf_precentage = '23.08' , buypart_precentage = '46.15',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='65',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='65',meanbuyprice_withTax='65',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='65',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '126';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره خارج 20 وات 3 تكه ماهر','','15','85','100','115','100','2026-09-14','0','1','0','','0','0','0','0','0','85','85','85','85','85','0','17.65','17.65','35.29','.','0','0','0','85','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','85','85','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','85','0','0','0','0','0','0','','','0','0','0','0'); -- id=127
UPDATE product SET productName = 'بلفونيره خارج 20 وات 3 تكه ماهر', productDescription = '', productCatId = '15', productBuyPrice = '85', productSellAllPrice = '100', productSellUnitPrice = '115', productSellHalfPrice = '100', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00127',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '85',lastbuyprice_withDiscount = '85',meanbuyprice = '85',meanbuyprice_withDiscount = '85' , productbuypricereal = '85' , buypricereal_precentage = '0' , buytotal_precentage = '17.65' , buyhalf_precentage = '17.65' , buypart_precentage = '35.29',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='85',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='85',meanbuyprice_withTax='85',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='85',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '127';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '127', '1.00', '2026-09-14', '1', '0','0012701','100','100','115','85','','0','0','0','0','0','0','0','0','0','0'); -- id=127
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('127', '1', '29', '1', '2026-09-14'); -- id=127
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('127', '1', '29', '0', '127', 'إضافة منتج', 'productController.php', '0', '29', '1', '2026-09-14','0','0'); -- id=156
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (127, 1,'2026-09-14 22:05:26',1)
                ON DUPLICATE KEY UPDATE productid = 127, edited = 1, sysdate = '2026-09-14 22:05:26', userid = 1; -- id=134
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2465', '2465', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:26','إضافة منتج بلفونيره خارج 20 وات 3 تكه ماهر الكمية 29','1','0','0','0','127','productController.php?do=edit&id=127'); -- id=136
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('136', '382', '2465', '','0'); -- id=136
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '854912.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('136', '121', '2465', '','0'); -- id=136
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '537.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره خارج 20 وات 3 تكه ماهر', productDescription = '', productCatId = '15', productBuyPrice = '85.00', productSellAllPrice = '100.00', productSellUnitPrice = '115.00', productSellHalfPrice = '100.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00127',type ='0', expireDate = '0' , dailyentryId = '136',isService = '0',isOptic = '0',lastbuyprice = '85',lastbuyprice_withDiscount = '85',meanbuyprice = '85',meanbuyprice_withDiscount = '85' , productbuypricereal = '85' , buypricereal_precentage = '0' , buytotal_precentage = '17.65' , buyhalf_precentage = '17.65' , buypart_precentage = '35.29',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='85',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='85',meanbuyprice_withTax='85',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='85',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '127';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونبره داخل 20 وات 3 تكه ماهر','','15','75','85','95','85','2026-09-14','0','1','0','','0','0','0','0','0','75','75','75','75','75','0','13.33','13.33','26.67','.','0','0','0','75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','75','75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','75','0','0','0','0','0','0','','','0','0','0','0'); -- id=128
UPDATE product SET productName = 'بلفونبره داخل 20 وات 3 تكه ماهر', productDescription = '', productCatId = '15', productBuyPrice = '75', productSellAllPrice = '85', productSellUnitPrice = '95', productSellHalfPrice = '85', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00128',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '75',lastbuyprice_withDiscount = '75',meanbuyprice = '75',meanbuyprice_withDiscount = '75' , productbuypricereal = '75' , buypricereal_precentage = '0' , buytotal_precentage = '13.33' , buyhalf_precentage = '13.33' , buypart_precentage = '26.67',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='75',meanbuyprice_withTax='75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '128';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '128', '1.00', '2026-09-14', '1', '0','0012801','85','85','95','75','','0','0','0','0','0','0','0','0','0','0'); -- id=128
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('128', '1', '46', '1', '2026-09-14'); -- id=128
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('128', '1', '46', '0', '128', 'إضافة منتج', 'productController.php', '0', '46', '1', '2026-09-14','0','0'); -- id=157
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (128, 1,'2026-09-14 22:05:28',1)
                ON DUPLICATE KEY UPDATE productid = 128, edited = 1, sysdate = '2026-09-14 22:05:28', userid = 1; -- id=135
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3450', '3450', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:28','إضافة منتج بلفونبره داخل 20 وات 3 تكه ماهر الكمية 46','1','0','0','0','128','productController.php?do=edit&id=128'); -- id=137
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('137', '382', '3450', '','0'); -- id=137
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '858362.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('137', '121', '3450', '','0'); -- id=137
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '3987.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونبره داخل 20 وات 3 تكه ماهر', productDescription = '', productCatId = '15', productBuyPrice = '75.00', productSellAllPrice = '85.00', productSellUnitPrice = '95.00', productSellHalfPrice = '85.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00128',type ='0', expireDate = '0' , dailyentryId = '137',isService = '0',isOptic = '0',lastbuyprice = '75',lastbuyprice_withDiscount = '75',meanbuyprice = '75',meanbuyprice_withDiscount = '75' , productbuypricereal = '75' , buypricereal_precentage = '0' , buytotal_precentage = '13.33' , buyhalf_precentage = '13.33' , buypart_precentage = '26.67',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='75',meanbuyprice_withTax='75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '128';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره خارج 30 وات ماهر ','','15','115','130','130','130','2026-09-14','0','1','0','','0','0','0','0','0','115','115','115','115','115','0','13.04','13.04','13.04','.','0','0','0','115','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','115','115','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','115','0','0','0','0','0','0','','','0','0','0','0'); -- id=129
UPDATE product SET productName = 'بلفونيره خارج 30 وات ماهر ', productDescription = '', productCatId = '15', productBuyPrice = '115', productSellAllPrice = '130', productSellUnitPrice = '130', productSellHalfPrice = '130', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00129',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '115',lastbuyprice_withDiscount = '115',meanbuyprice = '115',meanbuyprice_withDiscount = '115' , productbuypricereal = '115' , buypricereal_precentage = '0' , buytotal_precentage = '13.04' , buyhalf_precentage = '13.04' , buypart_precentage = '13.04',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='115',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='115',meanbuyprice_withTax='115',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='115',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '129';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '129', '1.00', '2026-09-14', '1', '0','0012901','130','130','130','115','','0','0','0','0','0','0','0','0','0','0'); -- id=129
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('129', '1', '28', '1', '2026-09-14'); -- id=129
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('129', '1', '28', '0', '129', 'إضافة منتج', 'productController.php', '0', '28', '1', '2026-09-14','0','0'); -- id=158
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (129, 1,'2026-09-14 22:05:30',1)
                ON DUPLICATE KEY UPDATE productid = 129, edited = 1, sysdate = '2026-09-14 22:05:30', userid = 1; -- id=136
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3220', '3220', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:30','إضافة منتج بلفونيره خارج 30 وات ماهر  الكمية 28','1','0','0','0','129','productController.php?do=edit&id=129'); -- id=138
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('138', '382', '3220', '','0'); -- id=138
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '861582.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('138', '121', '3220', '','0'); -- id=138
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '7207.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره خارج 30 وات ماهر ', productDescription = '', productCatId = '15', productBuyPrice = '115.00', productSellAllPrice = '130.00', productSellUnitPrice = '130.00', productSellHalfPrice = '130.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00129',type ='0', expireDate = '0' , dailyentryId = '138',isService = '0',isOptic = '0',lastbuyprice = '115',lastbuyprice_withDiscount = '115',meanbuyprice = '115',meanbuyprice_withDiscount = '115' , productbuypricereal = '115' , buypricereal_precentage = '0' , buytotal_precentage = '13.04' , buyhalf_precentage = '13.04' , buypart_precentage = '13.04',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='115',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='115',meanbuyprice_withTax='115',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='115',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '129';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره 36 داخل اب لايت ','','15','160','170','190','170','2026-09-14','0','1','0','','0','0','0','0','0','160','160','160','160','160','0','6.25','6.25','18.75','.','0','0','0','160','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','160','160','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','160','0','0','0','0','0','0','','','0','0','0','0'); -- id=130
UPDATE product SET productName = 'بلفونيره 36 داخل اب لايت ', productDescription = '', productCatId = '15', productBuyPrice = '160', productSellAllPrice = '170', productSellUnitPrice = '190', productSellHalfPrice = '170', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00130',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '160',lastbuyprice_withDiscount = '160',meanbuyprice = '160',meanbuyprice_withDiscount = '160' , productbuypricereal = '160' , buypricereal_precentage = '0' , buytotal_precentage = '6.25' , buyhalf_precentage = '6.25' , buypart_precentage = '18.75',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='160',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='160',meanbuyprice_withTax='160',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='160',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '130';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '130', '1.00', '2026-09-14', '1', '0','0013001','170','170','190','160','','0','0','0','0','0','0','0','0','0','0'); -- id=130
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('130', '1', '11', '1', '2026-09-14'); -- id=130
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('130', '1', '11', '0', '130', 'إضافة منتج', 'productController.php', '0', '11', '1', '2026-09-14','0','0'); -- id=159
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (130, 1,'2026-09-14 22:05:32',1)
                ON DUPLICATE KEY UPDATE productid = 130, edited = 1, sysdate = '2026-09-14 22:05:32', userid = 1; -- id=137
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1760', '1760', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:32','إضافة منتج بلفونيره 36 داخل اب لايت  الكمية 11','1','0','0','0','130','productController.php?do=edit&id=130'); -- id=139
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('139', '382', '1760', '','0'); -- id=139
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '863342.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('139', '121', '1760', '','0'); -- id=139
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '8967.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره 36 داخل اب لايت ', productDescription = '', productCatId = '15', productBuyPrice = '160.00', productSellAllPrice = '170.00', productSellUnitPrice = '190.00', productSellHalfPrice = '170.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00130',type ='0', expireDate = '0' , dailyentryId = '139',isService = '0',isOptic = '0',lastbuyprice = '160',lastbuyprice_withDiscount = '160',meanbuyprice = '160',meanbuyprice_withDiscount = '160' , productbuypricereal = '160' , buypricereal_precentage = '0' , buytotal_precentage = '6.25' , buyhalf_precentage = '6.25' , buypart_precentage = '18.75',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='160',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='160',meanbuyprice_withTax='160',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='160',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '130';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره 36 خارج اب لايت ','','15','180','195','210','195','2026-09-14','0','1','0','','0','0','0','0','0','180','180','180','180','180','0','8.33','8.33','16.67','.','0','0','0','180','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','180','180','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','180','0','0','0','0','0','0','','','0','0','0','0'); -- id=131
UPDATE product SET productName = 'بلفونيره 36 خارج اب لايت ', productDescription = '', productCatId = '15', productBuyPrice = '180', productSellAllPrice = '195', productSellUnitPrice = '210', productSellHalfPrice = '195', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00131',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '180',lastbuyprice_withDiscount = '180',meanbuyprice = '180',meanbuyprice_withDiscount = '180' , productbuypricereal = '180' , buypricereal_precentage = '0' , buytotal_precentage = '8.33' , buyhalf_precentage = '8.33' , buypart_precentage = '16.67',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='180',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='180',meanbuyprice_withTax='180',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='180',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '131';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '131', '1.00', '2026-09-14', '1', '0','0013101','195','195','210','180','','0','0','0','0','0','0','0','0','0','0'); -- id=131
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('131', '1', '29', '1', '2026-09-14'); -- id=131
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('131', '1', '29', '0', '131', 'إضافة منتج', 'productController.php', '0', '29', '1', '2026-09-14','0','0'); -- id=160
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (131, 1,'2026-09-14 22:05:35',1)
                ON DUPLICATE KEY UPDATE productid = 131, edited = 1, sysdate = '2026-09-14 22:05:35', userid = 1; -- id=138
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5220', '5220', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:35','إضافة منتج بلفونيره 36 خارج اب لايت  الكمية 29','1','0','0','0','131','productController.php?do=edit&id=131'); -- id=140
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('140', '382', '5220', '','0'); -- id=140
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '868562.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('140', '121', '5220', '','0'); -- id=140
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '14187.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره 36 خارج اب لايت ', productDescription = '', productCatId = '15', productBuyPrice = '180.00', productSellAllPrice = '195.00', productSellUnitPrice = '210.00', productSellHalfPrice = '195.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00131',type ='0', expireDate = '0' , dailyentryId = '140',isService = '0',isOptic = '0',lastbuyprice = '180',lastbuyprice_withDiscount = '180',meanbuyprice = '180',meanbuyprice_withDiscount = '180' , productbuypricereal = '180' , buypricereal_precentage = '0' , buytotal_precentage = '8.33' , buyhalf_precentage = '8.33' , buypart_precentage = '16.67',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='180',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='180',meanbuyprice_withTax='180',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='180',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '131';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بلفونيره 26 خارج اب لايت ','','15','135','145','165','145','2026-09-14','0','1','0','','0','0','0','0','0','135','135','135','135','135','0','7.41','7.41','22.22','.','0','0','0','135','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','135','135','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','135','0','0','0','0','0','0','','','0','0','0','0'); -- id=132
UPDATE product SET productName = 'بلفونيره 26 خارج اب لايت ', productDescription = '', productCatId = '15', productBuyPrice = '135', productSellAllPrice = '145', productSellUnitPrice = '165', productSellHalfPrice = '145', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00132',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '135',lastbuyprice_withDiscount = '135',meanbuyprice = '135',meanbuyprice_withDiscount = '135' , productbuypricereal = '135' , buypricereal_precentage = '0' , buytotal_precentage = '7.41' , buyhalf_precentage = '7.41' , buypart_precentage = '22.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='135',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='135',meanbuyprice_withTax='135',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='135',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '132';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '132', '1.00', '2026-09-14', '1', '0','0013201','145','145','165','135','','0','0','0','0','0','0','0','0','0','0'); -- id=132
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('132', '1', '8', '1', '2026-09-14'); -- id=132
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('132', '1', '8', '0', '132', 'إضافة منتج', 'productController.php', '0', '8', '1', '2026-09-14','0','0'); -- id=161
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (132, 1,'2026-09-14 22:05:37',1)
                ON DUPLICATE KEY UPDATE productid = 132, edited = 1, sysdate = '2026-09-14 22:05:37', userid = 1; -- id=139
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1080', '1080', '2026-09-14', '1', '0', '0', '2026-09-14 22:05:37','إضافة منتج بلفونيره 26 خارج اب لايت  الكمية 8','1','0','0','0','132','productController.php?do=edit&id=132'); -- id=141
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('141', '382', '1080', '','0'); -- id=141
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '869642.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('141', '121', '1080', '','0'); -- id=141
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '15267.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بلفونيره 26 خارج اب لايت ', productDescription = '', productCatId = '15', productBuyPrice = '135.00', productSellAllPrice = '145.00', productSellUnitPrice = '165.00', productSellHalfPrice = '145.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00132',type ='0', expireDate = '0' , dailyentryId = '141',isService = '0',isOptic = '0',lastbuyprice = '135',lastbuyprice_withDiscount = '135',meanbuyprice = '135',meanbuyprice_withDiscount = '135' , productbuypricereal = '135' , buypricereal_precentage = '0' , buytotal_precentage = '7.41' , buyhalf_precentage = '7.41' , buypart_precentage = '22.22',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='135',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='135',meanbuyprice_withTax='135',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='135',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '132';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:35:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:05:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:05:39', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=531
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:35:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:05:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:05:49', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php'); -- id=532
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:36:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:06:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:06:43', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php'); -- id=533
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:36:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:06:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:06:59', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=534
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:37:11";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:07:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:07:11', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=535
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:37:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:07:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:07:26', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=536
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:37:34";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:07:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:07:34', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php'); -- id=537
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:00";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:00', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=538
UPDATE storedetail SET  productquantity = '160', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '87';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('87', '1', '160', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '160', '1', '2026-09-14','0','0'); -- id=162
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1776', '1776', '2026-09-14', '1', '0', '0', '2026-09-14 22:09:00','اعادة جرد للمنتج : (علبه ماجيك مجوز مصطفي محمود راسي/خراطيم) فى مخزن : (المخزن الرئيسي) بالكمية : 160','1','0',null,'0','162','inventoryController.php?do=details&id=162'); -- id=142
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('142', '382', '1776', '','0'); -- id=142
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '871418.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('142', '188', '1776', '','0'); -- id=142
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-50569.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:04";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:04', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=539
UPDATE storedetail SET  productquantity = '440', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '89';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('89', '1', '440', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '440', '1', '2026-09-14','0','0'); -- id=163
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1760', '1760', '2026-09-14', '1', '0', '0', '2026-09-14 22:09:05','اعادة جرد للمنتج : (علبه ماجيك مفرد كوبرا /خراطيم) فى مخزن : (المخزن الرئيسي) بالكمية : 440','1','0',null,'0','163','inventoryController.php?do=details&id=163'); -- id=143
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('143', '382', '1760', '','0'); -- id=143
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '873178.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('143', '188', '1760', '','0'); -- id=143
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-52329.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:12', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=540
UPDATE storedetail SET  productquantity = '460', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '86';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('86', '1', '460', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '460', '1', '2026-09-14','0','0'); -- id=164
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2714', '2714', '2026-09-14', '1', '0', '0', '2026-09-14 22:09:12','اعادة جرد للمنتج : (علبه ماجيك مفرد مصطفي محمود /خراطيم) فى مخزن : (المخزن الرئيسي) بالكمية : 460','1','0',null,'0','164','inventoryController.php?do=details&id=164'); -- id=144
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('144', '382', '2714', '','0'); -- id=144
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '875892.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('144', '188', '2714', '','0'); -- id=144
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-55043.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:21", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:21', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=541
UPDATE storedetail SET  productquantity = '150', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '88';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('88', '1', '150', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '150', '1', '2026-09-14','0','0'); -- id=165
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1665', '1665', '2026-09-14', '1', '0', '0', '2026-09-14 22:09:21','اعادة جرد للمنتج : (علبه ملجيك مجوز شاشه مصطفي محمود/خراطيم) فى مخزن : (المخزن الرئيسي) بالكمية : 150','1','0',null,'0','165','inventoryController.php?do=details&id=165'); -- id=145
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('145', '382', '1665', '','0'); -- id=145
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '877557.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('145', '188', '1665', '','0'); -- id=145
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-56708.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:26', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=542
UPDATE storedetail SET  productquantity = '32', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '84';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('84', '1', '32', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '32', '1', '2026-09-14','0','0'); -- id=166
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5120', '5120', '2026-09-14', '1', '0', '0', '2026-09-14 22:09:26','اعادة جرد للمنتج : (لفه سوسته وير 16 ملي 30 متر بيور/خراطيم) فى مخزن : (المخزن الرئيسي) بالكمية : 32','1','0',null,'0','166','inventoryController.php?do=details&id=166'); -- id=146
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('146', '382', '5120', '','0'); -- id=146
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '882677.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('146', '188', '5120', '','0'); -- id=146
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-61828.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:29', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=543
UPDATE storedetail SET  productquantity = '20', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '85';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('85', '1', '20', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '20', '1', '2026-09-14','0','0'); -- id=167
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5000', '5000', '2026-09-14', '1', '0', '0', '2026-09-14 22:09:30','اعادة جرد للمنتج : (لفه سوسته وير 23 ملي 30 متر بيور/خراطيم) فى مخزن : (المخزن الرئيسي) بالكمية : 20','1','0',null,'0','167','inventoryController.php?do=details&id=167'); -- id=147
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('147', '382', '5000', '','0'); -- id=147
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '887677.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('147', '188', '5000', '','0'); -- id=147
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-66828.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:38";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:38", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:38', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=544
UPDATE storedetail SET  productquantity = '5', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '72';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('72', '1', '5', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '5', '5', '1', '2026-09-14','0','0'); -- id=168
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:43";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:43", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:43', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=545
UPDATE storedetail SET  productquantity = '11', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '71';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('71', '1', '11', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '11', '11', '1', '2026-09-14','0','0'); -- id=169
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:47";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:48", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:48', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=546
UPDATE storedetail SET  productquantity = '13', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '73';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('73', '1', '13', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '13', '13', '1', '2026-09-14','0','0'); -- id=170
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:39:57";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:09:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:09:57', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=547
UPDATE storedetail SET  productquantity = '650', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '75';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('75', '1', '650', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية لم يتغير', 'inventoryController.php', '650', '650', '1', '2026-09-14','0','0'); -- id=171
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:40:08";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:10:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:10:08', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=548
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:40:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:10:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:10:10', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=549
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:40:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:10:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:10:12', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=550
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:40:13";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:10:13", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:10:13', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=551
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:40:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:10:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:10:25', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=552
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:40:34";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:10:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:10:34', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=553
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:41:00";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:11:00", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:11:00', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=554
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:58:19";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:28:19", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:28:19', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=555
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه اسبوط مفرد اسمر مربع غالي ','','21','23.1','23.1','23.1','23.1','2026-09-14','0','1','0','','0','0','0','0','0','23.1','23.1','23.1','23.1','23.1','0','0','0','0','.','0','0','0','23.1','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','23.1','23.1','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','23.1','0','0','0','0','0','0','','','0','0','0','0'); -- id=133
UPDATE product SET productName = 'شاسيه اسبوط مفرد اسمر مربع غالي ', productDescription = '', productCatId = '21', productBuyPrice = '23.1', productSellAllPrice = '23.1', productSellUnitPrice = '23.1', productSellHalfPrice = '23.1', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00133',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '23.1',lastbuyprice_withDiscount = '23.1',meanbuyprice = '23.1',meanbuyprice_withDiscount = '23.1' , productbuypricereal = '23.1' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='23.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='23.1',meanbuyprice_withTax='23.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='23.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '133';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '133', '1.00', '2026-09-14', '1', '0','0013301','23.1','23.1','23.1','23.1','','0','0','0','0','0','0','0','0','0','0'); -- id=133
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('133', '1', '228', '1', '2026-09-14'); -- id=133
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('133', '1', '228', '0', '133', 'إضافة منتج', 'productController.php', '0', '228', '1', '2026-09-14','0','0'); -- id=172
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (133, 1,'2026-09-14 22:28:21',1)
                ON DUPLICATE KEY UPDATE productid = 133, edited = 1, sysdate = '2026-09-14 22:28:21', userid = 1; -- id=140
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5266.8', '5266.8', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:21','إضافة منتج شاسيه اسبوط مفرد اسمر مربع غالي  الكمية 228','1','0','0','0','133','productController.php?do=edit&id=133'); -- id=148
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('148', '382', '5266.8', '','0'); -- id=148
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '892944.28', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('148', '121', '5266.8', '','0'); -- id=148
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '20533.82', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه اسبوط مفرد اسمر مربع غالي ', productDescription = '', productCatId = '21', productBuyPrice = '23.10', productSellAllPrice = '23.10', productSellUnitPrice = '23.10', productSellHalfPrice = '23.10', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00133',type ='0', expireDate = '0' , dailyentryId = '148',isService = '0',isOptic = '0',lastbuyprice = '23.1',lastbuyprice_withDiscount = '23.1',meanbuyprice = '23.1',meanbuyprice_withDiscount = '23.1' , productbuypricereal = '23.1' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='23.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='23.1',meanbuyprice_withTax='23.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='23.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '133';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه مجوز ابيض','','21','39.9','39.9','39.9','39.9','2026-09-14','0','1','0','','0','0','0','0','0','39.9','39.9','39.9','39.9','39.9','0','0','0','0','.','0','0','0','39.9','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','39.9','39.9','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','39.9','0','0','0','0','0','0','','','0','0','0','0'); -- id=134
UPDATE product SET productName = 'شاسيه مجوز ابيض', productDescription = '', productCatId = '21', productBuyPrice = '39.9', productSellAllPrice = '39.9', productSellUnitPrice = '39.9', productSellHalfPrice = '39.9', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00134',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '39.9',lastbuyprice_withDiscount = '39.9',meanbuyprice = '39.9',meanbuyprice_withDiscount = '39.9' , productbuypricereal = '39.9' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='39.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='39.9',meanbuyprice_withTax='39.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='39.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '134';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '134', '1.00', '2026-09-14', '1', '0','0013401','39.9','39.9','39.9','39.9','','0','0','0','0','0','0','0','0','0','0'); -- id=134
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('134', '1', '20', '1', '2026-09-14'); -- id=134
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('134', '1', '20', '0', '134', 'إضافة منتج', 'productController.php', '0', '20', '1', '2026-09-14','0','0'); -- id=173
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (134, 1,'2026-09-14 22:28:23',1)
                ON DUPLICATE KEY UPDATE productid = 134, edited = 1, sysdate = '2026-09-14 22:28:23', userid = 1; -- id=141
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '798', '798', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:23','إضافة منتج شاسيه مجوز ابيض الكمية 20','1','0','0','0','134','productController.php?do=edit&id=134'); -- id=149
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('149', '382', '798', '','0'); -- id=149
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '893742.28', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('149', '121', '798', '','0'); -- id=149
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '21331.82', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه مجوز ابيض', productDescription = '', productCatId = '21', productBuyPrice = '39.90', productSellAllPrice = '39.90', productSellUnitPrice = '39.90', productSellHalfPrice = '39.90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00134',type ='0', expireDate = '0' , dailyentryId = '149',isService = '0',isOptic = '0',lastbuyprice = '39.9',lastbuyprice_withDiscount = '39.9',meanbuyprice = '39.9',meanbuyprice_withDiscount = '39.9' , productbuypricereal = '39.9' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='39.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='39.9',meanbuyprice_withTax='39.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='39.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '134';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه مجوز اسمر ','','21','39.9','39.9','39.9','39.9','2026-09-14','0','1','0','','0','0','0','0','0','39.9','39.9','39.9','39.9','39.9','0','0','0','0','.','0','0','0','39.9','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','39.9','39.9','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','39.9','0','0','0','0','0','0','','','0','0','0','0'); -- id=135
UPDATE product SET productName = 'شاسيه مجوز اسمر ', productDescription = '', productCatId = '21', productBuyPrice = '39.9', productSellAllPrice = '39.9', productSellUnitPrice = '39.9', productSellHalfPrice = '39.9', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00135',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '39.9',lastbuyprice_withDiscount = '39.9',meanbuyprice = '39.9',meanbuyprice_withDiscount = '39.9' , productbuypricereal = '39.9' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='39.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='39.9',meanbuyprice_withTax='39.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='39.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '135';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '135', '1.00', '2026-09-14', '1', '0','0013501','39.9','39.9','39.9','39.9','','0','0','0','0','0','0','0','0','0','0'); -- id=135
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('135', '1', '58', '1', '2026-09-14'); -- id=135
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('135', '1', '58', '0', '135', 'إضافة منتج', 'productController.php', '0', '58', '1', '2026-09-14','0','0'); -- id=174
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (135, 1,'2026-09-14 22:28:25',1)
                ON DUPLICATE KEY UPDATE productid = 135, edited = 1, sysdate = '2026-09-14 22:28:25', userid = 1; -- id=142
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2314.2', '2314.2', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:25','إضافة منتج شاسيه مجوز اسمر  الكمية 58','1','0','0','0','135','productController.php?do=edit&id=135'); -- id=150
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('150', '382', '2314.2', '','0'); -- id=150
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '896056.48', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('150', '121', '2314.2', '','0'); -- id=150
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '23646.02', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه مجوز اسمر ', productDescription = '', productCatId = '21', productBuyPrice = '39.90', productSellAllPrice = '39.90', productSellUnitPrice = '39.90', productSellHalfPrice = '39.90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00135',type ='0', expireDate = '0' , dailyentryId = '150',isService = '0',isOptic = '0',lastbuyprice = '39.9',lastbuyprice_withDiscount = '39.9',meanbuyprice = '39.9',meanbuyprice_withDiscount = '39.9' , productbuypricereal = '39.9' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='39.9',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='39.9',meanbuyprice_withTax='39.9',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='39.9',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '135';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه مفرد ابيض مدور ','','21','14.7','14.7','14.7','14.7','2026-09-14','0','1','0','','0','0','0','0','0','14.7','14.7','14.7','14.7','14.7','0','0','0','0','.','0','0','0','14.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','14.7','14.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','14.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=136
UPDATE product SET productName = 'شاسيه مفرد ابيض مدور ', productDescription = '', productCatId = '21', productBuyPrice = '14.7', productSellAllPrice = '14.7', productSellUnitPrice = '14.7', productSellHalfPrice = '14.7', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00136',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '14.7',lastbuyprice_withDiscount = '14.7',meanbuyprice = '14.7',meanbuyprice_withDiscount = '14.7' , productbuypricereal = '14.7' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='14.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='14.7',meanbuyprice_withTax='14.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='14.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '136';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '136', '1.00', '2026-09-14', '1', '0','0013601','14.7','14.7','14.7','14.7','','0','0','0','0','0','0','0','0','0','0'); -- id=136
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('136', '1', '212', '1', '2026-09-14'); -- id=136
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('136', '1', '212', '0', '136', 'إضافة منتج', 'productController.php', '0', '212', '1', '2026-09-14','0','0'); -- id=175
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (136, 1,'2026-09-14 22:28:28',1)
                ON DUPLICATE KEY UPDATE productid = 136, edited = 1, sysdate = '2026-09-14 22:28:28', userid = 1; -- id=143
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3116.4', '3116.4', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:28','إضافة منتج شاسيه مفرد ابيض مدور  الكمية 212','1','0','0','0','136','productController.php?do=edit&id=136'); -- id=151
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('151', '382', '3116.4', '','0'); -- id=151
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '899172.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('151', '121', '3116.4', '','0'); -- id=151
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '26762.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه مفرد ابيض مدور ', productDescription = '', productCatId = '21', productBuyPrice = '14.70', productSellAllPrice = '14.70', productSellUnitPrice = '14.70', productSellHalfPrice = '14.70', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00136',type ='0', expireDate = '0' , dailyentryId = '151',isService = '0',isOptic = '0',lastbuyprice = '14.7',lastbuyprice_withDiscount = '14.7',meanbuyprice = '14.7',meanbuyprice_withDiscount = '14.7' , productbuypricereal = '14.7' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='14.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='14.7',meanbuyprice_withTax='14.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='14.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '136';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه مفرد ابيض جديد','','21','16.1','16.1','16.7','16.1','2026-09-14','0','1','0','','0','0','0','0','0','16.1','16.1','16.1','16.1','16.1','0','0','0','3.73','.','0','0','0','16.1','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','16.1','16.1','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','16.1','0','0','0','0','0','0','','','0','0','0','0'); -- id=137
UPDATE product SET productName = 'شاسيه مفرد ابيض جديد', productDescription = '', productCatId = '21', productBuyPrice = '16.1', productSellAllPrice = '16.1', productSellUnitPrice = '16.7', productSellHalfPrice = '16.1', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00137',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '16.1',lastbuyprice_withDiscount = '16.1',meanbuyprice = '16.1',meanbuyprice_withDiscount = '16.1' , productbuypricereal = '16.1' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '3.73',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16.1',meanbuyprice_withTax='16.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '137';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '137', '1.00', '2026-09-14', '1', '0','0013701','16.1','16.1','16.7','16.1','','0','0','0','0','0','0','0','0','0','0'); -- id=137
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('137', '1', '100', '1', '2026-09-14'); -- id=137
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('137', '1', '100', '0', '137', 'إضافة منتج', 'productController.php', '0', '100', '1', '2026-09-14','0','0'); -- id=176
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (137, 1,'2026-09-14 22:28:30',1)
                ON DUPLICATE KEY UPDATE productid = 137, edited = 1, sysdate = '2026-09-14 22:28:30', userid = 1; -- id=144
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1610', '1610', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:30','إضافة منتج شاسيه مفرد ابيض جديد الكمية 100','1','0','0','0','137','productController.php?do=edit&id=137'); -- id=152
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('152', '382', '1610', '','0'); -- id=152
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '900782.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('152', '121', '1610', '','0'); -- id=152
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '28372.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه مفرد ابيض جديد', productDescription = '', productCatId = '21', productBuyPrice = '16.10', productSellAllPrice = '16.10', productSellUnitPrice = '16.70', productSellHalfPrice = '16.10', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00137',type ='0', expireDate = '0' , dailyentryId = '152',isService = '0',isOptic = '0',lastbuyprice = '16.1',lastbuyprice_withDiscount = '16.1',meanbuyprice = '16.1',meanbuyprice_withDiscount = '16.1' , productbuypricereal = '16.1' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '3.73',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16.1',meanbuyprice_withTax='16.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '137';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('شاسيه مفرد اسمر جديد','','21','16.1','16.1','16.7','16.1','2026-09-14','0','1','0','','0','0','0','0','0','16.1','16.1','16.1','16.1','16.1','0','0','0','3.73','.','0','0','0','16.1','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','16.1','16.1','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','16.1','0','0','0','0','0','0','','','0','0','0','0'); -- id=138
UPDATE product SET productName = 'شاسيه مفرد اسمر جديد', productDescription = '', productCatId = '21', productBuyPrice = '16.1', productSellAllPrice = '16.1', productSellUnitPrice = '16.7', productSellHalfPrice = '16.1', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00138',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '16.1',lastbuyprice_withDiscount = '16.1',meanbuyprice = '16.1',meanbuyprice_withDiscount = '16.1' , productbuypricereal = '16.1' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '3.73',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16.1',meanbuyprice_withTax='16.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '138';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '138', '1.00', '2026-09-14', '1', '0','0013801','16.1','16.1','16.7','16.1','','0','0','0','0','0','0','0','0','0','0'); -- id=138
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('138', '1', '460', '1', '2026-09-14'); -- id=138
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('138', '1', '460', '0', '138', 'إضافة منتج', 'productController.php', '0', '460', '1', '2026-09-14','0','0'); -- id=177
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (138, 1,'2026-09-14 22:28:32',1)
                ON DUPLICATE KEY UPDATE productid = 138, edited = 1, sysdate = '2026-09-14 22:28:32', userid = 1; -- id=145
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7406', '7406', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:32','إضافة منتج شاسيه مفرد اسمر جديد الكمية 460','1','0','0','0','138','productController.php?do=edit&id=138'); -- id=153
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('153', '382', '7406', '','0'); -- id=153
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '908188.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('153', '121', '7406', '','0'); -- id=153
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '35778.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'شاسيه مفرد اسمر جديد', productDescription = '', productCatId = '21', productBuyPrice = '16.10', productSellAllPrice = '16.10', productSellUnitPrice = '16.70', productSellHalfPrice = '16.10', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00138',type ='0', expireDate = '0' , dailyentryId = '153',isService = '0',isOptic = '0',lastbuyprice = '16.1',lastbuyprice_withDiscount = '16.1',meanbuyprice = '16.1',meanbuyprice_withDiscount = '16.1' , productbuypricereal = '16.1' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '3.73',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16.1',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16.1',meanbuyprice_withTax='16.1',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16.1',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '138';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 15 وات ','','21','46.2','46.2','47','46.2','2026-09-14','0','1','0','','0','0','0','0','0','46.2','46.2','46.2','46.2','46.2','0','0','0','1.73','.','0','0','0','46.2','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','46.2','46.2','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','46.2','0','0','0','0','0','0','','','0','0','0','0'); -- id=139
UPDATE product SET productName = 'لمبه 15 وات ', productDescription = '', productCatId = '21', productBuyPrice = '46.2', productSellAllPrice = '46.2', productSellUnitPrice = '47', productSellHalfPrice = '46.2', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00139',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '46.2',lastbuyprice_withDiscount = '46.2',meanbuyprice = '46.2',meanbuyprice_withDiscount = '46.2' , productbuypricereal = '46.2' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.73',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='46.2',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='46.2',meanbuyprice_withTax='46.2',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='46.2',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '139';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '139', '1.00', '2026-09-14', '1', '0','0013901','46.2','46.2','47','46.2','','0','0','0','0','0','0','0','0','0','0'); -- id=139
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('139', '1', '94', '1', '2026-09-14'); -- id=139
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('139', '1', '94', '0', '139', 'إضافة منتج', 'productController.php', '0', '94', '1', '2026-09-14','0','0'); -- id=178
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (139, 1,'2026-09-14 22:28:34',1)
                ON DUPLICATE KEY UPDATE productid = 139, edited = 1, sysdate = '2026-09-14 22:28:34', userid = 1; -- id=146
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4342.8', '4342.8', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:34','إضافة منتج لمبه 15 وات  الكمية 94','1','0','0','0','139','productController.php?do=edit&id=139'); -- id=154
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('154', '382', '4342.8', '','0'); -- id=154
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '912531.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('154', '121', '4342.8', '','0'); -- id=154
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '40121.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 15 وات ', productDescription = '', productCatId = '21', productBuyPrice = '46.20', productSellAllPrice = '46.20', productSellUnitPrice = '47.00', productSellHalfPrice = '46.20', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00139',type ='0', expireDate = '0' , dailyentryId = '154',isService = '0',isOptic = '0',lastbuyprice = '46.2',lastbuyprice_withDiscount = '46.2',meanbuyprice = '46.2',meanbuyprice_withDiscount = '46.2' , productbuypricereal = '46.2' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.73',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='46.2',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='46.2',meanbuyprice_withTax='46.2',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='46.2',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '139';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 12 وات ','','21','35.7','35.7','37','35.7','2026-09-14','0','1','0','','0','0','0','0','0','35.7','35.7','35.7','35.7','35.7','0','0','0','3.64','.','0','0','0','35.7','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','35.7','35.7','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','35.7','0','0','0','0','0','0','','','0','0','0','0'); -- id=140
UPDATE product SET productName = 'لمبه 12 وات ', productDescription = '', productCatId = '21', productBuyPrice = '35.7', productSellAllPrice = '35.7', productSellUnitPrice = '37', productSellHalfPrice = '35.7', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00140',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '35.7',lastbuyprice_withDiscount = '35.7',meanbuyprice = '35.7',meanbuyprice_withDiscount = '35.7' , productbuypricereal = '35.7' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '3.64',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='35.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='35.7',meanbuyprice_withTax='35.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='35.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '140';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '140', '1.00', '2026-09-14', '1', '0','0014001','35.7','35.7','37','35.7','','0','0','0','0','0','0','0','0','0','0'); -- id=140
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('140', '1', '86', '1', '2026-09-14'); -- id=140
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('140', '1', '86', '0', '140', 'إضافة منتج', 'productController.php', '0', '86', '1', '2026-09-14','0','0'); -- id=179
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (140, 1,'2026-09-14 22:28:37',1)
                ON DUPLICATE KEY UPDATE productid = 140, edited = 1, sysdate = '2026-09-14 22:28:37', userid = 1; -- id=147
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3070.2', '3070.2', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:37','إضافة منتج لمبه 12 وات  الكمية 86','1','0','0','0','140','productController.php?do=edit&id=140'); -- id=155
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('155', '382', '3070.2', '','0'); -- id=155
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '915601.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('155', '121', '3070.2', '','0'); -- id=155
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '43191.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 12 وات ', productDescription = '', productCatId = '21', productBuyPrice = '35.70', productSellAllPrice = '35.70', productSellUnitPrice = '37.00', productSellHalfPrice = '35.70', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00140',type ='0', expireDate = '0' , dailyentryId = '155',isService = '0',isOptic = '0',lastbuyprice = '35.7',lastbuyprice_withDiscount = '35.7',meanbuyprice = '35.7',meanbuyprice_withDiscount = '35.7' , productbuypricereal = '35.7' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '3.64',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='35.7',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='35.7',meanbuyprice_withTax='35.7',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='35.7',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '140';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 20 وات ','','21','78.75','78.75','80','78.75','2026-09-14','0','1','0','','0','0','0','0','0','78.75','78.75','78.75','78.75','78.75','0','0','0','1.59','.','0','0','0','78.75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','78.75','78.75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','78.75','0','0','0','0','0','0','','','0','0','0','0'); -- id=141
UPDATE product SET productName = 'لمبه 20 وات ', productDescription = '', productCatId = '21', productBuyPrice = '78.75', productSellAllPrice = '78.75', productSellUnitPrice = '80', productSellHalfPrice = '78.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00141',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '78.75',lastbuyprice_withDiscount = '78.75',meanbuyprice = '78.75',meanbuyprice_withDiscount = '78.75' , productbuypricereal = '78.75' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.59',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='78.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='78.75',meanbuyprice_withTax='78.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='78.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '141';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '141', '1.00', '2026-09-14', '1', '0','0014101','78.75','78.75','80','78.75','','0','0','0','0','0','0','0','0','0','0'); -- id=141
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('141', '1', '32', '1', '2026-09-14'); -- id=141
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('141', '1', '32', '0', '141', 'إضافة منتج', 'productController.php', '0', '32', '1', '2026-09-14','0','0'); -- id=180
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (141, 1,'2026-09-14 22:28:39',1)
                ON DUPLICATE KEY UPDATE productid = 141, edited = 1, sysdate = '2026-09-14 22:28:39', userid = 1; -- id=148
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2520', '2520', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:39','إضافة منتج لمبه 20 وات  الكمية 32','1','0','0','0','141','productController.php?do=edit&id=141'); -- id=156
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('156', '382', '2520', '','0'); -- id=156
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '918121.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('156', '121', '2520', '','0'); -- id=156
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '45711.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 20 وات ', productDescription = '', productCatId = '21', productBuyPrice = '78.75', productSellAllPrice = '78.75', productSellUnitPrice = '80.00', productSellHalfPrice = '78.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00141',type ='0', expireDate = '0' , dailyentryId = '156',isService = '0',isOptic = '0',lastbuyprice = '78.75',lastbuyprice_withDiscount = '78.75',meanbuyprice = '78.75',meanbuyprice_withDiscount = '78.75' , productbuypricereal = '78.75' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.59',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='78.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='78.75',meanbuyprice_withTax='78.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='78.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '141';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 40 وات ','','21','141.75','141.75','144','141.75','2026-09-14','0','1','0','','0','0','0','0','0','141.75','141.75','141.75','141.75','141.75','0','0','0','1.59','.','0','0','0','141.75','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','141.75','141.75','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','141.75','0','0','0','0','0','0','','','0','0','0','0'); -- id=142
UPDATE product SET productName = 'لمبه 40 وات ', productDescription = '', productCatId = '21', productBuyPrice = '141.75', productSellAllPrice = '141.75', productSellUnitPrice = '144', productSellHalfPrice = '141.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00142',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '141.75',lastbuyprice_withDiscount = '141.75',meanbuyprice = '141.75',meanbuyprice_withDiscount = '141.75' , productbuypricereal = '141.75' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.59',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='141.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='141.75',meanbuyprice_withTax='141.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='141.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '142';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '142', '1.00', '2026-09-14', '1', '0','0014201','141.75','141.75','144','141.75','','0','0','0','0','0','0','0','0','0','0'); -- id=142
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('142', '1', '10', '1', '2026-09-14'); -- id=142
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('142', '1', '10', '0', '142', 'إضافة منتج', 'productController.php', '0', '10', '1', '2026-09-14','0','0'); -- id=181
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (142, 1,'2026-09-14 22:28:41',1)
                ON DUPLICATE KEY UPDATE productid = 142, edited = 1, sysdate = '2026-09-14 22:28:41', userid = 1; -- id=149
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1417.5', '1417.5', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:41','إضافة منتج لمبه 40 وات  الكمية 10','1','0','0','0','142','productController.php?do=edit&id=142'); -- id=157
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('157', '382', '1417.5', '','0'); -- id=157
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '919539.38', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('157', '121', '1417.5', '','0'); -- id=157
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '47128.92', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 40 وات ', productDescription = '', productCatId = '21', productBuyPrice = '141.75', productSellAllPrice = '141.75', productSellUnitPrice = '144.00', productSellHalfPrice = '141.75', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00142',type ='0', expireDate = '0' , dailyentryId = '157',isService = '0',isOptic = '0',lastbuyprice = '141.75',lastbuyprice_withDiscount = '141.75',meanbuyprice = '141.75',meanbuyprice_withDiscount = '141.75' , productbuypricereal = '141.75' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.59',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='141.75',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='141.75',meanbuyprice_withTax='141.75',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='141.75',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '142';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 30 وات داخل ','','21','215.25','215.25','218','215.25','2026-09-14','0','1','0','','0','0','0','0','0','215.25','215.25','215.25','215.25','215.25','0','0','0','1.28','.','0','0','0','215.25','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','215.25','215.25','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','215.25','0','0','0','0','0','0','','','0','0','0','0'); -- id=143
UPDATE product SET productName = 'بانل 30 وات داخل ', productDescription = '', productCatId = '21', productBuyPrice = '215.25', productSellAllPrice = '215.25', productSellUnitPrice = '218', productSellHalfPrice = '215.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00143',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '215.25',lastbuyprice_withDiscount = '215.25',meanbuyprice = '215.25',meanbuyprice_withDiscount = '215.25' , productbuypricereal = '215.25' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.28',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='215.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='215.25',meanbuyprice_withTax='215.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='215.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '143';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '143', '1.00', '2026-09-14', '1', '0','0014301','215.25','215.25','218','215.25','','0','0','0','0','0','0','0','0','0','0'); -- id=143
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('143', '1', '14', '1', '2026-09-14'); -- id=143
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('143', '1', '14', '0', '143', 'إضافة منتج', 'productController.php', '0', '14', '1', '2026-09-14','0','0'); -- id=182
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (143, 1,'2026-09-14 22:28:44',1)
                ON DUPLICATE KEY UPDATE productid = 143, edited = 1, sysdate = '2026-09-14 22:28:44', userid = 1; -- id=150
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3013.5', '3013.5', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:44','إضافة منتج بانل 30 وات داخل  الكمية 14','1','0','0','0','143','productController.php?do=edit&id=143'); -- id=158
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('158', '382', '3013.5', '','0'); -- id=158
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '922552.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('158', '121', '3013.5', '','0'); -- id=158
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '50142.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 30 وات داخل ', productDescription = '', productCatId = '21', productBuyPrice = '215.25', productSellAllPrice = '215.25', productSellUnitPrice = '218.00', productSellHalfPrice = '215.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00143',type ='0', expireDate = '0' , dailyentryId = '158',isService = '0',isOptic = '0',lastbuyprice = '215.25',lastbuyprice_withDiscount = '215.25',meanbuyprice = '215.25',meanbuyprice_withDiscount = '215.25' , productbuypricereal = '215.25' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.28',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='215.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='215.25',meanbuyprice_withTax='215.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='215.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '143';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 20 وات داخل ','','21','136.5','136.5','140','136.5','2026-09-14','0','1','0','','0','0','0','0','0','136.5','136.5','136.5','136.5','136.5','0','0','0','2.56','.','0','0','0','136.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','136.5','136.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','136.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=144
UPDATE product SET productName = 'بانل 20 وات داخل ', productDescription = '', productCatId = '21', productBuyPrice = '136.5', productSellAllPrice = '136.5', productSellUnitPrice = '140', productSellHalfPrice = '136.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00144',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '136.5',lastbuyprice_withDiscount = '136.5',meanbuyprice = '136.5',meanbuyprice_withDiscount = '136.5' , productbuypricereal = '136.5' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '2.56',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='136.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='136.5',meanbuyprice_withTax='136.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='136.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '144';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '144', '1.00', '2026-09-14', '1', '0','0014401','136.5','136.5','140','136.5','','0','0','0','0','0','0','0','0','0','0'); -- id=144
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('144', '1', '20', '1', '2026-09-14'); -- id=144
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('144', '1', '20', '0', '144', 'إضافة منتج', 'productController.php', '0', '20', '1', '2026-09-14','0','0'); -- id=183
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (144, 1,'2026-09-14 22:28:46',1)
                ON DUPLICATE KEY UPDATE productid = 144, edited = 1, sysdate = '2026-09-14 22:28:46', userid = 1; -- id=151
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2730', '2730', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:46','إضافة منتج بانل 20 وات داخل  الكمية 20','1','0','0','0','144','productController.php?do=edit&id=144'); -- id=159
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('159', '382', '2730', '','0'); -- id=159
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '925282.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('159', '121', '2730', '','0'); -- id=159
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '52872.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 20 وات داخل ', productDescription = '', productCatId = '21', productBuyPrice = '136.50', productSellAllPrice = '136.50', productSellUnitPrice = '140.00', productSellHalfPrice = '136.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00144',type ='0', expireDate = '0' , dailyentryId = '159',isService = '0',isOptic = '0',lastbuyprice = '136.5',lastbuyprice_withDiscount = '136.5',meanbuyprice = '136.5',meanbuyprice_withDiscount = '136.5' , productbuypricereal = '136.5' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '2.56',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='136.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='136.5',meanbuyprice_withTax='136.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='136.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '144';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 40 وات داخل ','','21','283.5','283.5','285','283.5','2026-09-14','0','1','0','','0','0','0','0','0','283.5','283.5','283.5','283.5','283.5','0','0','0','0.53','.','0','0','0','283.5','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','283.5','283.5','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','283.5','0','0','0','0','0','0','','','0','0','0','0'); -- id=145
UPDATE product SET productName = 'بانل 40 وات داخل ', productDescription = '', productCatId = '21', productBuyPrice = '283.5', productSellAllPrice = '283.5', productSellUnitPrice = '285', productSellHalfPrice = '283.5', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00145',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '283.5',lastbuyprice_withDiscount = '283.5',meanbuyprice = '283.5',meanbuyprice_withDiscount = '283.5' , productbuypricereal = '283.5' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0.53',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='283.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='283.5',meanbuyprice_withTax='283.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='283.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '145';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '145', '1.00', '2026-09-14', '1', '0','0014501','283.5','283.5','285','283.5','','0','0','0','0','0','0','0','0','0','0'); -- id=145
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('145', '1', '9', '1', '2026-09-14'); -- id=145
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('145', '1', '9', '0', '145', 'إضافة منتج', 'productController.php', '0', '9', '1', '2026-09-14','0','0'); -- id=184
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (145, 1,'2026-09-14 22:28:48',1)
                ON DUPLICATE KEY UPDATE productid = 145, edited = 1, sysdate = '2026-09-14 22:28:48', userid = 1; -- id=152
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2551.5', '2551.5', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:48','إضافة منتج بانل 40 وات داخل  الكمية 9','1','0','0','0','145','productController.php?do=edit&id=145'); -- id=160
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('160', '382', '2551.5', '','0'); -- id=160
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '927834.38', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('160', '121', '2551.5', '','0'); -- id=160
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '55423.92', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 40 وات داخل ', productDescription = '', productCatId = '21', productBuyPrice = '283.50', productSellAllPrice = '283.50', productSellUnitPrice = '285.00', productSellHalfPrice = '283.50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00145',type ='0', expireDate = '0' , dailyentryId = '160',isService = '0',isOptic = '0',lastbuyprice = '283.5',lastbuyprice_withDiscount = '283.5',meanbuyprice = '283.5',meanbuyprice_withDiscount = '283.5' , productbuypricereal = '283.5' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0.53',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='283.5',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='283.5',meanbuyprice_withTax='283.5',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='283.5',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '145';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 20 وات خارج','','21','173.25','173.25','175','173.25','2026-09-14','0','1','0','','0','0','0','0','0','173.25','173.25','173.25','173.25','173.25','0','0','0','1.01','.','0','0','0','173.25','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','173.25','173.25','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','173.25','0','0','0','0','0','0','','','0','0','0','0'); -- id=146
UPDATE product SET productName = 'بانل 20 وات خارج', productDescription = '', productCatId = '21', productBuyPrice = '173.25', productSellAllPrice = '173.25', productSellUnitPrice = '175', productSellHalfPrice = '173.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00146',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '173.25',lastbuyprice_withDiscount = '173.25',meanbuyprice = '173.25',meanbuyprice_withDiscount = '173.25' , productbuypricereal = '173.25' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.01',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='173.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='173.25',meanbuyprice_withTax='173.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='173.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '146';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '146', '1.00', '2026-09-14', '1', '0','0014601','173.25','173.25','175','173.25','','0','0','0','0','0','0','0','0','0','0'); -- id=146
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('146', '1', '10', '1', '2026-09-14'); -- id=146
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('146', '1', '10', '0', '146', 'إضافة منتج', 'productController.php', '0', '10', '1', '2026-09-14','0','0'); -- id=185
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (146, 1,'2026-09-14 22:28:51',1)
                ON DUPLICATE KEY UPDATE productid = 146, edited = 1, sysdate = '2026-09-14 22:28:51', userid = 1; -- id=153
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '1732.5', '1732.5', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:51','إضافة منتج بانل 20 وات خارج الكمية 10','1','0','0','0','146','productController.php?do=edit&id=146'); -- id=161
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('161', '382', '1732.5', '','0'); -- id=161
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '929566.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('161', '121', '1732.5', '','0'); -- id=161
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '57156.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 20 وات خارج', productDescription = '', productCatId = '21', productBuyPrice = '173.25', productSellAllPrice = '173.25', productSellUnitPrice = '175.00', productSellHalfPrice = '173.25', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00146',type ='0', expireDate = '0' , dailyentryId = '161',isService = '0',isOptic = '0',lastbuyprice = '173.25',lastbuyprice_withDiscount = '173.25',meanbuyprice = '173.25',meanbuyprice_withDiscount = '173.25' , productbuypricereal = '173.25' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '1.01',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='173.25',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='173.25',meanbuyprice_withTax='173.25',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='173.25',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '146';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 30 وات خارج ','','21','252','252','252','252','2026-09-14','0','1','0','','0','0','0','0','0','252','252','252','252','252','0','0','0','0','.','0','0','0','252','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','252','252','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','252','0','0','0','0','0','0','','','0','0','0','0'); -- id=147
UPDATE product SET productName = 'بانل 30 وات خارج ', productDescription = '', productCatId = '21', productBuyPrice = '252', productSellAllPrice = '252', productSellUnitPrice = '252', productSellHalfPrice = '252', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00147',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '252',lastbuyprice_withDiscount = '252',meanbuyprice = '252',meanbuyprice_withDiscount = '252' , productbuypricereal = '252' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='252',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='252',meanbuyprice_withTax='252',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='252',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '147';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '147', '1.00', '2026-09-14', '1', '0','0014701','252','252','252','252','','0','0','0','0','0','0','0','0','0','0'); -- id=147
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('147', '1', '22', '1', '2026-09-14'); -- id=147
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('147', '1', '22', '0', '147', 'إضافة منتج', 'productController.php', '0', '22', '1', '2026-09-14','0','0'); -- id=186
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (147, 1,'2026-09-14 22:28:53',1)
                ON DUPLICATE KEY UPDATE productid = 147, edited = 1, sysdate = '2026-09-14 22:28:53', userid = 1; -- id=154
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5544', '5544', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:53','إضافة منتج بانل 30 وات خارج  الكمية 22','1','0','0','0','147','productController.php?do=edit&id=147'); -- id=162
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('162', '382', '5544', '','0'); -- id=162
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '935110.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('162', '121', '5544', '','0'); -- id=162
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '62700.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 30 وات خارج ', productDescription = '', productCatId = '21', productBuyPrice = '252.00', productSellAllPrice = '252.00', productSellUnitPrice = '252.00', productSellHalfPrice = '252.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00147',type ='0', expireDate = '0' , dailyentryId = '162',isService = '0',isOptic = '0',lastbuyprice = '252',lastbuyprice_withDiscount = '252',meanbuyprice = '252',meanbuyprice_withDiscount = '252' , productbuypricereal = '252' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='252',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='252',meanbuyprice_withTax='252',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='252',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '147';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 40 وات خارج ','','21','315','315','315','315','2026-09-14','0','1','0','','0','0','0','0','0','315','315','315','315','315','0','0','0','0','.','0','0','0','315','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','315','315','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','315','0','0','0','0','0','0','','','0','0','0','0'); -- id=148
UPDATE product SET productName = 'بانل 40 وات خارج ', productDescription = '', productCatId = '21', productBuyPrice = '315', productSellAllPrice = '315', productSellUnitPrice = '315', productSellHalfPrice = '315', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00148',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '315',lastbuyprice_withDiscount = '315',meanbuyprice = '315',meanbuyprice_withDiscount = '315' , productbuypricereal = '315' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='315',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='315',meanbuyprice_withTax='315',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='315',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '148';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '148', '1.00', '2026-09-14', '1', '0','0014801','315','315','315','315','','0','0','0','0','0','0','0','0','0','0'); -- id=148
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('148', '1', '17', '1', '2026-09-14'); -- id=148
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('148', '1', '17', '0', '148', 'إضافة منتج', 'productController.php', '0', '17', '1', '2026-09-14','0','0'); -- id=187
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (148, 1,'2026-09-14 22:28:55',1)
                ON DUPLICATE KEY UPDATE productid = 148, edited = 1, sysdate = '2026-09-14 22:28:55', userid = 1; -- id=155
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5355', '5355', '2026-09-14', '1', '0', '0', '2026-09-14 22:28:55','إضافة منتج بانل 40 وات خارج  الكمية 17','1','0','0','0','148','productController.php?do=edit&id=148'); -- id=163
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('163', '382', '5355', '','0'); -- id=163
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '940465.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('163', '121', '5355', '','0'); -- id=163
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '68055.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 40 وات خارج ', productDescription = '', productCatId = '21', productBuyPrice = '315.00', productSellAllPrice = '315.00', productSellUnitPrice = '315.00', productSellHalfPrice = '315.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00148',type ='0', expireDate = '0' , dailyentryId = '163',isService = '0',isOptic = '0',lastbuyprice = '315',lastbuyprice_withDiscount = '315',meanbuyprice = '315',meanbuyprice_withDiscount = '315' , productbuypricereal = '315' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='315',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='315',meanbuyprice_withTax='315',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='315',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '148';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:58:57";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:28:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:28:57', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=556
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:59:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:29:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:29:11', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=557
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 18:59:57";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:29:57", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:29:57', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=558
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('اسبوط 5 وات 3 تكه وان لاين ','','15','16','19','20','19','2026-09-14','0','1','0','','0','0','0','0','0','16','16','16','16','16','0','18.75','18.75','25','.','0','0','0','16','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','16','16','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','16','0','0','0','0','0','0','','','0','0','0','0'); -- id=149
UPDATE product SET productName = 'اسبوط 5 وات 3 تكه وان لاين ', productDescription = '', productCatId = '15', productBuyPrice = '16', productSellAllPrice = '19', productSellUnitPrice = '20', productSellHalfPrice = '19', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00149',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '16',lastbuyprice_withDiscount = '16',meanbuyprice = '16',meanbuyprice_withDiscount = '16' , productbuypricereal = '16' , buypricereal_precentage = '0' , buytotal_precentage = '18.75' , buyhalf_precentage = '18.75' , buypart_precentage = '25',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16',meanbuyprice_withTax='16',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '149';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '149', '1.00', '2026-09-14', '1', '0','0014901','19','19','20','16','','0','0','0','0','0','0','0','0','0','0'); -- id=149
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('149', '1', '146', '1', '2026-09-14'); -- id=149
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('149', '1', '146', '0', '149', 'إضافة منتج', 'productController.php', '0', '146', '1', '2026-09-14','0','0'); -- id=188
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (149, 1,'2026-09-14 22:29:58',1)
                ON DUPLICATE KEY UPDATE productid = 149, edited = 1, sysdate = '2026-09-14 22:29:58', userid = 1; -- id=156
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2336', '2336', '2026-09-14', '1', '0', '0', '2026-09-14 22:29:58','إضافة منتج اسبوط 5 وات 3 تكه وان لاين  الكمية 146','1','0','0','0','149','productController.php?do=edit&id=149'); -- id=164
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('164', '382', '2336', '','0'); -- id=164
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '942801.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('164', '121', '2336', '','0'); -- id=164
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '70391.42', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'اسبوط 5 وات 3 تكه وان لاين ', productDescription = '', productCatId = '15', productBuyPrice = '16.00', productSellAllPrice = '19.00', productSellUnitPrice = '20.00', productSellHalfPrice = '19.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00149',type ='0', expireDate = '0' , dailyentryId = '164',isService = '0',isOptic = '0',lastbuyprice = '16',lastbuyprice_withDiscount = '16',meanbuyprice = '16',meanbuyprice_withDiscount = '16' , productbuypricereal = '16' , buypricereal_precentage = '0' , buytotal_precentage = '18.75' , buyhalf_precentage = '18.75' , buypart_precentage = '25',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='16',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='16',meanbuyprice_withTax='16',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='16',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '149';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:01";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:30:01', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=559
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:09', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php'); -- id=560
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:20', '1', 'add2', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=add2'); -- id=561
INSERT INTO productcat (productCatName, productCatDate, productCatDescription, productCatParent, userId, conditions, selldiscount, buydiscount, discounttype,isOptic , buytotal , buyhalf , buypart ,buypricereal,opticServices,logo,inMenu,stopNegativeSale,catExcelid,webApiId,obygyInvestigationCatId,price4,price5,price6,price7,price8,price9,price10,price11,price12,price13) VALUES ('نيون','2026-09-14','','0', '1','0', '0', '0', '-1', '0', '0', '0', '0','0','','.','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); -- id=23
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (23, 1,'2026-09-14 22:30:21',1)
                ON DUPLICATE KEY UPDATE catid = 23, edited = 1, sysdate = '2026-09-14 22:30:21', userid = 1; -- id=23
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:21", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:21', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=562
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:23', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=563
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:38";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:38", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:38', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=23&parentid=0'); -- id=564
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:51";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:51", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:51', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=565
UPDATE productcat SET productCatName = 'نيون', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '23';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (23, 1,'2026-09-14 22:30:52',1)
                ON DUPLICATE KEY UPDATE catid = 23, edited = 1, sysdate = '2026-09-14 22:30:52', userid = 1; -- id=23
DELETE FROM productcatunit WHERE productcatid = '23';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '23', '1', '2026-09-14', '1', '0'); -- id=18
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:52', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=566
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:54";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:54', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=567
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:00:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:30:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:30:59', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=22&parentid=0'); -- id=568
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:07', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=569
UPDATE productcat SET productCatName = 'لوسيد', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '22';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (22, 1,'2026-09-14 22:31:07',1)
                ON DUPLICATE KEY UPDATE catid = 22, edited = 1, sysdate = '2026-09-14 22:31:07', userid = 1; -- id=22
DELETE FROM productcatunit WHERE productcatid = '22';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '22', '1', '2026-09-14', '1', '0'); -- id=19
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:07";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:08', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=570
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:09', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=571
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:14";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:14", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:14', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=21&parentid=0'); -- id=572
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:23', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=573
UPDATE productcat SET productCatName = 'ريدي رونج', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '21';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (21, 1,'2026-09-14 22:31:23',1)
                ON DUPLICATE KEY UPDATE catid = 21, edited = 1, sysdate = '2026-09-14 22:31:23', userid = 1; -- id=21
DELETE FROM productcatunit WHERE productcatid = '21';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '21', '1.00', '2026-09-14', '1', '0'); -- id=20
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:24', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=574
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:25', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=575
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:29', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=20&parentid=0'); -- id=576
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:36";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:36", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:36', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=577
UPDATE productcat SET productCatName = 'باندا', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '20';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (20, 1,'2026-09-14 22:31:36',1)
                ON DUPLICATE KEY UPDATE catid = 20, edited = 1, sysdate = '2026-09-14 22:31:36', userid = 1; -- id=20
DELETE FROM productcatunit WHERE productcatid = '20';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '20', '1', '2026-09-14', '1', '0'); -- id=21
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:37";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:37', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=578
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:39', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=579
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:42";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:42", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:42', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=19&parentid=0'); -- id=580
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:50', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=581
UPDATE productcat SET productCatName = 'عز العرب', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '19';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (19, 1,'2026-09-14 22:31:50',1)
                ON DUPLICATE KEY UPDATE catid = 19, edited = 1, sysdate = '2026-09-14 22:31:50', userid = 1; -- id=19
DELETE FROM productcatunit WHERE productcatid = '19';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '19', '1', '2026-09-14', '1', '0'); -- id=22
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:50";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:50", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:50', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=582
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:52', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=583
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:01:56";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:31:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:31:56', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=18&parentid=0'); -- id=584
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:04";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:04", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:04', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=585
UPDATE productcat SET productCatName = 'الوسام', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '18';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (18, 1,'2026-09-14 22:32:04',1)
                ON DUPLICATE KEY UPDATE catid = 18, edited = 1, sysdate = '2026-09-14 22:32:04', userid = 1; -- id=18
DELETE FROM productcatunit WHERE productcatid = '18';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '18', '1', '2026-09-14', '1', '0'); -- id=23
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:05";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:05', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=586
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:07", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:07', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=587
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:12', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=17&parentid=0'); -- id=588
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:16";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:16", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:16', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=589
UPDATE productcat SET productCatName = 'بديل ماجنتيك', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '17';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (17, 1,'2026-09-14 22:32:16',1)
                ON DUPLICATE KEY UPDATE catid = 17, edited = 1, sysdate = '2026-09-14 22:32:16', userid = 1; -- id=17
DELETE FROM productcatunit WHERE productcatid = '17';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '17', '1.00', '2026-09-14', '1', '0'); -- id=24
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:17";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:17", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:17', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=590
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:19";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:19", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:19', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=591
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:22";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:22", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:23', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=16&parentid=0'); -- id=592
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:26";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:26", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:26', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=593
UPDATE productcat SET productCatName = 'نجف', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '16';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (16, 1,'2026-09-14 22:32:27',1)
                ON DUPLICATE KEY UPDATE catid = 16, edited = 1, sysdate = '2026-09-14 22:32:27', userid = 1; -- id=16
DELETE FROM productcatunit WHERE productcatid = '16';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '16', '1.00', '2026-09-14', '1', '0'); -- id=25
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:27";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:27", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:27', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=594
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:29', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=595
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:34";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:34", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:34', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=15&parentid=0'); -- id=596
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:37";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:37", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:37', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=597
UPDATE productcat SET productCatName = 'اسبوطاط', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '15';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (15, 1,'2026-09-14 22:32:38',1)
                ON DUPLICATE KEY UPDATE catid = 15, edited = 1, sysdate = '2026-09-14 22:32:38', userid = 1; -- id=15
DELETE FROM productcatunit WHERE productcatid = '15';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '15', '1.00', '2026-09-14', '1', '0'); -- id=26
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:38";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:38", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:38', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=598
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:40', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=599
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:45";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:45', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=13&parentid=0'); -- id=600
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:48";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:48", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:48', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=601
UPDATE productcat SET productCatName = 'علب', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '13';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (13, 1,'2026-09-14 22:32:49',1)
                ON DUPLICATE KEY UPDATE catid = 13, edited = 1, sysdate = '2026-09-14 22:32:49', userid = 1; -- id=13
DELETE FROM productcatunit WHERE productcatid = '13';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '13', '1.00', '2026-09-14', '1', '0'); -- id=27
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:49', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=602
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:51";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:51", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:51', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=603
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:54";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:55', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=12&parentid=0'); -- id=604
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:58";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:58', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=605
UPDATE productcat SET productCatName = 'خراطيم', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '12';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (12, 1,'2026-09-14 22:32:59',1)
                ON DUPLICATE KEY UPDATE catid = 12, edited = 1, sysdate = '2026-09-14 22:32:59', userid = 1; -- id=12
DELETE FROM productcatunit WHERE productcatid = '12';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '12', '1.00', '2026-09-14', '1', '0'); -- id=28
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:02:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:32:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:32:59', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=606
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:01";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:01', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=607
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:10', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=11&parentid=0'); -- id=608
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:15', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=609
UPDATE productcat SET productCatName = 'ويرليس', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '11';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (11, 1,'2026-09-14 22:33:15',1)
                ON DUPLICATE KEY UPDATE catid = 11, edited = 1, sysdate = '2026-09-14 22:33:15', userid = 1; -- id=11
DELETE FROM productcatunit WHERE productcatid = '11';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '11', '1.00', '2026-09-14', '1', '0'); -- id=29
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:16";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:16", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:16', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=610
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:18";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:18", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:18', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=611
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:25', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=11&parentid=0'); -- id=612
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:28', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=613
UPDATE productcat SET productCatName = 'ويرليس', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '11';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (11, 1,'2026-09-14 22:33:29',1)
                ON DUPLICATE KEY UPDATE catid = 11, edited = 1, sysdate = '2026-09-14 22:33:29', userid = 1; -- id=11
DELETE FROM productcatunit WHERE productcatid = '11';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '11', '1.00', '2026-09-14', '1', '0'); -- id=30
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:29";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:29", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:29', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=614
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:31";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:31", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:31', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=615
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:35";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:35", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:35', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=10&parentid=0'); -- id=616
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:38";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:39', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=617
UPDATE productcat SET productCatName = 'اسلاك', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '10';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (10, 1,'2026-09-14 22:33:39',1)
                ON DUPLICATE KEY UPDATE catid = 10, edited = 1, sysdate = '2026-09-14 22:33:39', userid = 1; -- id=10
DELETE FROM productcatunit WHERE productcatid = '10';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '10', '1.00', '2026-09-14', '1', '0'); -- id=31
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:40', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=618
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:42";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:42", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:42', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=619
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:46";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:46", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:46', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=9&parentid=0'); -- id=620
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:53";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:54', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=621
UPDATE productcat SET productCatName = 'بلفونيره', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '9';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (9, 1,'2026-09-14 22:33:54',1)
                ON DUPLICATE KEY UPDATE catid = 9, edited = 1, sysdate = '2026-09-14 22:33:54', userid = 1; -- id=9
DELETE FROM productcatunit WHERE productcatid = '9';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '9', '1.00', '2026-09-14', '1', '0'); -- id=32
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:54";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:54", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:55', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=622
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:03:56";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:33:56", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:33:56', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=623
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:06";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:06", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:06', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=6&parentid=0'); -- id=624
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:09";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:09", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:09', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=625
UPDATE productcat SET productCatName = 'اخري', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '6';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (6, 1,'2026-09-14 22:34:09',1)
                ON DUPLICATE KEY UPDATE catid = 6, edited = 1, sysdate = '2026-09-14 22:34:09', userid = 1; -- id=6
DELETE FROM productcatunit WHERE productcatid = '6';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '6', '1.00', '2026-09-14', '1', '0'); -- id=33
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:10', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=626
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:12";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:12", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:12', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=627
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:17";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:17", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:17', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=5&parentid=0'); -- id=628
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:20', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=629
UPDATE productcat SET productCatName = 'مشتركات', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '5';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (5, 1,'2026-09-14 22:34:21',1)
                ON DUPLICATE KEY UPDATE catid = 5, edited = 1, sysdate = '2026-09-14 22:34:21', userid = 1; -- id=5
DELETE FROM productcatunit WHERE productcatid = '5';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '5', '1.00', '2026-09-14', '1', '0'); -- id=34
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:21";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:21", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:21', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=630
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:23";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:23", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:23', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=631
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:28', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=4&parentid=0'); -- id=632
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:31";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:31", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:31', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=633
UPDATE productcat SET productCatName = 'سانشي', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '4';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (4, 1,'2026-09-14 22:34:31',1)
                ON DUPLICATE KEY UPDATE catid = 4, edited = 1, sysdate = '2026-09-14 22:34:31', userid = 1; -- id=4
DELETE FROM productcatunit WHERE productcatid = '4';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '4', '1.00', '2026-09-14', '1', '0'); -- id=35
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:32";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:32", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:32', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=634
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:33";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:33", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:34', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=635
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:36";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:36", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:36', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=1&parentid=0'); -- id=636
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:39";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:39", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:39', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=637
UPDATE productcat SET productCatName = 'كيون', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '1';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (1, 1,'2026-09-14 22:34:40',1)
                ON DUPLICATE KEY UPDATE catid = 1, edited = 1, sysdate = '2026-09-14 22:34:40', userid = 1; -- id=1
DELETE FROM productcatunit WHERE productcatid = '1';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '1', '1.00', '2026-09-14', '1', '0'); -- id=36
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:40";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:40", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:40', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=638
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:42";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:42", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:42', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=639
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:45";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:45", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:45', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=2&parentid=0'); -- id=640
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:49";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:49", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:49', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=641
UPDATE productcat SET productCatName = 'لمبات', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '2';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (2, 1,'2026-09-14 22:34:50',1)
                ON DUPLICATE KEY UPDATE catid = 2, edited = 1, sysdate = '2026-09-14 22:34:50', userid = 1; -- id=2
DELETE FROM productcatunit WHERE productcatid = '2';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '2', '1.00', '2026-09-14', '1', '0'); -- id=37
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:50";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:50", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:50', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=642
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:52";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:52", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:52', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=643
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:55', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=3&parentid=0'); -- id=644
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:58";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:58', '1', 'update', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=update'); -- id=645
UPDATE productcat SET productCatName = 'فينوس', productCatDate = '2026-09-14', productCatDescription = '', productCatParent = '0', userId = '1', conditions = '0', selldiscount = '0', buydiscount = '0', discounttype = '-1',isOptic = '0' , buytotal = '0' , buyhalf = '0' , buypart = '0' , buypricereal = '0', opticServices = '',logo = '.',inMenu='0',stopNegativeSale='0',price4='0',price5='0',price6='0',price7='0',price8='0',price9='0',price10='0',price11='0',price12='0',price13='0' WHERE productCatId = '3';
INSERT INTO onlinetempcategory (catid, edited, sysdate, userid)
                VALUES (3, 1,'2026-09-14 22:34:59',1)
                ON DUPLICATE KEY UPDATE catid = 3, edited = 1, sysdate = '2026-09-14 22:34:59', userid = 1; -- id=3
DELETE FROM productcatunit WHERE productcatid = '3';
INSERT INTO productcatunit (unitid, productcatid, productnumber, productcatunitdate, userid, conditions) VALUES ('1', '3', '1.00', '2026-09-14', '1', '0'); -- id=38
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:04:59";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:34:59", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:34:59', '1', 'sucess', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=sucess'); -- id=646
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:05:01";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:35:01", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:35:01', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=show'); -- id=647
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:05:05";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:35:05", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productCatController.php', '2026-09-14 22:35:05', '1', 'edit', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productCatController.php?do=edit&id=4&parentid=0'); -- id=648
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:05:08";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:35:08", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:35:08', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=649
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:06:15";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:36:15", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:36:15', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=650
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 9 وات ','','22','27','27','27','27','2026-09-14','0','1','0','','0','0','0','0','0','27.','27','27.','27','27','0','0','0','0','.','0','0','0','27','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','27','27','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','27','0','0','0','0','0','0','','','0','0','0','0'); -- id=150
UPDATE product SET productName = 'لمبه 9 وات ', productDescription = '', productCatId = '22', productBuyPrice = '27', productSellAllPrice = '27', productSellUnitPrice = '27', productSellHalfPrice = '27', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00150',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '27.',lastbuyprice_withDiscount = '27',meanbuyprice = '27.',meanbuyprice_withDiscount = '27' , productbuypricereal = '27' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='27',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='27',meanbuyprice_withTax='27',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='27',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '150';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '150', '1.00', '2026-09-14', '1', '0','0015001','27','27','27','27','','0','0','0','0','0','0','0','0','0','0'); -- id=150
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('150', '1', '0', '1', '2026-09-14'); -- id=150
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('150', '1', '0', '0', '150', 'إضافة منتج', 'productController.php', '0', '0', '1', '2026-09-14','0','0'); -- id=189
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (150, 1,'2026-09-14 22:36:16',1)
                ON DUPLICATE KEY UPDATE productid = 150, edited = 1, sysdate = '2026-09-14 22:36:16', userid = 1; -- id=157
UPDATE product SET productName = 'لمبه 9 وات ', productDescription = '', productCatId = '22', productBuyPrice = '27.00', productSellAllPrice = '27.00', productSellUnitPrice = '27.00', productSellHalfPrice = '27.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00150',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '27.',lastbuyprice_withDiscount = '27',meanbuyprice = '27.',meanbuyprice_withDiscount = '27' , productbuypricereal = '27' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='27',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='27',meanbuyprice_withTax='27',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='27',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '150';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:06:18";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:36:18", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:36:18', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=651
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:06:28";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:36:28", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:36:28', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php'); -- id=652
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:06:53";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:36:53", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('inventoryController.php', '2026-09-14 22:36:53', '1', 'autosave', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/inventoryController.php?do=autosave'); -- id=653
UPDATE storedetail SET  productquantity = '170', userid = '1', storedetaildate = '2026-09-14' WHERE storedetailid = '150';
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('150', '1', '170', '0', '-1', 'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة', 'inventoryController.php', '0', '170', '1', '2026-09-14','0','0'); -- id=190
BEGIN;
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '4590', '4590', '2026-09-14', '1', '0', '0', '2026-09-14 22:36:54','اعادة جرد للمنتج : (لمبه 9 وات /لوسيد) فى مخزن : (المخزن الرئيسي) بالكمية : 170','1','0',null,'0','190','inventoryController.php?do=details&id=190'); -- id=165
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('165', '382', '4590', '','0'); -- id=165
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '947391.88', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('165', '188', '4590', '','0'); -- id=165
UPDATE accountstree SET name = 'عجز وزيادة المخزون', customName = 'عجز وزيادة المخزون', customNameEn = '', nameEn = '', parent = '159', accountNature = '0', theValue = '-71418.75', theOrder = '0', layingOrder = '5302', reportid = '2', listId = '2', notes = '', itemfrom = '1', itemtype = '5', itemtype2 = '0', itemtype3 = '', userid = '-1', del = '0', sysdate = '2023-07-11 01:08:03' WHERE id = '188';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:06:57";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:36:58", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:36:58', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=654
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:07:10";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:37:10", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:37:10', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=show'); -- id=655
UPDATE productunit SET proUnitSellUnitPrice = 30 * productnumber WHERE productid = 150;
UPDATE product SET productName = 'لمبه 9 وات ', productDescription = '', productCatId = '22', productBuyPrice = '27.00', productSellAllPrice = '27.00', productSellUnitPrice = '30', productSellHalfPrice = '27.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00150',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '27.00',lastbuyprice_withDiscount = '27',meanbuyprice = '27.00',meanbuyprice_withDiscount = '27' , productbuypricereal = '27.00' , buypricereal_precentage = '0.00' , buytotal_precentage = '0.00' , buyhalf_precentage = '0.00' , buypart_precentage = '0.00',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='27',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '0',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='27',meanbuyprice_withTax='27',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='27',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '150';
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (150, 1,'2026-09-14 22:37:18',1)
                ON DUPLICATE KEY UPDATE productid = 150, edited = 1, sysdate = '2026-09-14 22:37:18', userid = 1; -- id=157
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:07:20";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:37:20", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:37:20', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=656
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:18:25";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:48:25", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:48:25', '1', 'add', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php?do=add'); -- id=657
BEGIN;
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 12 وات ','','22','36.48','36.48','40','36.48','2026-09-14','0','1','0','','0','0','0','0','0','36.48','36.48','36.48','36.48','36.48','0','0','0','9.65','.','0','0','0','36.48','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','36.48','36.48','0','0','0','0','0','0','0','0','0','0','0','0','-1','0','','36.48','0','0','0','0','0','0','','','0','0','0','0'); -- id=151
UPDATE product SET productName = 'لمبه 12 وات ', productDescription = '', productCatId = '22', productBuyPrice = '36.48', productSellAllPrice = '36.48', productSellUnitPrice = '40', productSellHalfPrice = '36.48', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00151',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '36.48',lastbuyprice_withDiscount = '36.48',meanbuyprice = '36.48',meanbuyprice_withDiscount = '36.48' , productbuypricereal = '36.48' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '9.65',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='36.48',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='36.48',meanbuyprice_withTax='36.48',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='36.48',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '151';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '151', '1.00', '2026-09-14', '1', '0','0015101','36.48','36.48','40','36.48','','0','0','0','0','0','0','0','0','0','0'); -- id=151
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('151', '1', '160', '1', '2026-09-14'); -- id=151
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('151', '1', '160', '0', '151', 'إضافة منتج', 'productController.php', '0', '160', '1', '2026-09-14','0','0'); -- id=191
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (151, 1,'2026-09-14 22:48:26',1)
                ON DUPLICATE KEY UPDATE productid = 151, edited = 1, sysdate = '2026-09-14 22:48:26', userid = 1; -- id=159
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5836.8', '5836.8', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:26','إضافة منتج لمبه 12 وات  الكمية 160','1','0','0','0','151','productController.php?do=edit&id=151'); -- id=166
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('166', '382', '5836.8', '','0'); -- id=166
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '953228.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('166', '121', '5836.8', '','0'); -- id=166
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '76228.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 12 وات ', productDescription = '', productCatId = '22', productBuyPrice = '36.48', productSellAllPrice = '36.48', productSellUnitPrice = '40.00', productSellHalfPrice = '36.48', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00151',type ='0', expireDate = '0' , dailyentryId = '166',isService = '0',isOptic = '0',lastbuyprice = '36.48',lastbuyprice_withDiscount = '36.48',meanbuyprice = '36.48',meanbuyprice_withDiscount = '36.48' , productbuypricereal = '36.48' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '9.65',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='36.48',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='36.48',meanbuyprice_withTax='36.48',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='0',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='-1',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='36.48',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '151';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 15 وات ','','22','50','50','50','50','2026-09-14','0','1','0','','0','0','0','0','0','50','50','50','50','50','0','0','0','0','.','0','0','0','50','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','50','50','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','50','0','0','0','0','0','0','','','0','0','0','0'); -- id=152
UPDATE product SET productName = 'لمبه 15 وات ', productDescription = '', productCatId = '22', productBuyPrice = '50', productSellAllPrice = '50', productSellUnitPrice = '50', productSellHalfPrice = '50', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00152',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '50',lastbuyprice_withDiscount = '50',meanbuyprice = '50',meanbuyprice_withDiscount = '50' , productbuypricereal = '50' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='50',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='50',meanbuyprice_withTax='50',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='50',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '152';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '152', '1.00', '2026-09-14', '1', '0','0015201','50','50','50','50','','0','0','0','0','0','0','0','0','0','0'); -- id=152
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('152', '1', '44', '1', '2026-09-14'); -- id=152
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('152', '1', '44', '0', '152', 'إضافة منتج', 'productController.php', '0', '44', '1', '2026-09-14','0','0'); -- id=192
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (152, 1,'2026-09-14 22:48:28',1)
                ON DUPLICATE KEY UPDATE productid = 152, edited = 1, sysdate = '2026-09-14 22:48:28', userid = 1; -- id=160
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2200', '2200', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:28','إضافة منتج لمبه 15 وات  الكمية 44','1','0','0','0','152','productController.php?do=edit&id=152'); -- id=167
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('167', '382', '2200', '','0'); -- id=167
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '955428.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('167', '121', '2200', '','0'); -- id=167
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '78428.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 15 وات ', productDescription = '', productCatId = '22', productBuyPrice = '50.00', productSellAllPrice = '50.00', productSellUnitPrice = '50.00', productSellHalfPrice = '50.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00152',type ='0', expireDate = '0' , dailyentryId = '167',isService = '0',isOptic = '0',lastbuyprice = '50',lastbuyprice_withDiscount = '50',meanbuyprice = '50',meanbuyprice_withDiscount = '50' , productbuypricereal = '50' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='50',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='50',meanbuyprice_withTax='50',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='50',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '152';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 20 وات ','','22','72','72','75','72','2026-09-14','0','1','0','','0','0','0','0','0','72','72','72','72','72','0','0','0','4.17','.','0','0','0','72','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','72','72','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','72','0','0','0','0','0','0','','','0','0','0','0'); -- id=153
UPDATE product SET productName = 'لمبه 20 وات ', productDescription = '', productCatId = '22', productBuyPrice = '72', productSellAllPrice = '72', productSellUnitPrice = '75', productSellHalfPrice = '72', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00153',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '72',lastbuyprice_withDiscount = '72',meanbuyprice = '72',meanbuyprice_withDiscount = '72' , productbuypricereal = '72' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '4.17',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='72',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='72',meanbuyprice_withTax='72',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='72',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '153';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '153', '1.00', '2026-09-14', '1', '0','0015301','72','72','75','72','','0','0','0','0','0','0','0','0','0','0'); -- id=153
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('153', '1', '28', '1', '2026-09-14'); -- id=153
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('153', '1', '28', '0', '153', 'إضافة منتج', 'productController.php', '0', '28', '1', '2026-09-14','0','0'); -- id=193
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (153, 1,'2026-09-14 22:48:31',1)
                ON DUPLICATE KEY UPDATE productid = 153, edited = 1, sysdate = '2026-09-14 22:48:31', userid = 1; -- id=161
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2016', '2016', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:31','إضافة منتج لمبه 20 وات  الكمية 28','1','0','0','0','153','productController.php?do=edit&id=153'); -- id=168
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('168', '382', '2016', '','0'); -- id=168
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '957444.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('168', '121', '2016', '','0'); -- id=168
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '80444.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 20 وات ', productDescription = '', productCatId = '22', productBuyPrice = '72.00', productSellAllPrice = '72.00', productSellUnitPrice = '75.00', productSellHalfPrice = '72.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00153',type ='0', expireDate = '0' , dailyentryId = '168',isService = '0',isOptic = '0',lastbuyprice = '72',lastbuyprice_withDiscount = '72',meanbuyprice = '72',meanbuyprice_withDiscount = '72' , productbuypricereal = '72' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '4.17',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='72',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='72',meanbuyprice_withTax='72',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='72',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '153';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 30 وات ','','22','90','90','100','90','2026-09-14','0','1','0','','0','0','0','0','0','90','90','90','90','90','0','0','0','11.11','.','0','0','0','90','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','90','90','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','90','0','0','0','0','0','0','','','0','0','0','0'); -- id=154
UPDATE product SET productName = 'لمبه 30 وات ', productDescription = '', productCatId = '22', productBuyPrice = '90', productSellAllPrice = '90', productSellUnitPrice = '100', productSellHalfPrice = '90', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00154',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '90',lastbuyprice_withDiscount = '90',meanbuyprice = '90',meanbuyprice_withDiscount = '90' , productbuypricereal = '90' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '11.11',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='90',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='90',meanbuyprice_withTax='90',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='90',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '154';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '154', '1.00', '2026-09-14', '1', '0','0015401','90','90','100','90','','0','0','0','0','0','0','0','0','0','0'); -- id=154
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('154', '1', '30', '1', '2026-09-14'); -- id=154
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('154', '1', '30', '0', '154', 'إضافة منتج', 'productController.php', '0', '30', '1', '2026-09-14','0','0'); -- id=194
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (154, 1,'2026-09-14 22:48:33',1)
                ON DUPLICATE KEY UPDATE productid = 154, edited = 1, sysdate = '2026-09-14 22:48:33', userid = 1; -- id=162
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2700', '2700', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:33','إضافة منتج لمبه 30 وات  الكمية 30','1','0','0','0','154','productController.php?do=edit&id=154'); -- id=169
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('169', '382', '2700', '','0'); -- id=169
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '960144.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('169', '121', '2700', '','0'); -- id=169
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '83144.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 30 وات ', productDescription = '', productCatId = '22', productBuyPrice = '90.00', productSellAllPrice = '90.00', productSellUnitPrice = '100.00', productSellHalfPrice = '90.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00154',type ='0', expireDate = '0' , dailyentryId = '169',isService = '0',isOptic = '0',lastbuyprice = '90',lastbuyprice_withDiscount = '90',meanbuyprice = '90',meanbuyprice_withDiscount = '90' , productbuypricereal = '90' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '11.11',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='90',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='90',meanbuyprice_withTax='90',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='90',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '154';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 40 وات ','','22','125','125','125','125','2026-09-14','0','1','0','','0','0','0','0','0','125','125','125','125','125','0','0','0','0','.','0','0','0','125','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','125','125','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','125','0','0','0','0','0','0','','','0','0','0','0'); -- id=155
UPDATE product SET productName = 'لمبه 40 وات ', productDescription = '', productCatId = '22', productBuyPrice = '125', productSellAllPrice = '125', productSellUnitPrice = '125', productSellHalfPrice = '125', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00155',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '125',lastbuyprice_withDiscount = '125',meanbuyprice = '125',meanbuyprice_withDiscount = '125' , productbuypricereal = '125' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='125',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='125',meanbuyprice_withTax='125',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='125',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '155';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '155', '1.00', '2026-09-14', '1', '0','0015501','125','125','125','125','','0','0','0','0','0','0','0','0','0','0'); -- id=155
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('155', '1', '16', '1', '2026-09-14'); -- id=155
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('155', '1', '16', '0', '155', 'إضافة منتج', 'productController.php', '0', '16', '1', '2026-09-14','0','0'); -- id=195
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (155, 1,'2026-09-14 22:48:35',1)
                ON DUPLICATE KEY UPDATE productid = 155, edited = 1, sysdate = '2026-09-14 22:48:35', userid = 1; -- id=163
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2000', '2000', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:35','إضافة منتج لمبه 40 وات  الكمية 16','1','0','0','0','155','productController.php?do=edit&id=155'); -- id=170
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('170', '382', '2000', '','0'); -- id=170
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '962144.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('170', '121', '2000', '','0'); -- id=170
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '85144.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 40 وات ', productDescription = '', productCatId = '22', productBuyPrice = '125.00', productSellAllPrice = '125.00', productSellUnitPrice = '125.00', productSellHalfPrice = '125.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00155',type ='0', expireDate = '0' , dailyentryId = '170',isService = '0',isOptic = '0',lastbuyprice = '125',lastbuyprice_withDiscount = '125',meanbuyprice = '125',meanbuyprice_withDiscount = '125' , productbuypricereal = '125' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '0',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='125',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='125',meanbuyprice_withTax='125',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='125',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '155';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('لمبه 50 وات ','','22','153','153','160','153','2026-09-14','0','1','0','','0','0','0','0','0','153','153','153','153','153','0','0','0','4.58','.','0','0','0','153','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','153','153','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','153','0','0','0','0','0','0','','','0','0','0','0'); -- id=156
UPDATE product SET productName = 'لمبه 50 وات ', productDescription = '', productCatId = '22', productBuyPrice = '153', productSellAllPrice = '153', productSellUnitPrice = '160', productSellHalfPrice = '153', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00156',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '153',lastbuyprice_withDiscount = '153',meanbuyprice = '153',meanbuyprice_withDiscount = '153' , productbuypricereal = '153' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '4.58',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='153',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='153',meanbuyprice_withTax='153',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='153',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '156';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '156', '1.00', '2026-09-14', '1', '0','0015601','153','153','160','153','','0','0','0','0','0','0','0','0','0','0'); -- id=156
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('156', '1', '18', '1', '2026-09-14'); -- id=156
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('156', '1', '18', '0', '156', 'إضافة منتج', 'productController.php', '0', '18', '1', '2026-09-14','0','0'); -- id=196
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (156, 1,'2026-09-14 22:48:37',1)
                ON DUPLICATE KEY UPDATE productid = 156, edited = 1, sysdate = '2026-09-14 22:48:37', userid = 1; -- id=164
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '2754', '2754', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:37','إضافة منتج لمبه 50 وات  الكمية 18','1','0','0','0','156','productController.php?do=edit&id=156'); -- id=171
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('171', '382', '2754', '','0'); -- id=171
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '964898.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('171', '121', '2754', '','0'); -- id=171
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '87898.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'لمبه 50 وات ', productDescription = '', productCatId = '22', productBuyPrice = '153.00', productSellAllPrice = '153.00', productSellUnitPrice = '160.00', productSellHalfPrice = '153.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00156',type ='0', expireDate = '0' , dailyentryId = '171',isService = '0',isOptic = '0',lastbuyprice = '153',lastbuyprice_withDiscount = '153',meanbuyprice = '153',meanbuyprice_withDiscount = '153' , productbuypricereal = '153' , buypricereal_precentage = '0' , buytotal_precentage = '0' , buyhalf_precentage = '0' , buypart_precentage = '4.58',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='153',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='153',meanbuyprice_withTax='153',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='153',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '156';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 26 وات داخل ابيض','','22','144','150','160','150','2026-09-14','0','1','0','','0','0','0','0','0','144','144','144','144','144','0','4.17','4.17','11.11','.','0','0','0','144','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','144','144','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','144','0','0','0','0','0','0','','','0','0','0','0'); -- id=157
UPDATE product SET productName = 'بانل 26 وات داخل ابيض', productDescription = '', productCatId = '22', productBuyPrice = '144', productSellAllPrice = '150', productSellUnitPrice = '160', productSellHalfPrice = '150', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00157',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '144',lastbuyprice_withDiscount = '144',meanbuyprice = '144',meanbuyprice_withDiscount = '144' , productbuypricereal = '144' , buypricereal_precentage = '0' , buytotal_precentage = '4.17' , buyhalf_precentage = '4.17' , buypart_precentage = '11.11',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='144',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='144',meanbuyprice_withTax='144',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='144',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '157';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '157', '1.00', '2026-09-14', '1', '0','0015701','150','150','160','144','','0','0','0','0','0','0','0','0','0','0'); -- id=157
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('157', '1', '56', '1', '2026-09-14'); -- id=157
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('157', '1', '56', '0', '157', 'إضافة منتج', 'productController.php', '0', '56', '1', '2026-09-14','0','0'); -- id=197
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (157, 1,'2026-09-14 22:48:40',1)
                ON DUPLICATE KEY UPDATE productid = 157, edited = 1, sysdate = '2026-09-14 22:48:40', userid = 1; -- id=165
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '8064', '8064', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:40','إضافة منتج بانل 26 وات داخل ابيض الكمية 56','1','0','0','0','157','productController.php?do=edit&id=157'); -- id=172
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('172', '382', '8064', '','0'); -- id=172
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '972962.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('172', '121', '8064', '','0'); -- id=172
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '95962.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 26 وات داخل ابيض', productDescription = '', productCatId = '22', productBuyPrice = '144.00', productSellAllPrice = '150.00', productSellUnitPrice = '160.00', productSellHalfPrice = '150.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00157',type ='0', expireDate = '0' , dailyentryId = '172',isService = '0',isOptic = '0',lastbuyprice = '144',lastbuyprice_withDiscount = '144',meanbuyprice = '144',meanbuyprice_withDiscount = '144' , productbuypricereal = '144' , buypricereal_precentage = '0' , buytotal_precentage = '4.17' , buyhalf_precentage = '4.17' , buypart_precentage = '11.11',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='144',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='144',meanbuyprice_withTax='144',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='144',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '157';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 40 وات داخل ابيض ','','22','200','210','225','210','2026-09-14','0','1','0','','0','0','0','0','0','200','200','200','200','200','0','5','5','12.5','.','0','0','0','200','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','200','200','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','200','0','0','0','0','0','0','','','0','0','0','0'); -- id=158
UPDATE product SET productName = 'بانل 40 وات داخل ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '200', productSellAllPrice = '210', productSellUnitPrice = '225', productSellHalfPrice = '210', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00158',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '200',lastbuyprice_withDiscount = '200',meanbuyprice = '200',meanbuyprice_withDiscount = '200' , productbuypricereal = '200' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '12.5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='200',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='200',meanbuyprice_withTax='200',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='200',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '158';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '158', '1.00', '2026-09-14', '1', '0','0015801','210','210','225','200','','0','0','0','0','0','0','0','0','0','0'); -- id=158
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('158', '1', '26', '1', '2026-09-14'); -- id=158
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('158', '1', '26', '0', '158', 'إضافة منتج', 'productController.php', '0', '26', '1', '2026-09-14','0','0'); -- id=198
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (158, 1,'2026-09-14 22:48:42',1)
                ON DUPLICATE KEY UPDATE productid = 158, edited = 1, sysdate = '2026-09-14 22:48:42', userid = 1; -- id=166
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '5200', '5200', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:42','إضافة منتج بانل 40 وات داخل ابيض  الكمية 26','1','0','0','0','158','productController.php?do=edit&id=158'); -- id=173
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('173', '382', '5200', '','0'); -- id=173
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '978162.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('173', '121', '5200', '','0'); -- id=173
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '101162.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 40 وات داخل ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '200.00', productSellAllPrice = '210.00', productSellUnitPrice = '225.00', productSellHalfPrice = '210.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00158',type ='0', expireDate = '0' , dailyentryId = '173',isService = '0',isOptic = '0',lastbuyprice = '200',lastbuyprice_withDiscount = '200',meanbuyprice = '200',meanbuyprice_withDiscount = '200' , productbuypricereal = '200' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '12.5',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='200',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='200',meanbuyprice_withTax='200',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='200',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '158';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 18 وات داخل ابيض','','22','100','105','120','105','2026-09-14','0','1','0','','0','0','0','0','0','100','100','100','100','100','0','5','5','20','.','0','0','0','100','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','100','100','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','100','0','0','0','0','0','0','','','0','0','0','0'); -- id=159
UPDATE product SET productName = 'بانل 18 وات داخل ابيض', productDescription = '', productCatId = '22', productBuyPrice = '100', productSellAllPrice = '105', productSellUnitPrice = '120', productSellHalfPrice = '105', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00159',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '100',lastbuyprice_withDiscount = '100',meanbuyprice = '100',meanbuyprice_withDiscount = '100' , productbuypricereal = '100' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '20',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='100',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='100',meanbuyprice_withTax='100',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='100',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '159';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '159', '1.00', '2026-09-14', '1', '0','0015901','105','105','120','100','','0','0','0','0','0','0','0','0','0','0'); -- id=159
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('159', '1', '37', '1', '2026-09-14'); -- id=159
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('159', '1', '37', '0', '159', 'إضافة منتج', 'productController.php', '0', '37', '1', '2026-09-14','0','0'); -- id=199
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (159, 1,'2026-09-14 22:48:44',1)
                ON DUPLICATE KEY UPDATE productid = 159, edited = 1, sysdate = '2026-09-14 22:48:44', userid = 1; -- id=167
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3700', '3700', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:44','إضافة منتج بانل 18 وات داخل ابيض الكمية 37','1','0','0','0','159','productController.php?do=edit&id=159'); -- id=174
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('174', '382', '3700', '','0'); -- id=174
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '981862.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('174', '121', '3700', '','0'); -- id=174
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '104862.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 18 وات داخل ابيض', productDescription = '', productCatId = '22', productBuyPrice = '100.00', productSellAllPrice = '105.00', productSellUnitPrice = '120.00', productSellHalfPrice = '105.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00159',type ='0', expireDate = '0' , dailyentryId = '174',isService = '0',isOptic = '0',lastbuyprice = '100',lastbuyprice_withDiscount = '100',meanbuyprice = '100',meanbuyprice_withDiscount = '100' , productbuypricereal = '100' , buypricereal_precentage = '0' , buytotal_precentage = '5' , buyhalf_precentage = '5' , buypart_precentage = '20',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='100',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='100',meanbuyprice_withTax='100',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='100',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '159';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 18 وات خارج ابيض ','','22','120','130','140','130','2026-09-14','0','1','0','','0','0','0','0','0','120','120','120','120','120','0','8.33','8.33','16.67','.','0','0','0','120','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','120','120','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','120','0','0','0','0','0','0','','','0','0','0','0'); -- id=160
UPDATE product SET productName = 'بانل 18 وات خارج ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '120', productSellAllPrice = '130', productSellUnitPrice = '140', productSellHalfPrice = '130', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00160',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '120',lastbuyprice_withDiscount = '120',meanbuyprice = '120',meanbuyprice_withDiscount = '120' , productbuypricereal = '120' , buypricereal_precentage = '0' , buytotal_precentage = '8.33' , buyhalf_precentage = '8.33' , buypart_precentage = '16.67',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='120',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='120',meanbuyprice_withTax='120',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='120',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '160';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '160', '1.00', '2026-09-14', '1', '0','0016001','130','130','140','120','','0','0','0','0','0','0','0','0','0','0'); -- id=160
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('160', '1', '62', '1', '2026-09-14'); -- id=160
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('160', '1', '62', '0', '160', 'إضافة منتج', 'productController.php', '0', '62', '1', '2026-09-14','0','0'); -- id=200
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (160, 1,'2026-09-14 22:48:46',1)
                ON DUPLICATE KEY UPDATE productid = 160, edited = 1, sysdate = '2026-09-14 22:48:46', userid = 1; -- id=168
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '7440', '7440', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:46','إضافة منتج بانل 18 وات خارج ابيض  الكمية 62','1','0','0','0','160','productController.php?do=edit&id=160'); -- id=175
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('175', '382', '7440', '','0'); -- id=175
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '989302.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('175', '121', '7440', '','0'); -- id=175
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '112302.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 18 وات خارج ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '120.00', productSellAllPrice = '130.00', productSellUnitPrice = '140.00', productSellHalfPrice = '130.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00160',type ='0', expireDate = '0' , dailyentryId = '175',isService = '0',isOptic = '0',lastbuyprice = '120',lastbuyprice_withDiscount = '120',meanbuyprice = '120',meanbuyprice_withDiscount = '120' , productbuypricereal = '120' , buypricereal_precentage = '0' , buytotal_precentage = '8.33' , buyhalf_precentage = '8.33' , buypart_precentage = '16.67',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='120',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='120',meanbuyprice_withTax='120',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='120',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '160';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 30 وات خارج ابيض ','','22','165','175','190','175','2026-09-14','0','1','0','','0','0','0','0','0','165','165','165','165','165','0','6.06','6.06','15.15','.','0','0','0','165','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','165','165','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','165','0','0','0','0','0','0','','','0','0','0','0'); -- id=161
UPDATE product SET productName = 'بانل 30 وات خارج ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '165', productSellAllPrice = '175', productSellUnitPrice = '190', productSellHalfPrice = '175', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00161',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '165',lastbuyprice_withDiscount = '165',meanbuyprice = '165',meanbuyprice_withDiscount = '165' , productbuypricereal = '165' , buypricereal_precentage = '0' , buytotal_precentage = '6.06' , buyhalf_precentage = '6.06' , buypart_precentage = '15.15',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='165',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='165',meanbuyprice_withTax='165',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='165',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '161';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '161', '1.00', '2026-09-14', '1', '0','0016101','175','175','190','165','','0','0','0','0','0','0','0','0','0','0'); -- id=161
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('161', '1', '56', '1', '2026-09-14'); -- id=161
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('161', '1', '56', '0', '161', 'إضافة منتج', 'productController.php', '0', '56', '1', '2026-09-14','0','0'); -- id=201
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (161, 1,'2026-09-14 22:48:48',1)
                ON DUPLICATE KEY UPDATE productid = 161, edited = 1, sysdate = '2026-09-14 22:48:48', userid = 1; -- id=169
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '9240', '9240', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:48','إضافة منتج بانل 30 وات خارج ابيض  الكمية 56','1','0','0','0','161','productController.php?do=edit&id=161'); -- id=176
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('176', '382', '9240', '','0'); -- id=176
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '998542.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('176', '121', '9240', '','0'); -- id=176
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '121542.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 30 وات خارج ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '165.00', productSellAllPrice = '175.00', productSellUnitPrice = '190.00', productSellHalfPrice = '175.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00161',type ='0', expireDate = '0' , dailyentryId = '176',isService = '0',isOptic = '0',lastbuyprice = '165',lastbuyprice_withDiscount = '165',meanbuyprice = '165',meanbuyprice_withDiscount = '165' , productbuypricereal = '165' , buypricereal_precentage = '0' , buytotal_precentage = '6.06' , buyhalf_precentage = '6.06' , buypart_precentage = '15.15',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='165',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='165',meanbuyprice_withTax='165',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='165',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '161';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 40 وات خارج ابيض ','','22','223','230','250','230','2026-09-14','0','1','0','','0','0','0','0','0','223','223','223','223','223','0','3.14','3.14','12.11','.','0','0','0','223','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','223','223','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','223','0','0','0','0','0','0','','','0','0','0','0'); -- id=162
UPDATE product SET productName = 'بانل 40 وات خارج ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '223', productSellAllPrice = '230', productSellUnitPrice = '250', productSellHalfPrice = '230', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00162',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '223',lastbuyprice_withDiscount = '223',meanbuyprice = '223',meanbuyprice_withDiscount = '223' , productbuypricereal = '223' , buypricereal_precentage = '0' , buytotal_precentage = '3.14' , buyhalf_precentage = '3.14' , buypart_precentage = '12.11',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='223',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='223',meanbuyprice_withTax='223',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='223',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '162';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '162', '1.00', '2026-09-14', '1', '0','0016201','230','230','250','223','','0','0','0','0','0','0','0','0','0','0'); -- id=162
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('162', '1', '28', '1', '2026-09-14'); -- id=162
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('162', '1', '28', '0', '162', 'إضافة منتج', 'productController.php', '0', '28', '1', '2026-09-14','0','0'); -- id=202
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (162, 1,'2026-09-14 22:48:50',1)
                ON DUPLICATE KEY UPDATE productid = 162, edited = 1, sysdate = '2026-09-14 22:48:50', userid = 1; -- id=170
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '6244', '6244', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:50','إضافة منتج بانل 40 وات خارج ابيض  الكمية 28','1','0','0','0','162','productController.php?do=edit&id=162'); -- id=177
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('177', '382', '6244', '','0'); -- id=177
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '1004786.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('177', '121', '6244', '','0'); -- id=177
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '127786.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 40 وات خارج ابيض ', productDescription = '', productCatId = '22', productBuyPrice = '223.00', productSellAllPrice = '230.00', productSellUnitPrice = '250.00', productSellHalfPrice = '230.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00162',type ='0', expireDate = '0' , dailyentryId = '177',isService = '0',isOptic = '0',lastbuyprice = '223',lastbuyprice_withDiscount = '223',meanbuyprice = '223',meanbuyprice_withDiscount = '223' , productbuypricereal = '223' , buypricereal_precentage = '0' , buytotal_precentage = '3.14' , buyhalf_precentage = '3.14' , buypart_precentage = '12.11',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='223',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='223',meanbuyprice_withTax='223',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='223',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '162';
INSERT INTO product (productName,productDescription,productCatId,productBuyPrice,productSellAllPrice,productSellUnitPrice,productSellHalfPrice,productDate,conditions,userId,limitamount,parcode,type,expireDate,dailyentryId,isService,isOptic,lastbuyprice,lastbuyprice_withDiscount,meanbuyprice,meanbuyprice_withDiscount,productbuypricereal,buypricereal_precentage,buytotal_precentage,buyhalf_precentage,buypart_precentage,logo,inMenu,obygyDetectionId,hasSizeAndColor,overAllAveragePrice,reviewType,online,updatebyuser,proExcelid,proExcelParcode,webApiId,runquery,weightedDiscount,sortby,obygyInvestigationId,TypeOfBarcodeInTax,itemsymbol,barcodeInTax,productNameE,partNumber,vehicleType,company,weight,origin,hscode,power,ProductionDate,expiry,procode,lastbuyprice_withTax,meanbuyprice_withTax,price4,price5,price6,price7,price8,clientid,grantduration,onlinepro,minappearonline,selladdpercent,selldiscountpercent,buydiscountpercent,onlinecatid,sellpercenttype,searchfiltersid,lastbuyprice_withDiscountAndTax,price9,price10,price11,price12,price13,productCatIdOnline,tagids,productDescriptionE,discountType,discount,discountRatio,priceAfterDiscount) VALUES ('بانل 40 وات خارج 3 تكه ','','22','240','250','275','250','2026-09-14','0','1','0','','0','0','0','0','0','240','240','240','240','240','0','4.17','4.17','14.58','.','0','0','0','240','0','','','0','0','0','','0','0','0','GS1','','','','0','0','0','0','','0','0','','0','','240','240','0','0','0','0','0','0','0','1','0','0','0','0','0','0','','240','0','0','0','0','0','0','','','0','0','0','0'); -- id=163
UPDATE product SET productName = 'بانل 40 وات خارج 3 تكه ', productDescription = '', productCatId = '22', productBuyPrice = '240', productSellAllPrice = '250', productSellUnitPrice = '275', productSellHalfPrice = '250', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00163',type ='0', expireDate = '0' , dailyentryId = '0',isService = '0',isOptic = '0',lastbuyprice = '240',lastbuyprice_withDiscount = '240',meanbuyprice = '240',meanbuyprice_withDiscount = '240' , productbuypricereal = '240' , buypricereal_precentage = '0' , buytotal_precentage = '4.17' , buyhalf_precentage = '4.17' , buypart_precentage = '14.58',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='240',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='240',meanbuyprice_withTax='240',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='240',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '163';
INSERT INTO productunit (unitid, productid, productnumber, productunitdate, userid, conditions,proUnitParcode,proUnitSellAllPrice,proUnitSellHalfPrice,proUnitSellUnitPrice,proUnitBuyPrice,unitInTax,proUnitPrice4,proUnitPrice5,proUnitPrice6,proUnitPrice7,proUnitPrice8,proUnitPrice9,proUnitPrice10,proUnitPrice11,proUnitPrice12,proUnitPrice13) VALUES ('1', '163', '1.00', '2026-09-14', '1', '0','0016301','250','250','275','240','','0','0','0','0','0','0','0','0','0','0'); -- id=163
INSERT INTO storedetail (productid, storeid, productquantity, userid, storedetaildate) VALUES ('163', '1', '16', '1', '2026-09-14'); -- id=163
INSERT INTO storereport (productid, storeid, productquantity, storereporttype, storereportmodelid, processname, tablename, productbefore, productafter, userid, storereportdate,sizeid,colorid) VALUES ('163', '1', '16', '0', '163', 'إضافة منتج', 'productController.php', '0', '16', '1', '2026-09-14','0','0'); -- id=203
INSERT INTO onlinetempproduct (productid, edited, sysdate, userid)
                VALUES (163, 1,'2026-09-14 22:48:53',1)
                ON DUPLICATE KEY UPDATE productid = 163, edited = 1, sysdate = '2026-09-14 22:48:53', userid = 1; -- id=171
INSERT INTO dailyentry (totalcreditor, totaldebtor, thedate, userid, `condition`, reverseofid, dDateTime,entryComment,fromFlag,related,branchid,isopeningentry,operationId,operationDetailLink) VALUES ( '3840', '3840', '2026-09-14', '1', '0', '0', '2026-09-14 22:48:53','إضافة منتج بانل 40 وات خارج 3 تكه  الكمية 16','1','0','0','0','163','productController.php?do=edit&id=163'); -- id=178
INSERT INTO dailyentrydebtor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('178', '382', '3840', '','0'); -- id=178
UPDATE accountstree SET name = 'مخزن1', customName = 'المخزن الرئيسي', customNameEn = 'مخزن1', nameEn = 'مخزن1', parent = '49', accountNature = '0', theValue = '1008626.68', theOrder = '0', layingOrder = '120202', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '3', itemtype2 = '1', itemtype3 = '', userid = '1', del = '0', sysdate = '2022-05-08 23:13:11' WHERE id = '382';
INSERT INTO dailyentrycreditor (dailyentryid, accountstreeid, value, dComment,costcenterid) VALUES ('178', '121', '3840', '','0'); -- id=178
UPDATE accountstree SET name = 'حساب وسيط للارصدة الافتتاحية', customName = 'حساب وسيط للارصدة الافتتاحية', customNameEn = 'Paid Capital', nameEn = 'Paid Capital', parent = '119', accountNature = '1', theValue = '131626.22', theOrder = '0', layingOrder = '3102', reportid = '1', listId = '1', notes = '', itemfrom = '0', itemtype = '4', itemtype2 = '0', itemtype3 = 'Equity ', userid = '1', del = '0', sysdate = '2022-05-08 23:12:37' WHERE id = '121';
UPDATE product SET productName = 'بانل 40 وات خارج 3 تكه ', productDescription = '', productCatId = '22', productBuyPrice = '240.00', productSellAllPrice = '250.00', productSellUnitPrice = '275.00', productSellHalfPrice = '250.00', productDate = '2026-09-14', conditions = '0', userId = '1', limitamount = '0', parcode = '00163',type ='0', expireDate = '0' , dailyentryId = '178',isService = '0',isOptic = '0',lastbuyprice = '240',lastbuyprice_withDiscount = '240',meanbuyprice = '240',meanbuyprice_withDiscount = '240' , productbuypricereal = '240' , buypricereal_precentage = '0' , buytotal_precentage = '4.17' , buyhalf_precentage = '4.17' , buypart_precentage = '14.58',logo = '.',inMenu='0', obygyDetectionId = '0',hasSizeAndColor = '0',overAllAveragePrice='240',logo1 = '',logo2 = '',logo3 = '',logo4 = '',logo5 = '',logo6 = '',logo7 = '',reviewType ='0' , online = '' , updatebyuser = '',webApiId='0',weightedDiscount='0',sortby='0',TypeOfBarcodeInTax='GS1',itemsymbol='',barcodeInTax='',productNameE='',partNumber='0',vehicleType='0',company='0',weight='0',origin='',hscode='0',power='0',ProductionDate='',expiry='0',procode='',lastbuyprice_withTax='240',meanbuyprice_withTax='240',price4='0',price5='0',price6='0',price7='0',price8='0',clientid='0',grantduration='0',onlinepro='1',minappearonline='0',selladdpercent='0',selldiscountpercent='0',buydiscountpercent='0',onlinecatid='0',sellpercenttype='0',searchfiltersid='',lastbuyprice_withDiscountAndTax='240',price9='0',price10='0',price11='0',price12='0',price13='0',productCatIdOnline='0',tagids='',productDescriptionE='', discountType = '0', discount = '0', discountRatio = '0',priceAfterDiscount = '0' WHERE productId = '163';
COMMIT;
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:18:55";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:48:55", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('productController.php', '2026-09-14 22:48:55', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/productController.php'); -- id=658
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:19:11";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:49:11", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 22:49:11', '1', '', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php'); -- id=659
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:19:19";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:49:19", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('clientReportsController.php', '2026-09-14 22:49:19', '1', 'show', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/clientReportsController.php?do=show'); -- id=660
UPDATE user SET loginip = "" WHERE lastactivetime < "2026-09-14 19:19:30";
UPDATE user SET loginip = "::1", lastactivetime = "2026-09-14 22:49:30", deviceType = "DESKTOP" WHERE userid = 1;
INSERT INTO movementmanage (operationname, movementmanagedate, userid, currentDo, ip, mac, deviceType,completeURL) VALUES ('sellbillController.php', '2026-09-14 22:49:30', '1', 'showDetail', '::1', 'DC:4A:3E:84:BB:DA', 'DESKTOP','https://localhost:8080/erp/controllers/sellbillController.php?do=showDetail&sellbillid=1'); -- id=661
