('2019-08-30 11:49:28','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27561\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-08-30\'\n				)'),('2019-08-30 11:49:45','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27058\')\n			WHERE orderno= \'27561\''),('2019-08-30 11:49:45','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27058\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-08-31\',\n									\'2019-08-30 11-49-45\',\n									\'93\',\n									\'\',\n									\'DE\',\n									\'27561\',\n									\'491.82\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'SPORTS CITY\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Jhairud\')'),('2019-08-30 11:49:45','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34194\',\n									\'1\',\n									\'33.858\')'),('2019-08-30 11:49:45','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 7.05,\n								actualdispatchdate = \'2019-08-31\',\n								completed=1\n							WHERE orderno = \'27561\'\n							AND orderlineno = \'0\''),('2019-08-30 11:49:45','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 7.05\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-08-30 11:49:45','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'SF500G\',\n														10,\n														\'27058\',\n														\'AN\',\n														\'2019-08-31\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'93\',\n														\'27561\',\n														\'-7.05\',\n														\'0\',\n														\'0.0000\',\n														\'-9638.281\',\n														\'\' )'),('2019-08-30 11:49:45','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56841\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-08-30 11:49:45','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'93\',\n										\'115.62\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'7.05\',\n										\'0\',\n										\'SF500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SF500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-08-30 11:49:45','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27058\',\n											\'2019-08-31\',\n											\'93\',\n											\'4100\',\n											\'TM074 - SF500G x 7.05 @ 16.4\',\n											\'-115.62\')'),('2019-08-30 11:49:45','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-08-31\',\n								completed=1\n							WHERE orderno = \'27561\'\n							AND orderlineno = \'1\''),('2019-08-30 11:49:45','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-08-30 11:49:45','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27058\',\n														\'AN\',\n														\'2019-08-31\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'93\',\n														\'27561\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-306603.65\',\n														\'\' )'),('2019-08-30 11:49:45','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56842\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-08-30 11:49:45','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'93\',\n										\'376.2\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-08-30 11:49:45','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27058\',\n											\'2019-08-31\',\n											\'93\',\n											\'4100\',\n											\'TM074 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-08-30 11:49:45','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27058\',\n										\'2019-08-31\',\n										\'93\',\n										\'1100\',\n										\'TM074\',\n										\'525.68\')'),('2019-08-30 11:49:45','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27058\',\n											\'2019-08-31\',\n											\'93\',\n											\'2300\',\n											\'TM074\',\n											\'-33.86\')'),('2019-08-30 11:49:45','jhairud','UPDATE gltrans SET amount = amount - -0.00000000000004263256414560601\n								WHERE counterindex = \'122510\''),('2019-08-30 15:43:07','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27562\',\n								\'TM058\',\n								\'J012\',\n								\'406/PO1/20/1136\',\n								\'406/PO1/20/1136\\\\r\\\\nMamacita\\\\r\\\\nDamodar City\\\\r\\\\n\\\\r\\\\n\',\n								\'2019-08-30 15:43\',\n								\'DE\',\n								\'10\',\n								\'JACKS RESTAURANT\',\n								\'Mamacita\',\n								\'Damodar City\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-08-31\',\n								\'2019-08-31\',\n								\'2019-08-31\',\n								\'0\',\n								\'1\'\n								)'),('2019-08-30 15:43:07','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27562\',\n					\'LM\',\n					\'19.00\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-08-30\'\n				)'),('2019-08-30 15:43:33','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27059\')\n			WHERE orderno= \'27562\''),('2019-08-30 15:43:33','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27059\',\n									10,\n									\'TM058\',\n									\'J012\',\n									\'2019-08-31\',\n									\'2019-08-30 15-43-33\',\n									\'93\',\n									\'\',\n									\'DE\',\n									\'27562\',\n									\'285\',\n									\'25.65\',\n									\'0\',\n									\'1\',\n									\'406/PO1/20/1136\\r\\nMamacita\\r\\nDamodar City\\r\\n\',\n									\'10\',\n									\'406/PO1/20/1136\',\n									\'1\',\n									\'Jhairud\')'),('2019-08-30 15:43:33','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34195\',\n									\'1\',\n									\'25.65\')'),('2019-08-30 15:43:33','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-08-31\',\n								completed=1\n							WHERE orderno = \'27562\'\n							AND orderlineno = \'0\''),('2019-08-30 15:43:33','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-08-30 15:43:33','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LM\',\n														10,\n														\'27059\',\n														\'AN\',\n														\'2019-08-31\',\n														\'TM058\',\n														\'J012\',\n														\'19\',\n														\'93\',\n														\'27562\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-32223.78\',\n														\'\' )'),('2019-08-30 15:43:33','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56843\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-08-30 15:43:33','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'93\',\n										\'285\',\n										\'0\',\n										\'TM058\',\n										\'J012\',\n										\'15\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'TM058\'\n								AND custbranch.branchcode=\'J012\''),('2019-08-30 15:43:33','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27059\',\n											\'2019-08-31\',\n											\'93\',\n											\'4100\',\n											\'TM058 - LM x 15 @ 19\',\n											\'-285\')'),('2019-08-30 15:43:33','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27059\',\n										\'2019-08-31\',\n										\'93\',\n										\'1100\',\n										\'TM058\',\n										\'310.65\')'),('2019-08-30 15:43:33','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27059\',\n											\'2019-08-31\',\n											\'93\',\n											\'2300\',\n											\'TM058\',\n											\'-25.65\')'),('2019-08-31 09:44:00','jhairud','UPDATE config SET confvalue = \'2019-08-31\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-08-31 10:47:59','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4709\',\n						12,\n						\'136\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-47-59\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-28915.12\',\n						\'0\',\n						\'HFC# 826522\'\n					)'),('2019-08-31 10:47:59','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'28915.12\'\n					WHERE debtorsmaster.debtorno=\'136\''),('2019-08-31 10:47:59','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4709\',\n			\'1100\',\n			\'HFC# 826522\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'28915.12\',\n			\'FJD\'\n		)'),('2019-08-31 10:47:59','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4709\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'HFC# 826522\',\n					\'28915.12\'\n				)'),('2019-08-31 10:47:59','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4709\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'HFC# 826522\',\n							\'-28915.12\'\n							)'),('2019-08-31 10:49:06','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4710\',\n						12,\n						\'TM044\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-49-06\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-6828.55\',\n						\'0\',\n						\'ANZ# 27110\'\n					)'),('2019-08-31 10:49:06','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'6828.55\'\n					WHERE debtorsmaster.debtorno=\'TM044\''),('2019-08-31 10:49:06','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4710\',\n			\'1100\',\n			\'ANZ# 27110\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'6828.55\',\n			\'FJD\'\n		)'),('2019-08-31 10:49:06','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4710\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'ANZ# 27110\',\n					\'6828.55\'\n				)'),('2019-08-31 10:49:06','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4710\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'ANZ# 27110\',\n							\'-6828.55\'\n							)'),('2019-08-31 10:50:22','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4711\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-50-22\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-732.48\',\n						\'0\',\n						\'BSP# 384\'\n					)'),('2019-08-31 10:50:22','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'732.48\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:50:22','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4711\',\n			\'1100\',\n			\'BSP# 384\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'732.48\',\n			\'FJD\'\n		)'),('2019-08-31 10:50:22','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4711\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BSP# 384\',\n					\'732.48\'\n				)'),('2019-08-31 10:50:22','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4711\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BSP# 384\',\n							\'-732.48\'\n							)'),('2019-08-31 10:51:20','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4712\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-51-20\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-1062.9\',\n						\'0\',\n						\'BSP# 14488\'\n					)'),('2019-08-31 10:51:20','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'1062.90\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:51:20','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4712\',\n			\'1100\',\n			\'BSP# 14488\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'1062.9\',\n			\'FJD\'\n		)'),('2019-08-31 10:51:20','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4712\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BSP# 14488\',\n					\'1062.9\'\n				)'),('2019-08-31 10:51:20','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4712\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BSP# 14488\',\n							\'-1062.9\'\n							)'),('2019-08-31 10:52:48','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4713\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-52-48\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-457.8\',\n						\'0\',\n						\'BSP# 345\'\n					)'),('2019-08-31 10:52:48','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'457.80\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:52:48','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4713\',\n			\'1100\',\n			\'BSP# 345\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'457.8\',\n			\'FJD\'\n		)'),('2019-08-31 10:52:48','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4713\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BSP# 345\',\n					\'457.8\'\n				)'),('2019-08-31 10:52:48','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4713\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BSP# 345\',\n							\'-457.8\'\n							)'),('2019-08-31 10:54:32','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4714\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-54-32\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-1359.16\',\n						\'0\',\n						\'BSP# 14372\'\n					)'),('2019-08-31 10:54:32','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'1359.16\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:54:32','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4714\',\n			\'1100\',\n			\'BSP# 14372\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'1359.16\',\n			\'FJD\'\n		)'),('2019-08-31 10:54:32','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4714\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BSP# 14372\',\n					\'1359.16\'\n				)'),('2019-08-31 10:54:32','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4714\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BSP# 14372\',\n							\'-1359.16\'\n							)'),('2019-08-31 10:56:11','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4715\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-56-11\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-1828.28\',\n						\'0\',\n						\'BOB# 1397972\'\n					)'),('2019-08-31 10:56:11','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'1828.28\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:56:11','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4715\',\n			\'1100\',\n			\'BOB# 1397972\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'1828.28\',\n			\'FJD\'\n		)'),('2019-08-31 10:56:11','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4715\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BOB# 1397972\',\n					\'1828.28\'\n				)'),('2019-08-31 10:56:11','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4715\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BOB# 1397972\',\n							\'-1828.28\'\n							)'),('2019-08-31 10:57:14','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4716\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-57-14\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-1734.06\',\n						\'0\',\n						\'BOB# 1422349\'\n					)'),('2019-08-31 10:57:14','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'1734.06\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:57:14','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4716\',\n			\'1100\',\n			\'BOB# 1422349\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'1734.06\',\n			\'FJD\'\n		)'),('2019-08-31 10:57:14','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4716\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BOB# 1422349\',\n					\'1734.06\'\n				)'),('2019-08-31 10:57:14','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4716\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BOB# 1422349\',\n							\'-1734.06\'\n							)'),('2019-08-31 10:58:30','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4717\',\n						12,\n						\'TM013\',\n						\'\',\n						\'2019-08-31\',\n						\'2019-08-31 10-58-30\',\n						\'93\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-2189.27\',\n						\'0\',\n						\'BOB# 1398107\'\n					)'),('2019-08-31 10:58:30','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-08-31\',\n						lastpaid=\'2189.27\'\n					WHERE debtorsmaster.debtorno=\'TM013\''),('2019-08-31 10:58:30','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4717\',\n			\'1100\',\n			\'BOB# 1398107\',\n			\'1\',\n			\'1\',\n			\'2019-08-31\',\n			\'Cheque\',\n			\'2189.27\',\n			\'FJD\'\n		)'),('2019-08-31 10:58:30','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4717\',\n					\'2019-08-31\',\n					\'93\',\n					\'1100\',\n					\'BOB# 1398107\',\n					\'2189.27\'\n				)'),('2019-08-31 10:58:30','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4717\',\n							\'2019-08-31\',\n							\'93\',\n							\'1100\',\n							\'BOB# 1398107\',\n							\'-2189.27\'\n							)'),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'739.89\',\n								\'34197\',\n								\'33529\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'739.89\',\n						settled = \'1\'\n						WHERE id = \'33529\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'471.43\',\n								\'34197\',\n								\'33571\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'471.43\',\n						settled = \'1\'\n						WHERE id = \'33571\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'739.89\',\n								\'34197\',\n								\'33598\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'739.89\',\n						settled = \'1\'\n						WHERE id = \'33598\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'369.95\',\n								\'34197\',\n								\'33626\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'369.95\',\n						settled = \'1\'\n						WHERE id = \'33626\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'369.95\',\n								\'34197\',\n								\'33633\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'369.95\',\n						settled = \'1\'\n						WHERE id = \'33633\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'749.81\',\n								\'34197\',\n								\'33654\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'749.81\',\n						settled = \'1\'\n						WHERE id = \'33654\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'739.89\',\n								\'34197\',\n								\'33673\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'739.89\',\n						settled = \'1\'\n						WHERE id = \'33673\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'739.89\',\n								\'34197\',\n								\'33696\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'739.89\',\n						settled = \'1\'\n						WHERE id = \'33696\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'369.95\',\n								\'34197\',\n								\'33706\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'369.95\',\n						settled = \'1\'\n						WHERE id = \'33706\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'517.04\',\n								\'34197\',\n								\'33732\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'517.04\',\n						settled = \'1\'\n						WHERE id = \'33732\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'461.91\',\n								\'34197\',\n								\'33717\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'461.91\',\n						settled = \'1\'\n						WHERE id = \'33717\''),('2019-08-31 10:59:16','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'558.95\',\n								\'34197\',\n								\'33759\'\n							)'),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'558.95\',\n						settled = \'1\'\n						WHERE id = \'33759\''),('2019-08-31 10:59:16','jhairud','UPDATE debtortrans\n				SET alloc = \'-6828.55\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34197\''),('2019-08-31 10:59:27','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'20723.72\',\n								\'34196\',\n								\'33795\'\n							)'),('2019-08-31 10:59:27','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'20723.72\',\n						settled = \'1\'\n						WHERE id = \'33795\''),('2019-08-31 10:59:27','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'8191.4\',\n								\'34196\',\n								\'33833\'\n							)'),('2019-08-31 10:59:27','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'8191.4\',\n						settled = \'1\'\n						WHERE id = \'33833\''),('2019-08-31 10:59:27','jhairud','UPDATE debtortrans\n				SET alloc = \'-28915.12\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34196\''),('2019-08-31 11:00:30','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'91.56\',\n								\'34200\',\n								\'33271\'\n							)'),('2019-08-31 11:00:30','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'91.56\',\n						settled = \'1\'\n						WHERE id = \'33271\''),('2019-08-31 11:00:30','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'183.12\',\n								\'34200\',\n								\'33356\'\n							)'),('2019-08-31 11:00:30','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'183.12\',\n						settled = \'1\'\n						WHERE id = \'33356\''),('2019-08-31 11:00:30','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'183.12\',\n								\'34200\',\n								\'33445\'\n							)'),('2019-08-31 11:00:30','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'183.12\',\n						settled = \'1\'\n						WHERE id = \'33445\''),('2019-08-31 11:00:30','jhairud','UPDATE debtortrans\n				SET alloc = \'-457.8\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34200\''),('2019-08-31 11:01:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'183.12\',\n								\'34198\',\n								\'33579\'\n							)'),('2019-08-31 11:01:09','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'183.12\',\n						settled = \'1\'\n						WHERE id = \'33579\''),('2019-08-31 11:01:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'183.12\',\n								\'34198\',\n								\'33608\'\n							)'),('2019-08-31 11:01:09','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'183.12\',\n						settled = \'1\'\n						WHERE id = \'33608\''),('2019-08-31 11:01:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'183.12\',\n								\'34198\',\n								\'33671\'\n							)'),('2019-08-31 11:01:09','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'183.12\',\n						settled = \'1\'\n						WHERE id = \'33671\''),('2019-08-31 11:01:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'183.12\',\n								\'34198\',\n								\'33722\'\n							)'),('2019-08-31 11:01:09','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'183.12\',\n						settled = \'1\'\n						WHERE id = \'33722\''),('2019-08-31 11:01:09','jhairud','UPDATE debtortrans\n				SET alloc = \'-732.48\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34198\''),('2019-08-31 11:01:53','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'282.01\',\n								\'34199\',\n								\'33547\'\n							)'),('2019-08-31 11:01:53','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'282.01\',\n						settled = \'1\'\n						WHERE id = \'33547\''),('2019-08-31 11:01:53','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'270\',\n								\'34199\',\n								\'33610\'\n							)'),('2019-08-31 11:01:53','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'270\',\n						settled = \'1\'\n						WHERE id = \'33610\''),('2019-08-31 11:01:53','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'180.69\',\n								\'34199\',\n								\'33669\'\n							)'),('2019-08-31 11:01:53','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'180.69\',\n						settled = \'1\'\n						WHERE id = \'33669\''),('2019-08-31 11:01:53','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'330.2\',\n								\'34199\',\n								\'33727\'\n							)'),('2019-08-31 11:01:53','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'330.2\',\n						settled = \'1\'\n						WHERE id = \'33727\''),('2019-08-31 11:01:53','jhairud','UPDATE debtortrans\n				SET alloc = \'-1062.9\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34199\''),('2019-08-31 11:02:41','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'247.7\',\n								\'34201\',\n								\'33206\'\n							)'),('2019-08-31 11:02:41','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'247.7\',\n						settled = \'1\'\n						WHERE id = \'33206\''),('2019-08-31 11:02:41','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'283.98\',\n								\'34201\',\n								\'33275\'\n							)'),('2019-08-31 11:02:41','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'283.98\',\n						settled = \'1\'\n						WHERE id = \'33275\''),('2019-08-31 11:02:41','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'322.07\',\n								\'34201\',\n								\'33357\'\n							)'),('2019-08-31 11:02:41','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'322.07\',\n						settled = \'1\'\n						WHERE id = \'33357\''),('2019-08-31 11:02:41','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'279.94\',\n								\'34201\',\n								\'33416\'\n							)'),('2019-08-31 11:02:41','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'279.94\',\n						settled = \'1\'\n						WHERE id = \'33416\''),('2019-08-31 11:02:41','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'225.47\',\n								\'34201\',\n								\'33491\'\n							)'),('2019-08-31 11:02:41','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'225.47\',\n						settled = \'1\'\n						WHERE id = \'33491\''),('2019-08-31 11:02:41','jhairud','UPDATE debtortrans\n				SET alloc = \'-1359.16\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34201\''),('2019-08-31 11:03:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'615\',\n								\'34202\',\n								\'32970\'\n							)'),('2019-08-31 11:03:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'615\',\n						settled = \'1\'\n						WHERE id = \'32970\''),('2019-08-31 11:03:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'424.71\',\n								\'34202\',\n								\'33051\'\n							)'),('2019-08-31 11:03:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'424.71\',\n						settled = \'1\'\n						WHERE id = \'33051\''),('2019-08-31 11:03:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'436.49\',\n								\'34202\',\n								\'33133\'\n							)'),('2019-08-31 11:03:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'436.49\',\n						settled = \'1\'\n						WHERE id = \'33133\''),('2019-08-31 11:03:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'352.08\',\n								\'34202\',\n								\'33163\'\n							)'),('2019-08-31 11:03:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'352.08\',\n						settled = \'1\'\n						WHERE id = \'33163\''),('2019-08-31 11:03:17','jhairud','UPDATE debtortrans\n				SET alloc = \'-1828.28\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34202\''),('2019-08-31 11:04:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'437.96\',\n								\'34203\',\n								\'33545\'\n							)'),('2019-08-31 11:04:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'437.96\',\n						settled = \'1\'\n						WHERE id = \'33545\''),('2019-08-31 11:04:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'463.23\',\n								\'34203\',\n								\'33609\'\n							)'),('2019-08-31 11:04:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'463.23\',\n						settled = \'1\'\n						WHERE id = \'33609\''),('2019-08-31 11:04:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'322.08\',\n								\'34203\',\n								\'33670\'\n							)'),('2019-08-31 11:04:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'483.57\',\n						settled = \'1\'\n						WHERE id = \'33670\''),('2019-08-31 11:04:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'508.7\',\n								\'34203\',\n								\'33726\'\n							)'),('2019-08-31 11:04:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'508.7\',\n						settled = \'1\'\n						WHERE id = \'33726\''),('2019-08-31 11:04:00','jhairud','UPDATE debtortrans\n				SET alloc = \'-1731.97\',\n				diffonexch = \'0\',\n				settled=\'0\'\n				WHERE id = \'34203\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'300.77\',\n								\'34204\',\n								\'33205\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'300.77\',\n						settled = \'0\'\n						WHERE id = \'33205\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'56.89\',\n								\'34204\',\n								\'33236\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'56.89\',\n						settled = \'1\'\n						WHERE id = \'33236\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'330.6\',\n								\'34204\',\n								\'33278\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'330.6\',\n						settled = \'1\'\n						WHERE id = \'33278\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'392.48\',\n								\'34204\',\n								\'33320\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'392.48\',\n						settled = \'1\'\n						WHERE id = \'33320\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'316.14\',\n								\'34204\',\n								\'33383\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'316.14\',\n						settled = \'1\'\n						WHERE id = \'33383\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'444.69\',\n								\'34204\',\n								\'33417\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'444.69\',\n						settled = \'1\'\n						WHERE id = \'33417\''),('2019-08-31 11:06:13','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'347.70\',\n								\'34204\',\n								\'33490\'\n							)'),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'347.7\',\n						settled = \'0\'\n						WHERE id = \'33490\''),('2019-08-31 11:06:13','jhairud','UPDATE debtortrans\n				SET alloc = \'-2189.27\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34204\''),('2019-08-31 11:06:49','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'2.09\',\n								\'34203\',\n								\'14555\'\n							)'),('2019-08-31 11:06:49','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'5209.84\',\n						settled = \'0\'\n						WHERE id = \'14555\''),('2019-08-31 11:06:49','jhairud','DELETE FROM custallocns WHERE id = \'30302\''),('2019-08-31 11:06:49','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'437.96\',\n								\'34203\',\n								\'33545\'\n							)'),('2019-08-31 11:06:49','jhairud','DELETE FROM custallocns WHERE id = \'30303\''),('2019-08-31 11:06:49','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'463.23\',\n								\'34203\',\n								\'33609\'\n							)'),('2019-08-31 11:06:49','jhairud','DELETE FROM custallocns WHERE id = \'30304\''),('2019-08-31 11:06:49','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'322.08\',\n								\'34203\',\n								\'33670\'\n							)'),('2019-08-31 11:06:49','jhairud','DELETE FROM custallocns WHERE id = \'30305\''),('2019-08-31 11:06:49','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-08-31\',\n								\'508.7\',\n								\'34203\',\n								\'33726\'\n							)'),('2019-08-31 11:06:49','jhairud','UPDATE debtortrans\n				SET alloc = \'-1734.06\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34203\''),('2019-09-02 08:51:53','jhairud','UPDATE config\n				SET confvalue=\'2019-09-02\'\n				WHERE confname=\'DB_Maintenance_LastRun\''),('2019-09-02 08:51:53','jhairud','DELETE FROM audittrail\n						WHERE  transactiondate &lt;= \'2019-08-02\''),('2019-09-02 08:51:53','jhairud','UPDATE config SET confvalue = \'2019-09-02\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-02 11:49:11','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27563\',\n								\'TM040\',\n								\'89\',\n								\'\',\n								\'\',\n								\'2019-09-02 11:49\',\n								\'DE\',\n								\'10\',\n								\'Fair Privce Supermarket\',\n								\'Naqara \',\n								\'Taveuni\',\n								\'\',\n								\'\',\n								\'\',\n								\'Fiji\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-02 11:49:11','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27563\',\n					\'LN\',\n					\'12.84\',\n					\'80.19\',\n					\'0\',\n					\'19, 22.52, 20.28, 18.39\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:49:11','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27563\',\n					\'LCPS\',\n					\'14.22\',\n					\'80.12\',\n					\'0\',\n					\'21.68/17.84/19.40/21.20\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:49:28','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27060\')\n			WHERE orderno= \'27563\''),('2019-09-02 11:49:28','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27060\',\n									10,\n									\'TM040\',\n									\'89\',\n									\'2019-09-03\',\n									\'2019-09-02 11-49-28\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27563\',\n									\'2168.95\',\n									\'195.21\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-02 11:49:28','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34205\',\n									\'1\',\n									\'195.20514\')'),('2019-09-02 11:49:28','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80.19,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27563\'\n							AND orderlineno = \'0\''),('2019-09-02 11:49:28','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 80.19\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-02 11:49:28','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LN\',\n														10,\n														\'27060\',\n														\'AN\',\n														\'2019-09-03\',\n														\'TM040\',\n														\'89\',\n														\'12.84\',\n														\'94\',\n														\'27563\',\n														\'-80.19\',\n														\'0\',\n														\'0.0000\',\n														\'-259694.05\',\n														\'19, 22.52, 20.28, 18.39\' )'),('2019-09-02 11:49:28','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56844\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:49:28','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1029.64\',\n										\'0\',\n										\'TM040\',\n										\'89\',\n										\'80.19\',\n										\'0\',\n										\'LN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LN\'\n								AND custbranch.debtorno = \'TM040\'\n								AND custbranch.branchcode=\'89\''),('2019-09-02 11:49:28','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27060\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'TM040 - LN x 80.19 @ 12.84\',\n											\'-1029.64\')'),('2019-09-02 11:49:28','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80.12,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27563\'\n							AND orderlineno = \'1\''),('2019-09-02 11:49:28','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 80.12\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-02 11:49:28','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LCPS\',\n														10,\n														\'27060\',\n														\'AN\',\n														\'2019-09-03\',\n														\'TM040\',\n														\'89\',\n														\'14.22\',\n														\'94\',\n														\'27563\',\n														\'-80.12\',\n														\'0\',\n														\'0.0000\',\n														\'-46237.03\',\n														\'21.68/17.84/19.40/21.20\' )'),('2019-09-02 11:49:28','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56845\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:49:28','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1139.31\',\n										\'0\',\n										\'TM040\',\n										\'89\',\n										\'80.12\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'TM040\'\n								AND custbranch.branchcode=\'89\''),('2019-09-02 11:49:28','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27060\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'TM040 - LCPS x 80.12 @ 14.22\',\n											\'-1139.31\')'),('2019-09-02 11:49:28','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27060\',\n										\'2019-09-03\',\n										\'94\',\n										\'1100\',\n										\'TM040\',\n										\'2364.16\')'),('2019-09-02 11:49:28','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27060\',\n											\'2019-09-03\',\n											\'94\',\n											\'2300\',\n											\'TM040\',\n											\'-195.21\')'),('2019-09-02 11:52:02','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27564\',\n								\'72\',\n								\'S090\',\n								\'\',\n								\'\',\n								\'2019-09-02 11:52\',\n								\'DE\',\n								\'10\',\n								\'SATISH FOOD MART\',\n								\'TAVEUNI\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-02 11:52:02','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27564\',\n					\'LF\',\n					\'18.81\',\n					\'42.94\',\n					\'0\',\n					\'23.4/19.54\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:52:02','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27564\',\n					\'LN\',\n					\'12.84\',\n					\'41.1\',\n					\'0\',\n					\'18.95/22.15\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:52:12','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27061\')\n			WHERE orderno= \'27564\''),('2019-09-02 11:52:12','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27061\',\n									10,\n									\'72\',\n									\'S090\',\n									\'2019-09-03\',\n									\'2019-09-02 11-52-12\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27564\',\n									\'1335.43\',\n									\'120.19\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-02 11:52:12','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34206\',\n									\'1\',\n									\'120.188286\')'),('2019-09-02 11:52:12','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 42.94,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27564\'\n							AND orderlineno = \'0\''),('2019-09-02 11:52:12','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 42.94\n						WHERE locstock.stockid = \'LF\'\n						AND loccode = \'AN\''),('2019-09-02 11:52:12','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LF\',\n														10,\n														\'27061\',\n														\'AN\',\n														\'2019-09-03\',\n														\'72\',\n														\'S090\',\n														\'18.81\',\n														\'94\',\n														\'27564\',\n														\'-42.94\',\n														\'0\',\n														\'0.0000\',\n														\'-540124.43\',\n														\'23.4/19.54\' )'),('2019-09-02 11:52:12','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56846\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:52:12','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'807.7\',\n										\'0\',\n										\'72\',\n										\'S090\',\n										\'42.94\',\n										\'0\',\n										\'LF\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LF\'\n								AND custbranch.debtorno = \'72\'\n								AND custbranch.branchcode=\'S090\''),('2019-09-02 11:52:12','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27061\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'72 - LF x 42.94 @ 18.81\',\n											\'-807.7\')'),('2019-09-02 11:52:12','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 41.1,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27564\'\n							AND orderlineno = \'1\''),('2019-09-02 11:52:12','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 41.1\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-02 11:52:12','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LN\',\n														10,\n														\'27061\',\n														\'AN\',\n														\'2019-09-03\',\n														\'72\',\n														\'S090\',\n														\'12.84\',\n														\'94\',\n														\'27564\',\n														\'-41.1\',\n														\'0\',\n														\'0.0000\',\n														\'-259735.15\',\n														\'18.95/22.15\' )'),('2019-09-02 11:52:12','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56847\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:52:12','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'527.72\',\n										\'0\',\n										\'72\',\n										\'S090\',\n										\'41.1\',\n										\'0\',\n										\'LN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LN\'\n								AND custbranch.debtorno = \'72\'\n								AND custbranch.branchcode=\'S090\''),('2019-09-02 11:52:12','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27061\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'72 - LN x 41.1 @ 12.84\',\n											\'-527.72\')'),('2019-09-02 11:52:12','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27061\',\n										\'2019-09-03\',\n										\'94\',\n										\'1100\',\n										\'72\',\n										\'1455.62\')'),('2019-09-02 11:52:12','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27061\',\n											\'2019-09-03\',\n											\'94\',\n											\'2300\',\n											\'72\',\n											\'-120.19\')'),('2019-09-02 11:52:12','jhairud','UPDATE gltrans SET amount = amount - 0.009999999999820375\n								WHERE counterindex = \'122539\''),('2019-09-02 11:58:24','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27565\',\n								\'8\',\n								\'8\',\n								\'PO-0850\',\n								\'PO-0850\',\n								\'2019-09-02 11:58\',\n								\'DE\',\n								\'10\',\n								\'QAMEA RESORT\',\n								\'P O BOX M7 WAIYEVO TAVEUNI\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-02 11:58:24','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27565\',\n					\'FR\',\n					\'67\',\n					\'9.6\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:58:24','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27565\',\n					\'BLADE\',\n					\'12.00\',\n					\'10.5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:58:24','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27565\',\n					\'LSP\',\n					\'9\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 11:58:48','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27062\')\n			WHERE orderno= \'27565\''),('2019-09-02 11:58:48','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27062\',\n									10,\n									\'8\',\n									\'8\',\n									\'2019-09-03\',\n									\'2019-09-02 11-58-48\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27565\',\n									\'814.2\',\n									\'73.28\',\n									\'0\',\n									\'1\',\n									\'PO-0850\',\n									\'10\',\n									\'PO-0850\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-02 11:58:48','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34207\',\n									\'1\',\n									\'73.278\')'),('2019-09-02 11:58:48','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 9.6,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27565\'\n							AND orderlineno = \'0\''),('2019-09-02 11:58:48','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 9.6\n						WHERE locstock.stockid = \'FR\'\n						AND loccode = \'AN\''),('2019-09-02 11:58:48','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FR\',\n														10,\n														\'27062\',\n														\'AN\',\n														\'2019-09-03\',\n														\'8\',\n														\'8\',\n														\'67\',\n														\'94\',\n														\'27565\',\n														\'-9.6\',\n														\'0\',\n														\'0.0000\',\n														\'-7772.49\',\n														\'\' )'),('2019-09-02 11:58:48','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56848\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:58:48','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'643.2\',\n										\'0\',\n										\'8\',\n										\'8\',\n										\'9.6\',\n										\'0\',\n										\'FR\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FR\'\n								AND custbranch.debtorno = \'8\'\n								AND custbranch.branchcode=\'8\''),('2019-09-02 11:58:48','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27062\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'8 - FR x 9.6 @ 67\',\n											\'-643.2\')'),('2019-09-02 11:58:48','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10.5,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27565\'\n							AND orderlineno = \'1\''),('2019-09-02 11:58:48','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10.5\n						WHERE locstock.stockid = \'BLADE\'\n						AND loccode = \'AN\''),('2019-09-02 11:58:48','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BLADE\',\n														10,\n														\'27062\',\n														\'AN\',\n														\'2019-09-03\',\n														\'8\',\n														\'8\',\n														\'12\',\n														\'94\',\n														\'27565\',\n														\'-10.5\',\n														\'0\',\n														\'0.0000\',\n														\'-546.2\',\n														\'\' )'),('2019-09-02 11:58:48','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56849\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:58:48','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'126\',\n										\'0\',\n										\'8\',\n										\'8\',\n										\'10.5\',\n										\'0\',\n										\'BLADE\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BLADE\'\n								AND custbranch.debtorno = \'8\'\n								AND custbranch.branchcode=\'8\''),('2019-09-02 11:58:48','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27062\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'8 - BLADE x 10.5 @ 12\',\n											\'-126\')'),('2019-09-02 11:58:48','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27565\'\n							AND orderlineno = \'2\''),('2019-09-02 11:58:48','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'LSP\'\n						AND loccode = \'AN\''),('2019-09-02 11:58:48','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LSP\',\n														10,\n														\'27062\',\n														\'AN\',\n														\'2019-09-03\',\n														\'8\',\n														\'8\',\n														\'9\',\n														\'94\',\n														\'27565\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-39821.34\',\n														\'\' )'),('2019-09-02 11:58:48','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56850\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 11:58:48','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'45\',\n										\'0\',\n										\'8\',\n										\'8\',\n										\'5\',\n										\'0\',\n										\'LSP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LSP\'\n								AND custbranch.debtorno = \'8\'\n								AND custbranch.branchcode=\'8\''),('2019-09-02 11:58:48','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27062\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'8 - LSP x 5 @ 9\',\n											\'-45\')'),('2019-09-02 11:58:48','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27062\',\n										\'2019-09-03\',\n										\'94\',\n										\'1100\',\n										\'8\',\n										\'887.48\')'),('2019-09-02 11:58:48','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27062\',\n											\'2019-09-03\',\n											\'94\',\n											\'2300\',\n											\'8\',\n											\'-73.28\')'),('2019-09-02 12:05:43','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27566\',\n								\'94\',\n								\'99\',\n								\'PO198902\',\n								\'\',\n								\'2019-09-02 12:05\',\n								\'DE\',\n								\'1\',\n								\'University of The South Pacific\',\n								\'Laucala Campus\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-02 12:05:43','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27566\',\n					\'RE\',\n					\'28.00\',\n					\'6.6\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 12:05:43','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27566\',\n					\'CHICKEN\',\n					\'12.40\',\n					\'13.2\',\n					\'0\',\n					\'11 x #12\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 12:05:43','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27566\',\n					\'LM\',\n					\'16.00\',\n					\'6\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 12:06:27','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27063\')\n			WHERE orderno= \'27566\''),('2019-09-02 12:06:27','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27063\',\n									10,\n									\'94\',\n									\'99\',\n									\'2019-09-03\',\n									\'2019-09-02 12-06-27\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27566\',\n									\'444.48\',\n									\'40\',\n									\'0\',\n									\'1\',\n									\'PO198902\',\n									\'1\',\n									\'PO198902\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-02 12:06:27','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34208\',\n									\'1\',\n									\'40.0032\')'),('2019-09-02 12:06:27','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6.6,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27566\'\n							AND orderlineno = \'0\''),('2019-09-02 12:06:27','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 6.6\n						WHERE locstock.stockid = \'RE\'\n						AND loccode = \'AN\''),('2019-09-02 12:06:27','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'RE\',\n														10,\n														\'27063\',\n														\'AN\',\n														\'2019-09-03\',\n														\'94\',\n														\'99\',\n														\'28\',\n														\'94\',\n														\'27566\',\n														\'-6.6\',\n														\'0\',\n														\'0.0000\',\n														\'-14315.21\',\n														\'\' )'),('2019-09-02 12:06:27','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56851\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 12:06:27','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'184.8\',\n										\'0\',\n										\'94\',\n										\'99\',\n										\'6.6\',\n										\'0\',\n										\'RE\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'RE\'\n								AND custbranch.debtorno = \'94\'\n								AND custbranch.branchcode=\'99\''),('2019-09-02 12:06:27','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27063\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'94 - RE x 6.6 @ 28\',\n											\'-184.8\')'),('2019-09-02 12:06:27','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 13.2,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27566\'\n							AND orderlineno = \'1\''),('2019-09-02 12:06:27','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 13.2\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-02 12:06:27','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27063\',\n														\'AN\',\n														\'2019-09-03\',\n														\'94\',\n														\'99\',\n														\'12.4\',\n														\'94\',\n														\'27566\',\n														\'-13.2\',\n														\'0\',\n														\'0.0000\',\n														\'-87615.42\',\n														\'11 x #12\' )'),('2019-09-02 12:06:27','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56852\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 12:06:27','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'163.68\',\n										\'0\',\n										\'94\',\n										\'99\',\n										\'13.2\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'94\'\n								AND custbranch.branchcode=\'99\''),('2019-09-02 12:06:27','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27063\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'94 - CHICKEN x 13.2 @ 12.4\',\n											\'-163.68\')'),('2019-09-02 12:06:27','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27566\'\n							AND orderlineno = \'2\''),('2019-09-02 12:06:27','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 6\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-02 12:06:27','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LM\',\n														10,\n														\'27063\',\n														\'AN\',\n														\'2019-09-03\',\n														\'94\',\n														\'99\',\n														\'16\',\n														\'94\',\n														\'27566\',\n														\'-6\',\n														\'0\',\n														\'0.0000\',\n														\'-32229.78\',\n														\'\' )'),('2019-09-02 12:06:27','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56853\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 12:06:27','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'96\',\n										\'0\',\n										\'94\',\n										\'99\',\n										\'6\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'94\'\n								AND custbranch.branchcode=\'99\''),('2019-09-02 12:06:27','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27063\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'94 - LM x 6 @ 16\',\n											\'-96\')'),('2019-09-02 12:06:27','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27063\',\n										\'2019-09-03\',\n										\'94\',\n										\'1100\',\n										\'94\',\n										\'484.48\')'),('2019-09-02 12:06:27','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27063\',\n											\'2019-09-03\',\n											\'94\',\n											\'2300\',\n											\'94\',\n											\'-40\')'),('2019-09-02 12:36:02','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27567\',\n								\'133\',\n								\'133\',\n								\'\',\n								\'\',\n								\'2019-09-02 12:36\',\n								\'DE\',\n								\'1\',\n								\'YUM YUM LTD \',\n								\'Bure 3 Kundan Complex, 198-200 Prncs Rd \',\n								\'Tamavua\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'3380500\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-02 12:36:02','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27567\',\n					\'LCPS\',\n					\'15.13\',\n					\'20.3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 12:36:02','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27567\',\n					\'FISH\',\n					\'12.50\',\n					\'10.2\',\n					\'0\',\n					\'WAHOO CHUNKS\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 12:36:25','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27064\')\n			WHERE orderno= \'27567\''),('2019-09-02 12:36:25','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27064\',\n									10,\n									\'133\',\n									\'133\',\n									\'2019-09-03\',\n									\'2019-09-02 12-36-25\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27567\',\n									\'434.64\',\n									\'39.12\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-02 12:36:25','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34209\',\n									\'1\',\n									\'39.11751\')'),('2019-09-02 12:36:25','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20.3,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27567\'\n							AND orderlineno = \'0\''),('2019-09-02 12:36:25','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20.3\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-02 12:36:25','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LCPS\',\n														10,\n														\'27064\',\n														\'AN\',\n														\'2019-09-03\',\n														\'133\',\n														\'133\',\n														\'15.13\',\n														\'94\',\n														\'27567\',\n														\'-20.3\',\n														\'0\',\n														\'0.0000\',\n														\'-46257.33\',\n														\'\' )'),('2019-09-02 12:36:25','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56854\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 12:36:25','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'307.14\',\n										\'0\',\n										\'133\',\n										\'133\',\n										\'20.3\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'133\'\n								AND custbranch.branchcode=\'133\''),('2019-09-02 12:36:25','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27064\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'133 - LCPS x 20.3 @ 15.13\',\n											\'-307.14\')'),('2019-09-02 12:36:25','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10.2,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27567\'\n							AND orderlineno = \'1\''),('2019-09-02 12:36:25','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10.2\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-02 12:36:25','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FISH\',\n														10,\n														\'27064\',\n														\'AN\',\n														\'2019-09-03\',\n														\'133\',\n														\'133\',\n														\'12.5\',\n														\'94\',\n														\'27567\',\n														\'-10.2\',\n														\'0\',\n														\'0.0000\',\n														\'-45344.0701\',\n														\'WAHOO CHUNKS\' )'),('2019-09-02 12:36:25','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56855\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 12:36:25','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'127.5\',\n										\'0\',\n										\'133\',\n										\'133\',\n										\'10.2\',\n										\'0\',\n										\'FISH\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FISH\'\n								AND custbranch.debtorno = \'133\'\n								AND custbranch.branchcode=\'133\''),('2019-09-02 12:36:25','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27064\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'133 - FISH x 10.2 @ 12.5\',\n											\'-127.5\')'),('2019-09-02 12:36:25','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27064\',\n										\'2019-09-03\',\n										\'94\',\n										\'1100\',\n										\'133\',\n										\'473.76\')'),('2019-09-02 12:36:25','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27064\',\n											\'2019-09-03\',\n											\'94\',\n											\'2300\',\n											\'133\',\n											\'-39.12\')'),('2019-09-02 13:34:05','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27568\',\n								\'TM087\',\n								\'S051\',\n								\'12371\',\n								\'12371\',\n								\'2019-09-02 13:34\',\n								\'DE\',\n								\'10\',\n								\'SUVA MOTOR INN\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'2019-09-03\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-02 13:34:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27568\',\n					\'RS\',\n					\'16.35\',\n					\'23.55\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 13:34:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27568\',\n					\'WAHOO\',\n					\'22.00\',\n					\'31.25\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 13:34:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27568\',\n					\'CHICKEN\',\n					\'15.00\',\n					\'20\',\n					\'0\',\n					\'SUPREME\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 13:34:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27568\',\n					\'BM500G\',\n					\'10.00\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-02\'\n				)'),('2019-09-02 13:34:40','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27065\')\n			WHERE orderno= \'27568\''),('2019-09-02 13:34:40','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27065\',\n									10,\n									\'TM087\',\n									\'S051\',\n									\'2019-09-03\',\n									\'2019-09-02 13-34-40\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27568\',\n									\'1422.54\',\n									\'88.88\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34210\',\n									\'1\',\n									\'88.875\')'),('2019-09-02 13:34:40','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 23.55,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27568\'\n							AND orderlineno = \'0\''),('2019-09-02 13:34:40','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 23.55\n						WHERE locstock.stockid = \'RS\'\n						AND loccode = \'AN\''),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'RS\',\n														10,\n														\'27065\',\n														\'AN\',\n														\'2019-09-03\',\n														\'TM087\',\n														\'S051\',\n														\'16.35\',\n														\'94\',\n														\'27568\',\n														\'-23.55\',\n														\'0\',\n														\'0.0000\',\n														\'-20008.54\',\n														\'\' )'),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56856\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'385.04\',\n										\'0\',\n										\'TM087\',\n										\'S051\',\n										\'23.55\',\n										\'0\',\n										\'RS\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'RS\'\n								AND custbranch.debtorno = \'TM087\'\n								AND custbranch.branchcode=\'S051\''),('2019-09-02 13:34:40','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27065\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'TM087 - RS x 23.55 @ 16.35\',\n											\'-385.04\')'),('2019-09-02 13:34:40','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 31.25,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27568\'\n							AND orderlineno = \'1\''),('2019-09-02 13:34:40','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 31.25\n						WHERE locstock.stockid = \'WAHOO\'\n						AND loccode = \'AN\''),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'WAHOO\',\n														10,\n														\'27065\',\n														\'AN\',\n														\'2019-09-03\',\n														\'TM087\',\n														\'S051\',\n														\'22\',\n														\'94\',\n														\'27568\',\n														\'-31.25\',\n														\'0\',\n														\'0.0000\',\n														\'-52326.65\',\n														\'\' )'),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56857\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'687.5\',\n										\'0\',\n										\'TM087\',\n										\'S051\',\n										\'31.25\',\n										\'0\',\n										\'WAHOO\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'WAHOO\'\n								AND custbranch.debtorno = \'TM087\'\n								AND custbranch.branchcode=\'S051\''),('2019-09-02 13:34:40','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27065\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'TM087 - WAHOO x 31.25 @ 22\',\n											\'-687.5\')'),('2019-09-02 13:34:40','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27568\'\n							AND orderlineno = \'2\''),('2019-09-02 13:34:40','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27065\',\n														\'AN\',\n														\'2019-09-03\',\n														\'TM087\',\n														\'S051\',\n														\'15\',\n														\'94\',\n														\'27568\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-87635.42\',\n														\'SUPREME\' )'),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56858\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'300\',\n										\'0\',\n										\'TM087\',\n										\'S051\',\n										\'20\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM087\'\n								AND custbranch.branchcode=\'S051\''),('2019-09-02 13:34:40','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27065\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'TM087 - CHICKEN x 20 @ 15\',\n											\'-300\')'),('2019-09-02 13:34:40','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-03\',\n								completed=1\n							WHERE orderno = \'27568\'\n							AND orderlineno = \'3\''),('2019-09-02 13:34:40','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27065\',\n														\'AN\',\n														\'2019-09-03\',\n														\'TM087\',\n														\'S051\',\n														\'10\',\n														\'94\',\n														\'27568\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-71730.11\',\n														\'\' )'),('2019-09-02 13:34:40','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56859\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'50\',\n										\'0\',\n										\'TM087\',\n										\'S051\',\n										\'5\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM087\'\n								AND custbranch.branchcode=\'S051\''),('2019-09-02 13:34:40','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27065\',\n											\'2019-09-03\',\n											\'94\',\n											\'4100\',\n											\'TM087 - BM500G x 5 @ 10\',\n											\'-50\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27065\',\n										\'2019-09-03\',\n										\'94\',\n										\'1100\',\n										\'TM087\',\n										\'1511.42\')'),('2019-09-02 13:34:40','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27065\',\n											\'2019-09-03\',\n											\'94\',\n											\'2300\',\n											\'TM087\',\n											\'-88.88\')'),('2019-09-02 13:34:40','jhairud','UPDATE gltrans SET amount = amount - 0.00000000000011368683772161603\n								WHERE counterindex = \'122557\''),('2019-09-03 08:49:54','jhairud','UPDATE config SET confvalue = \'2019-09-03\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-03 09:11:34','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4718\',\n						12,\n						\'72\',\n						\'\',\n						\'2019-09-03\',\n						\'2019-09-03 09-11-34\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-2265.04\',\n						\'0\',\n						\'DCR - 28-08-2019\'\n					)'),('2019-09-03 09:11:34','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-03\',\n						lastpaid=\'2265.04\'\n					WHERE debtorsmaster.debtorno=\'72\''),('2019-09-03 09:11:34','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4718\',\n			\'1100\',\n			\'DCR - 28-08-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-03\',\n			\'Direct Credit\',\n			\'2265.04\',\n			\'FJD\'\n		)'),('2019-09-03 09:11:34','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4718\',\n					\'2019-09-03\',\n					\'94\',\n					\'1100\',\n					\'DCR - 28-08-2019\',\n					\'2265.04\'\n				)'),('2019-09-03 09:11:34','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4718\',\n							\'2019-09-03\',\n							\'94\',\n							\'1100\',\n							\'DCR - 28-08-2019\',\n							\'-2265.04\'\n							)'),('2019-09-03 09:12:39','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4719\',\n						12,\n						\'8\',\n						\'\',\n						\'2019-09-03\',\n						\'2019-09-03 09-12-39\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-924.75\',\n						\'0\',\n						\'DCR - 30/08/2019\'\n					)'),('2019-09-03 09:12:39','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-03\',\n						lastpaid=\'924.75\'\n					WHERE debtorsmaster.debtorno=\'8\''),('2019-09-03 09:12:39','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4719\',\n			\'1100\',\n			\'DCR - 30/08/2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-03\',\n			\'Direct Credit\',\n			\'924.75\',\n			\'FJD\'\n		)'),('2019-09-03 09:12:39','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4719\',\n					\'2019-09-03\',\n					\'94\',\n					\'1100\',\n					\'DCR - 30/08/2019\',\n					\'924.75\'\n				)'),('2019-09-03 09:12:39','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4719\',\n							\'2019-09-03\',\n							\'94\',\n							\'1100\',\n							\'DCR - 30/08/2019\',\n							\'-924.75\'\n							)'),('2019-09-03 09:13:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-03\',\n								\'671.33\',\n								\'34212\',\n								\'34023\'\n							)'),('2019-09-03 09:13:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'671.33\',\n						settled = \'1\'\n						WHERE id = \'34023\''),('2019-09-03 09:13:17','jhairud','UPDATE debtortrans\n				SET alloc = \'-671.33\',\n				diffonexch = \'0\',\n				settled=\'0\'\n				WHERE id = \'34212\''),('2019-09-03 09:13:32','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-03\',\n								\'2265.04\',\n								\'34211\',\n								\'33663\'\n							)'),('2019-09-03 09:13:32','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'2265.04\',\n						settled = \'1\'\n						WHERE id = \'33663\''),('2019-09-03 09:13:33','jhairud','UPDATE debtortrans\n				SET alloc = \'-2265.04\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34211\''),('2019-09-03 10:38:05','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27569\',\n								\'TM002\',\n								\'1\',\n								\'18786\',\n								\'\',\n								\'2019-09-03 10:38\',\n								\'DE\',\n								\'10\',\n								\'Vatuvara Limited\',\n								\'P O Box 586\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 10:38:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27569\',\n					\'C001\',\n					\'8.00\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:38:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27569\',\n					\'CHICKEN\',\n					\'8.50\',\n					\'30\',\n					\'0\',\n					\'Wings\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:38:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27569\',\n					\'LCPS\',\n					\'16.00\',\n					\'30\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:38:05','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27569\',\n					\'BM500G\',\n					\'8.50\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:38:47','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27066\')\n			WHERE orderno= \'27569\''),('2019-09-03 10:38:47','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27066\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-04\',\n									\'2019-09-03 10-38-47\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27569\',\n									\'900\',\n									\'73.35\',\n									\'0\',\n									\'1\',\n									\'18786\',\n									\'10\',\n									\'18786\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34213\',\n									\'1\',\n									\'73.35\')'),('2019-09-03 10:38:47','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27569\'\n							AND orderlineno = \'0\''),('2019-09-03 10:38:47','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'C001\',\n														10,\n														\'27066\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'8\',\n														\'94\',\n														\'27569\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-4395.4\',\n														\'\' )'),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56860\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'80\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'10\',\n										\'0\',\n										\'C001\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'C001\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:38:47','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27066\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - C001 x 10 @ 8\',\n											\'-80\')'),('2019-09-03 10:38:47','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27569\'\n							AND orderlineno = \'1\''),('2019-09-03 10:38:47','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27066\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27569\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-87665.42\',\n														\'Wings\' )'),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56861\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'255\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'30\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:38:47','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27066\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - CHICKEN x 30 @ 8.5\',\n											\'-255\')'),('2019-09-03 10:38:47','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27569\'\n							AND orderlineno = \'2\''),('2019-09-03 10:38:47','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LCPS\',\n														10,\n														\'27066\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'16\',\n														\'94\',\n														\'27569\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-46287.33\',\n														\'\' )'),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56862\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'480\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'30\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:38:47','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27066\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - LCPS x 30 @ 16\',\n											\'-480\')'),('2019-09-03 10:38:47','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27569\'\n							AND orderlineno = \'3\''),('2019-09-03 10:38:47','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27066\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27569\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-71740.11\',\n														\'\' )'),('2019-09-03 10:38:47','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56863\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'85\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'10\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:38:47','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27066\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - BM500G x 10 @ 8.5\',\n											\'-85\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27066\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'973.35\')'),('2019-09-03 10:38:47','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27066\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-73.35\')'),('2019-09-03 10:38:47','jhairud','UPDATE gltrans SET amount = amount - 0.00000000000002842170943040401\n								WHERE counterindex = \'122567\''),('2019-09-03 10:45:53','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27570\',\n								\'TM002\',\n								\'1\',\n								\'18775\',\n								\'18775\',\n								\'2019-09-03 10:45\',\n								\'DE\',\n								\'10\',\n								\'Vatuvara Limited\',\n								\'P O Box 586\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 10:45:53','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27570\',\n					\'BM500G\',\n					\'8.50\',\n					\'16\',\n					\'0\',\n					\'bulumakau\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:45:53','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27570\',\n					\'CHICKEN\',\n					\'8.71\',\n					\'20\',\n					\'0\',\n					\'Drum stick\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:45:53','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27570\',\n					\'FISH\',\n					\'9.50\',\n					\'30\',\n					\'0\',\n					\'ogo\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:46:21','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27067\')\n			WHERE orderno= \'27570\''),('2019-09-03 10:46:21','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27067\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-04\',\n									\'2019-09-03 10-46-21\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27570\',\n									\'595.2\',\n									\'15.68\',\n									\'0\',\n									\'1\',\n									\'18775\',\n									\'10\',\n									\'18775\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 10:46:21','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34214\',\n									\'1\',\n									\'15.678\')'),('2019-09-03 10:46:21','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 16,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27570\'\n							AND orderlineno = \'0\''),('2019-09-03 10:46:21','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 16\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-03 10:46:21','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27067\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27570\',\n														\'-16\',\n														\'0\',\n														\'0.0000\',\n														\'-71756.11\',\n														\'bulumakau\' )'),('2019-09-03 10:46:21','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56864\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:46:21','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'136\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'16\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:46:21','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27067\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - BM500G x 16 @ 8.5\',\n											\'-136\')'),('2019-09-03 10:46:21','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27570\'\n							AND orderlineno = \'1\''),('2019-09-03 10:46:21','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-03 10:46:21','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27067\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'8.71\',\n														\'94\',\n														\'27570\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-87685.42\',\n														\'Drum stick\' )'),('2019-09-03 10:46:21','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56865\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:46:21','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'174.2\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'20\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:46:21','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27067\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - CHICKEN x 20 @ 8.71\',\n											\'-174.2\')'),('2019-09-03 10:46:21','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27570\'\n							AND orderlineno = \'2\''),('2019-09-03 10:46:21','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-03 10:46:21','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FISH\',\n														10,\n														\'27067\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM002\',\n														\'1\',\n														\'9.5\',\n														\'94\',\n														\'27570\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-45374.0701\',\n														\'ogo\' )'),('2019-09-03 10:46:21','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56866\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:46:21','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'285\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'30\',\n										\'0\',\n										\'FISH\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FISH\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-03 10:46:21','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27067\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM002 - FISH x 30 @ 9.5\',\n											\'-285\')'),('2019-09-03 10:46:21','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27067\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'610.88\')'),('2019-09-03 10:46:21','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27067\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-15.68\')'),('2019-09-03 10:46:21','jhairud','UPDATE gltrans SET amount = amount - -0.00000000000004973799150320701\n								WHERE counterindex = \'122573\''),('2019-09-03 10:48:18','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27571\',\n								\'TM044\',\n								\'C008\',\n								\'\',\n								\'\',\n								\'2019-09-03 10:48\',\n								\'DE\',\n								\'10\',\n								\'CURRY HOUSE\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 10:48:18','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27571\',\n					\'CP\',\n					\'18.81\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 10:48:28','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27068\')\n			WHERE orderno= \'27571\''),('2019-09-03 10:48:28','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27068\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-04\',\n									\'2019-09-03 10-48-28\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27571\',\n									\'752.4\',\n									\'67.72\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 10:48:28','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34215\',\n									\'1\',\n									\'67.716\')'),('2019-09-03 10:48:28','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27571\'\n							AND orderlineno = \'0\''),('2019-09-03 10:48:28','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-03 10:48:28','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27068\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM044\',\n														\'C008\',\n														\'18.81\',\n														\'94\',\n														\'27571\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-306643.65\',\n														\'\' )'),('2019-09-03 10:48:28','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56867\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 10:48:28','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'752.4\',\n										\'0\',\n										\'TM044\',\n										\'C008\',\n										\'40\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-03 10:48:28','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27068\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CP x 40 @ 18.81\',\n											\'-752.4\')'),('2019-09-03 10:48:28','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27068\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'820.12\')'),('2019-09-03 10:48:28','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27068\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-67.72\')'),('2019-09-03 12:37:22','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27572\',\n								\'TM092\',\n								\'T031\',\n								\'448245\',\n								\'448245\\\\r\\\\nMADRAS MASALA\\\\r\\\\nTappoo City\',\n								\'2019-09-03 12:37\',\n								\'DE\',\n								\'10\',\n								\'TAPPOOS LTD\',\n								\'MADRAS MASALA\',\n								\'Tappoo City\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 12:37:22','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27572\',\n					\'LPP\',\n					\'18.35\',\n					\'30\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 12:37:22','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27572\',\n					\'FISH\',\n					\'12.00\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 12:37:45','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27069\')\n			WHERE orderno= \'27572\''),('2019-09-03 12:37:45','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27069\',\n									10,\n									\'TM092\',\n									\'T031\',\n									\'2019-09-04\',\n									\'2019-09-03 12-37-45\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27572\',\n									\'670.5\',\n									\'49.55\',\n									\'0\',\n									\'1\',\n									\'448245\\r\\nMADRAS MASALA\\r\\nTappoo City\',\n									\'10\',\n									\'448245 MADRAS M\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 12:37:45','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34216\',\n									\'1\',\n									\'49.545\')'),('2019-09-03 12:37:45','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27572\'\n							AND orderlineno = \'0\''),('2019-09-03 12:37:45','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'LPP\'\n						AND loccode = \'AN\''),('2019-09-03 12:37:45','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LPP\',\n														10,\n														\'27069\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM092\',\n														\'T031\',\n														\'18.35\',\n														\'94\',\n														\'27572\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-58623.52\',\n														\'\' )'),('2019-09-03 12:37:45','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56868\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 12:37:45','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'550.5\',\n										\'0\',\n										\'TM092\',\n										\'T031\',\n										\'30\',\n										\'0\',\n										\'LPP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LPP\'\n								AND custbranch.debtorno = \'TM092\'\n								AND custbranch.branchcode=\'T031\''),('2019-09-03 12:37:45','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27069\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM092 - LPP x 30 @ 18.35\',\n											\'-550.5\')'),('2019-09-03 12:37:45','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27572\'\n							AND orderlineno = \'1\''),('2019-09-03 12:37:45','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-03 12:37:45','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FISH\',\n														10,\n														\'27069\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM092\',\n														\'T031\',\n														\'12\',\n														\'94\',\n														\'27572\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-45384.0701\',\n														\'\' )'),('2019-09-03 12:37:45','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56869\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-03 12:37:45','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'120\',\n										\'0\',\n										\'TM092\',\n										\'T031\',\n										\'10\',\n										\'0\',\n										\'FISH\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FISH\'\n								AND custbranch.debtorno = \'TM092\'\n								AND custbranch.branchcode=\'T031\''),('2019-09-03 12:37:45','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27069\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM092 - FISH x 10 @ 12\',\n											\'-120\')'),('2019-09-03 12:37:45','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27069\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM092\',\n										\'720.05\')'),('2019-09-03 12:37:45','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27069\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM092\',\n											\'-49.55\')'),('2019-09-03 12:41:00','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27573\',\n								\'TM092\',\n								\'T031\',\n								\'448301\',\n								\'448301\\\\r\\\\nNew York Pizza Kitchen\\\\r\\\\nTappoo City\',\n								\'2019-09-03 12:41\',\n								\'DE\',\n								\'10\',\n								\'TAPPOOS LTD\',\n								\'New York Pizza Kitchen\',\n								\'Tappoo City\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 12:41:00','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27573\',\n					\'LM\',\n					\'17.43\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 12:41:17','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27070\')\n			WHERE orderno= \'27573\''),('2019-09-03 12:41:17','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27070\',\n									10,\n									\'TM092\',\n									\'T031\',\n									\'2019-09-04\',\n									\'2019-09-03 12-41-17\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27573\',\n									\'871.5\',\n									\'78.44\',\n									\'0\',\n									\'1\',\n									\'448301\\r\\nNew York Pizza Kitchen\\r\\nTappoo City\',\n									\'10\',\n									\'448301 New York\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 12:41:17','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34217\',\n									\'1\',\n									\'78.435\')'),('2019-09-03 12:41:17','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27573\'\n							AND orderlineno = \'0\''),('2019-09-03 12:41:17','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-03 12:41:17','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LM\',\n														10,\n														\'27070\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM092\',\n														\'T031\',\n														\'17.43\',\n														\'94\',\n														\'27573\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-32279.78\',\n														\'\' )'),('2019-09-03 12:41:17','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56870\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 12:41:17','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'871.5\',\n										\'0\',\n										\'TM092\',\n										\'T031\',\n										\'50\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'TM092\'\n								AND custbranch.branchcode=\'T031\''),('2019-09-03 12:41:17','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27070\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM092 - LM x 50 @ 17.43\',\n											\'-871.5\')'),('2019-09-03 12:41:17','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27070\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM092\',\n										\'949.94\')'),('2019-09-03 12:41:17','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27070\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM092\',\n											\'-78.44\')'),('2019-09-03 14:18:07','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27574\',\n								\'TM074\',\n								\'P001\',\n								\'\',\n								\'Pizza King\\\\r\\\\nHarbour Center\\\\r\\\\nSuva\',\n								\'2019-09-03 14:18\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Pizza King\',\n								\'Harbour Center\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 14:18:07','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27574\',\n					\'FF\',\n					\'17.00\',\n					\'30\',\n					\'0\',\n					\'Marlin\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 14:18:24','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27071\')\n			WHERE orderno= \'27574\''),('2019-09-03 14:18:24','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27071\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-04\',\n									\'2019-09-03 14-18-24\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27574\',\n									\'510\',\n									\'45.9\',\n									\'0\',\n									\'1\',\n									\'Pizza King\\r\\nHarbour Center\\r\\nSuva\',\n									\'10\',\n									\'Pizza King Harb\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 14:18:24','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34218\',\n									\'1\',\n									\'45.9\')'),('2019-09-03 14:18:24','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27574\'\n							AND orderlineno = \'0\''),('2019-09-03 14:18:24','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-03 14:18:24','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FF\',\n														10,\n														\'27071\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM074\',\n														\'P001\',\n														\'17\',\n														\'94\',\n														\'27574\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-21186.92\',\n														\'Marlin\' )'),('2019-09-03 14:18:24','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56871\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 14:18:24','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'510\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'30\',\n										\'0\',\n										\'FF\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FF\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-03 14:18:24','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27071\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM074 - FF x 30 @ 17\',\n											\'-510\')'),('2019-09-03 14:18:24','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27071\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'555.9\')'),('2019-09-03 14:18:24','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27071\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-45.9\')'),('2019-09-03 14:21:31','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27575\',\n								\'TM074\',\n								\'P001\',\n								\'\',\n								\'Wishbone\\\\r\\\\nHarbour Center\\\\r\\\\nSuva\',\n								\'2019-09-03 14:21\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Wishbone\',\n								\'Harbour Center\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'2019-09-04\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-03 14:21:31','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27575\',\n					\'CP\',\n					\'18.81\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 14:21:31','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27575\',\n					\'SF500G\',\n					\'16.40\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 14:21:31','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27575\',\n					\'BM500G\',\n					\'9.00\',\n					\'3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-03\'\n				)'),('2019-09-03 14:22:15','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27072\')\n			WHERE orderno= \'27575\''),('2019-09-03 14:22:15','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27072\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-04\',\n									\'2019-09-03 14-22-15\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27575\',\n									\'297.1\',\n									\'16.93\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'Suva\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-03 14:22:15','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34219\',\n									\'1\',\n									\'16.929\')'),('2019-09-03 14:22:15','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27575\'\n							AND orderlineno = \'0\''),('2019-09-03 14:22:15','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-03 14:22:15','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27072\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27575\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-306653.65\',\n														\'\' )'),('2019-09-03 14:22:15','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56872\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-03 14:22:15','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'188.1\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'10\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-03 14:22:15','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27072\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 10 @ 18.81\',\n											\'-188.1\')'),('2019-09-03 14:22:15','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27575\'\n							AND orderlineno = \'1\''),('2019-09-03 14:22:15','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-03 14:22:15','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'SF500G\',\n														10,\n														\'27072\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27575\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-9643.281\',\n														\'\' )'),('2019-09-03 14:22:15','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56873\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-03 14:22:15','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'82\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'5\',\n										\'0\',\n										\'SF500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SF500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-03 14:22:15','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27072\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 5 @ 16.4\',\n											\'-82\')'),('2019-09-03 14:22:15','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-04\',\n								completed=1\n							WHERE orderno = \'27575\'\n							AND orderlineno = \'2\''),('2019-09-03 14:22:15','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-03 14:22:15','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27072\',\n														\'AN\',\n														\'2019-09-04\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27575\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-71759.11\',\n														\'\' )'),('2019-09-03 14:22:15','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56874\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-03 14:22:15','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'27\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-03 14:22:15','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27072\',\n											\'2019-09-04\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 3 @ 9\',\n											\'-27\')'),('2019-09-03 14:22:15','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27072\',\n										\'2019-09-04\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'314.03\')'),('2019-09-03 14:22:15','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27072\',\n											\'2019-09-04\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-16.93\')'),('2019-09-03 14:22:15','jhairud','UPDATE gltrans SET amount = amount - -0.00000000000004973799150320701\n								WHERE counterindex = \'122591\''),('2019-09-04 11:00:31','jhairud','UPDATE config SET confvalue = \'2019-09-04\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-04 11:02:18','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27576\',\n								\'TM051\',\n								\'F021\',\n								\'0159\',\n								\'Pick Up\',\n								\'2019-09-04 11:02\',\n								\'DE\',\n								\'10\',\n								\'FIJI POLICE FORCE OFFICERS MESS\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-04 11:02:18','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27576\',\n					\'CHICKEN\',\n					\'18.34\',\n					\'7\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:02:51','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27073\')\n			WHERE orderno= \'27576\''),('2019-09-04 11:02:51','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27073\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-05\',\n									\'2019-09-04 11-02-51\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27576\',\n									\'128.38\',\n									\'11.55\',\n									\'0\',\n									\'1\',\n									\'Pick Up\',\n									\'10\',\n									\'0159\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-04 11:02:51','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34220\',\n									\'1\',\n									\'11.5542\')'),('2019-09-04 11:02:51','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 7,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27576\'\n							AND orderlineno = \'0\''),('2019-09-04 11:02:51','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 7\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-04 11:02:51','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27073\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM051\',\n														\'F021\',\n														\'18.34\',\n														\'94\',\n														\'27576\',\n														\'-7\',\n														\'0\',\n														\'0.0000\',\n														\'-87692.42\',\n														\'\' )'),('2019-09-04 11:02:51','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56875\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:02:51','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'128.38\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'7\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-04 11:02:51','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27073\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM051 - CHICKEN x 7 @ 18.34\',\n											\'-128.38\')'),('2019-09-04 11:02:51','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27073\',\n										\'2019-09-05\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'139.93\')'),('2019-09-04 11:02:51','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27073\',\n											\'2019-09-05\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-11.55\')'),('2019-09-04 11:07:21','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27577\',\n								\'TM051\',\n								\'F021\',\n								\'0159\',\n								\'0159\',\n								\'2019-09-04 11:07\',\n								\'DE\',\n								\'10\',\n								\'FIJI POLICE FORCE OFFICERS MESS\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-04 11:07:21','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27577\',\n					\'CHICKEN\',\n					\'5.05\',\n					\'3\',\n					\'0\',\n					\'Liver 500g\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:07:43','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27074\')\n			WHERE orderno= \'27577\''),('2019-09-04 11:07:43','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27074\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-05\',\n									\'2019-09-04 11-07-43\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27577\',\n									\'15.15\',\n									\'1.36\',\n									\'0\',\n									\'1\',\n									\'0159\',\n									\'10\',\n									\'0159\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-04 11:07:43','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34221\',\n									\'1\',\n									\'1.3635\')'),('2019-09-04 11:07:43','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27577\'\n							AND orderlineno = \'0\''),('2019-09-04 11:07:43','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-04 11:07:43','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27074\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM051\',\n														\'F021\',\n														\'5.05\',\n														\'94\',\n														\'27577\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-87695.42\',\n														\'Liver 500g\' )'),('2019-09-04 11:07:43','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56876\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:07:43','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'15.15\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'3\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-04 11:07:43','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27074\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM051 - CHICKEN x 3 @ 5.05\',\n											\'-15.15\')'),('2019-09-04 11:07:43','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27074\',\n										\'2019-09-05\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'16.51\')'),('2019-09-04 11:07:43','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27074\',\n											\'2019-09-05\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-1.36\')'),('2019-09-04 11:07:43','jhairud','UPDATE gltrans SET amount = amount - 0.0000000000000011102230246251565\n								WHERE counterindex = \'122599\''),('2019-09-04 11:45:34','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27578\',\n								\'TM074\',\n								\'P001\',\n								\'Pizza King Nakasi\',\n								\'Pizza King Nakasi\',\n								\'2019-09-04 11:45\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Pizza King\',\n								\'Nakasi\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-04 11:45:34','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27578\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:45:34','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27578\',\n					\'MBT\',\n					\'9.50\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:45:34','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27578\',\n					\'SF500G\',\n					\'16.40\',\n					\'8.9\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:45:34','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27578\',\n					\'LSP\',\n					\'9.00\',\n					\'3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:45:56','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27075\')\n			WHERE orderno= \'27578\''),('2019-09-04 11:45:56','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27075\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-05\',\n									\'2019-09-04 11-45-56\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27578\',\n									\'644.16\',\n									\'36.29\',\n									\'0\',\n									\'1\',\n									\'Pizza King Nakasi\',\n									\'10\',\n									\'Pizza King Naka\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34222\',\n									\'1\',\n									\'36.288\')'),('2019-09-04 11:45:56','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27578\'\n							AND orderlineno = \'0\''),('2019-09-04 11:45:56','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27075\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27578\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-306673.65\',\n														\'\' )'),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56877\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'376.2\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:45:56','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27075\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-04 11:45:56','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27578\'\n							AND orderlineno = \'1\''),('2019-09-04 11:45:56','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'MBT\',\n														10,\n														\'27075\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27578\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-7402.6\',\n														\'\' )'),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56878\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'95\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'10\',\n										\'0\',\n										\'MBT\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'MBT\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:45:56','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27075\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 10 @ 9.5\',\n											\'-95\')'),('2019-09-04 11:45:56','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 8.9,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27578\'\n							AND orderlineno = \'2\''),('2019-09-04 11:45:56','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 8.9\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'SF500G\',\n														10,\n														\'27075\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27578\',\n														\'-8.9\',\n														\'0\',\n														\'0.0000\',\n														\'-9652.181\',\n														\'\' )'),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56879\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'145.96\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'8.9\',\n										\'0\',\n										\'SF500G\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SF500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:45:56','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27075\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 8.9 @ 16.4\',\n											\'-145.96\')'),('2019-09-04 11:45:56','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27578\'\n							AND orderlineno = \'3\''),('2019-09-04 11:45:56','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'LSP\'\n						AND loccode = \'AN\''),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LSP\',\n														10,\n														\'27075\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27578\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-39824.34\',\n														\'\' )'),('2019-09-04 11:45:56','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56880\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'27\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3\',\n										\'0\',\n										\'LSP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LSP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:45:56','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27075\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - LSP x 3 @ 9\',\n											\'-27\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27075\',\n										\'2019-09-05\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'680.45\')'),('2019-09-04 11:45:56','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27075\',\n											\'2019-09-05\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-36.29\')'),('2019-09-04 11:45:56','jhairud','UPDATE gltrans SET amount = amount - 0.00000000000007815970093361102\n								WHERE counterindex = \'122602\''),('2019-09-04 11:49:04','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27579\',\n								\'TM074\',\n								\'P001\',\n								\'Pizza King Centre Point\',\n								\'Pizza King Centre Point\',\n								\'2019-09-04 11:49\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Pizza King\',\n								\'Centre Point\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-04 11:49:04','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27579\',\n					\'CP\',\n					\'18.81\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:49:04','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27579\',\n					\'MBT\',\n					\'9.50\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:49:26','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27076\')\n			WHERE orderno= \'27579\''),('2019-09-04 11:49:26','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27076\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-05\',\n									\'2019-09-04 11-49-26\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27579\',\n									\'330.6\',\n									\'16.93\',\n									\'0\',\n									\'1\',\n									\'Pizza King Centre Point\',\n									\'10\',\n									\'Pizza King Cent\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-04 11:49:26','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34223\',\n									\'1\',\n									\'16.929\')'),('2019-09-04 11:49:26','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27579\'\n							AND orderlineno = \'0\''),('2019-09-04 11:49:26','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-04 11:49:26','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27076\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27579\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-306683.65\',\n														\'\' )'),('2019-09-04 11:49:26','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56881\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:49:26','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'188.1\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'10\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:49:26','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27076\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 10 @ 18.81\',\n											\'-188.1\')'),('2019-09-04 11:49:26','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27579\'\n							AND orderlineno = \'1\''),('2019-09-04 11:49:26','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-04 11:49:26','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'MBT\',\n														10,\n														\'27076\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27579\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-7417.6\',\n														\'\' )'),('2019-09-04 11:49:26','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56882\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:49:26','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'142.5\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'15\',\n										\'0\',\n										\'MBT\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'MBT\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:49:26','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27076\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 15 @ 9.5\',\n											\'-142.5\')'),('2019-09-04 11:49:26','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27076\',\n										\'2019-09-05\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'347.53\')'),('2019-09-04 11:49:26','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27076\',\n											\'2019-09-05\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-16.93\')'),('2019-09-04 11:49:26','jhairud','UPDATE gltrans SET amount = amount - -0.00000000000004973799150320701\n								WHERE counterindex = \'122608\''),('2019-09-04 11:52:41','jhairud','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27580\',\n								\'TM074\',\n								\'P001\',\n								\'Pizza King Sports City\',\n								\'Pizza King Sports City\',\n								\'2019-09-04 11:52\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Pizza King\',\n								\' Sports City\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'2019-09-05\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-04 11:52:41','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27580\',\n					\'CP\',\n					\'18.81\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:52:41','jhairud','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27580\',\n					\'MBT\',\n					\'9.50\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-04\'\n				)'),('2019-09-04 11:53:01','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27077\')\n			WHERE orderno= \'27580\''),('2019-09-04 11:53:01','jhairud','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27077\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-05\',\n									\'2019-09-04 11-53-01\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27580\',\n									\'472.15\',\n									\'25.39\',\n									\'0\',\n									\'1\',\n									\'Pizza King Sports City\',\n									\'10\',\n									\'Pizza King Spor\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-04 11:53:01','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34224\',\n									\'1\',\n									\'25.3935\')'),('2019-09-04 11:53:01','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27580\'\n							AND orderlineno = \'0\''),('2019-09-04 11:53:01','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-04 11:53:01','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27077\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27580\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-306698.65\',\n														\'\' )'),('2019-09-04 11:53:01','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56883\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:53:01','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'282.15\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'15\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:53:01','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27077\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 15 @ 18.81\',\n											\'-282.15\')'),('2019-09-04 11:53:01','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-05\',\n								completed=1\n							WHERE orderno = \'27580\'\n							AND orderlineno = \'1\''),('2019-09-04 11:53:01','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-04 11:53:01','jhairud','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'MBT\',\n														10,\n														\'27077\',\n														\'AN\',\n														\'2019-09-05\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27580\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-7437.6\',\n														\'\' )'),('2019-09-04 11:53:01','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56884\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-04 11:53:01','jhairud','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'190\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\n										\'0\',\n										\'MBT\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'MBT\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-04 11:53:01','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27077\',\n											\'2019-09-05\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 20 @ 9.5\',\n											\'-190\')'),('2019-09-04 11:53:01','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27077\',\n										\'2019-09-05\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'497.54\')'),('2019-09-04 11:53:01','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27077\',\n											\'2019-09-05\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-25.39\')'),('2019-09-04 11:53:01','jhairud','UPDATE gltrans SET amount = amount - 0.00000000000004263256414560601\n								WHERE counterindex = \'122612\''),('2019-09-05 08:13:09','zaabed','UPDATE config SET confvalue = \'2019-09-05\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-05 08:18:14','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27581\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031782orsmess\',\n								\'\',\n								\'2019-09-05 08:18\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 08:18:14','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27581\',\n					\'C001\',\n					\'8.26\',\n					\'150\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:18:14','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27581\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:18:14','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27581\',\n					\'CHS\',\n					\'8.26\',\n					\'150\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:18:14','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27581\',\n					\'CP\',\n					\'15.41\',\n					\'160\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:18:14','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'4\',\n					\'27581\',\n					\'G1\',\n					\'8.72\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:18:30','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27078\')\n			WHERE orderno= \'27581\''),('2019-09-05 08:18:30','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27078\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 08-18-30\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27581\',\n									\'6640.6\',\n									\'597.65\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34225\',\n									\'1\',\n									\'597.654\')'),('2019-09-05 08:18:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 150,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27581\'\n							AND orderlineno = \'0\''),('2019-09-05 08:18:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 150\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'C001\',\n														10,\n														\'27078\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27581\',\n														\'-150\',\n														\'0\',\n														\'0.0000\',\n														\'-4545.4\',\n														\'\' )'),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56885\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1239\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'150\',\n										\'0\',\n										\'C001\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'C001\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27078\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - C001 x 150 @ 8.26\',\n											\'-1239\')'),('2019-09-05 08:18:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27581\'\n							AND orderlineno = \'1\''),('2019-09-05 08:18:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27078\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27581\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-87795.42\',\n														\'\' )'),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56886\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'825\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27078\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 100 @ 8.25\',\n											\'-825\')'),('2019-09-05 08:18:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 150,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27581\'\n							AND orderlineno = \'2\''),('2019-09-05 08:18:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 150\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHS\',\n														10,\n														\'27078\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27581\',\n														\'-150\',\n														\'0\',\n														\'0.0000\',\n														\'-26050\',\n														\'\' )'),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56887\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1239\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'150\',\n										\'0\',\n										\'CHS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHS\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27078\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 150 @ 8.26\',\n											\'-1239\')'),('2019-09-05 08:18:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 160,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27581\'\n							AND orderlineno = \'3\''),('2019-09-05 08:18:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 160\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27078\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'15.41\',\n														\'94\',\n														\'27581\',\n														\'-160\',\n														\'0\',\n														\'0.0000\',\n														\'-306858.65\',\n														\'\' )'),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56888\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'2465.6\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'160\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27078\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CP x 160 @ 15.41\',\n											\'-2465.6\')'),('2019-09-05 08:18:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27581\'\n							AND orderlineno = \'4\''),('2019-09-05 08:18:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'G1\'\n						AND loccode = \'AN\''),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'G1\',\n														10,\n														\'27078\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.72\',\n														\'94\',\n														\'27581\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-29469.4\',\n														\'\' )'),('2019-09-05 08:18:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56889\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'872\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'G1\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'G1\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27078\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - G1 x 100 @ 8.72\',\n											\'-872\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27078\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'7238.25\')'),('2019-09-05 08:18:30','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27078\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-597.65\')'),('2019-09-05 08:18:30','zaabed','UPDATE gltrans SET amount = amount - -0.0000000000003410605131648481\n								WHERE counterindex = \'122616\''),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27582\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031812g coy\',\n								\'\',\n								\'2019-09-05 08:21\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27582\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'140\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27582\',\n					\'CHS\',\n					\'8.26\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27582\',\n					\'LN\',\n					\'11.47\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27582\',\n					\'BSGT\',\n					\'6.88\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'4\',\n					\'27582\',\n					\'CP\',\n					\'15.41\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:21:40','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'5\',\n					\'27582\',\n					\'WS\',\n					\'13.3\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:21:52','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27079\')\n			WHERE orderno= \'27582\''),('2019-09-05 08:21:52','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27079\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 08-21-52\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27582\',\n									\'6283.4\',\n									\'565.51\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34226\',\n									\'1\',\n									\'565.506\')'),('2019-09-05 08:21:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 140,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27582\'\n							AND orderlineno = \'0\''),('2019-09-05 08:21:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 140\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27079\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27582\',\n														\'-140\',\n														\'0\',\n														\'0.0000\',\n														\'-87935.42\',\n														\'\' )'),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56890\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1155\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'140\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 140 @ 8.25\',\n											\'-1155\')'),('2019-09-05 08:21:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27582\'\n							AND orderlineno = \'1\''),('2019-09-05 08:21:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHS\',\n														10,\n														\'27079\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27582\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-26150\',\n														\'\' )'),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56891\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'826\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CHS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHS\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 100 @ 8.26\',\n											\'-826\')'),('2019-09-05 08:21:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27582\'\n							AND orderlineno = \'2\''),('2019-09-05 08:21:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LN\',\n														10,\n														\'27079\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'11.47\',\n														\'94\',\n														\'27582\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-259835.15\',\n														\'\' )'),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56892\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1147\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'LN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LN x 100 @ 11.47\',\n											\'-1147\')'),('2019-09-05 08:21:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27582\'\n							AND orderlineno = \'3\''),('2019-09-05 08:21:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'BSGT\'\n						AND loccode = \'AN\''),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BSGT\',\n														10,\n														\'27079\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'6.88\',\n														\'94\',\n														\'27582\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-142\',\n														\'\' )'),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56893\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'550.4\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\n										\'0\',\n										\'BSGT\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BSGT\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - BSGT x 80 @ 6.88\',\n											\'-550.4\')'),('2019-09-05 08:21:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27582\'\n							AND orderlineno = \'4\''),('2019-09-05 08:21:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27079\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'15.41\',\n														\'94\',\n														\'27582\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-306958.65\',\n														\'\' )'),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56894\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1541\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CP x 100 @ 15.41\',\n											\'-1541\')'),('2019-09-05 08:21:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27582\'\n							AND orderlineno = \'5\''),('2019-09-05 08:21:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'WS\'\n						AND loccode = \'AN\''),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'WS\',\n														10,\n														\'27079\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'13.3\',\n														\'94\',\n														\'27582\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-59499.03\',\n														\'\' )'),('2019-09-05 08:21:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56895\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1064\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\n										\'0\',\n										\'WS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'WS\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - WS x 80 @ 13.3\',\n											\'-1064\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27079\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'6848.91\')'),('2019-09-05 08:21:52','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27079\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-565.51\')'),('2019-09-05 08:21:52','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000022737367544323206\n								WHERE counterindex = \'122623\''),('2019-09-05 08:26:15','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27583\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031809QEBMESSES\',\n								\'\',\n								\'2019-09-05 08:26\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 08:26:15','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27583\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'240\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:26:15','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27583\',\n					\'CHS\',\n					\'8.26\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:26:15','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27583\',\n					\'CP\',\n					\'15.41\',\n					\'120\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:26:15','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27583\',\n					\'G1\',\n					\'8.72\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:26:15','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'4\',\n					\'27583\',\n					\'ST\',\n					\'9.13\',\n					\'140\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:26:29','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27080\')\n			WHERE orderno= \'27583\''),('2019-09-05 08:26:29','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27080\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 08-26-29\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27583\',\n									\'6475\',\n									\'582.75\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34227\',\n									\'1\',\n									\'582.75\')'),('2019-09-05 08:26:29','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 240,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27583\'\n							AND orderlineno = \'0\''),('2019-09-05 08:26:29','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 240\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27080\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27583\',\n														\'-240\',\n														\'0\',\n														\'0.0000\',\n														\'-88175.42\',\n														\'\' )'),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56896\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1980\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'240\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27080\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 240 @ 8.25\',\n											\'-1980\')'),('2019-09-05 08:26:29','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27583\'\n							AND orderlineno = \'1\''),('2019-09-05 08:26:29','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHS\',\n														10,\n														\'27080\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27583\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-26210\',\n														\'\' )'),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56897\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'495.6\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'60\',\n										\'0\',\n										\'CHS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHS\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27080\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 60 @ 8.26\',\n											\'-495.6\')'),('2019-09-05 08:26:29','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 120,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27583\'\n							AND orderlineno = \'2\''),('2019-09-05 08:26:29','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 120\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27080\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'15.41\',\n														\'94\',\n														\'27583\',\n														\'-120\',\n														\'0\',\n														\'0.0000\',\n														\'-307078.65\',\n														\'\' )'),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56898\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1849.2\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'120\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27080\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CP x 120 @ 15.41\',\n											\'-1849.2\')'),('2019-09-05 08:26:29','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27583\'\n							AND orderlineno = \'3\''),('2019-09-05 08:26:29','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'G1\'\n						AND loccode = \'AN\''),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'G1\',\n														10,\n														\'27080\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.72\',\n														\'94\',\n														\'27583\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-29569.4\',\n														\'\' )'),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56899\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'872\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'G1\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'G1\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27080\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - G1 x 100 @ 8.72\',\n											\'-872\')'),('2019-09-05 08:26:29','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 140,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27583\'\n							AND orderlineno = \'4\''),('2019-09-05 08:26:29','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 140\n						WHERE locstock.stockid = \'ST\'\n						AND loccode = \'AN\''),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'ST\',\n														10,\n														\'27080\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'9.13\',\n														\'94\',\n														\'27583\',\n														\'-140\',\n														\'0\',\n														\'0.0000\',\n														\'-5692\',\n														\'\' )'),('2019-09-05 08:26:29','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56900\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1278.2\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'140\',\n										\'0\',\n										\'ST\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'ST\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27080\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - ST x 140 @ 9.13\',\n											\'-1278.2\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27080\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'7057.75\')'),('2019-09-05 08:26:29','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27080\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-582.75\')'),('2019-09-05 08:56:38','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27584\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031794OCTU\',\n								\'\',\n								\'2019-09-05 08:56\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 08:56:38','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27584\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:56:38','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27584\',\n					\'CHS\',\n					\'8.26\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:56:38','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27584\',\n					\'ST\',\n					\'9.13\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:56:38','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27584\',\n					\'G1\',\n					\'8.72\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 08:56:50','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27081\')\n			WHERE orderno= \'27584\''),('2019-09-05 08:56:50','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27081\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 08-56-50\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27584\',\n									\'2556.8\',\n									\'230.11\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34228\',\n									\'1\',\n									\'230.112\')'),('2019-09-05 08:56:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27584\'\n							AND orderlineno = \'0\''),('2019-09-05 08:56:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27081\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27584\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-88275.42\',\n														\'\' )'),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56901\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'825\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:56:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27081\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 100 @ 8.25\',\n											\'-825\')'),('2019-09-05 08:56:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27584\'\n							AND orderlineno = \'1\''),('2019-09-05 08:56:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHS\',\n														10,\n														\'27081\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27584\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-26290\',\n														\'\' )'),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56902\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'660.8\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\n										\'0\',\n										\'CHS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHS\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:56:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27081\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 80 @ 8.26\',\n											\'-660.8\')'),('2019-09-05 08:56:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27584\'\n							AND orderlineno = \'2\''),('2019-09-05 08:56:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'ST\'\n						AND loccode = \'AN\''),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'ST\',\n														10,\n														\'27081\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'9.13\',\n														\'94\',\n														\'27584\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-5752\',\n														\'\' )'),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56903\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'547.8\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'60\',\n										\'0\',\n										\'ST\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'ST\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:56:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27081\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - ST x 60 @ 9.13\',\n											\'-547.8\')'),('2019-09-05 08:56:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27584\'\n							AND orderlineno = \'3\''),('2019-09-05 08:56:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'G1\'\n						AND loccode = \'AN\''),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'G1\',\n														10,\n														\'27081\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.72\',\n														\'94\',\n														\'27584\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-29629.4\',\n														\'\' )'),('2019-09-05 08:56:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56904\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'523.2\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'60\',\n										\'0\',\n										\'G1\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'G1\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 08:56:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27081\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - G1 x 60 @ 8.72\',\n											\'-523.2\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27081\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'2786.91\')'),('2019-09-05 08:56:50','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27081\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-230.11\')'),('2019-09-05 08:56:50','zaabed','UPDATE gltrans SET amount = amount - -0.0000000000003410605131648481\n								WHERE counterindex = \'122638\''),('2019-09-05 09:55:17','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27585\',\n								\'TM020\',\n								\'R010\',\n								\'19107-002815BAA CSE\',\n								\'\',\n								\'2019-09-05 09:55\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 09:55:17','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27585\',\n					\'LN\',\n					\'12.47\',\n					\'215\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 09:55:28','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27082\')\n			WHERE orderno= \'27585\''),('2019-09-05 09:55:28','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27082\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 09-55-28\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27585\',\n									\'2681.05\',\n									\'241.29\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 09:55:28','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34229\',\n									\'1\',\n									\'241.2945\')'),('2019-09-05 09:55:28','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 215,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27585\'\n							AND orderlineno = \'0\''),('2019-09-05 09:55:28','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 215\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-05 09:55:28','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LN\',\n														10,\n														\'27082\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'12.47\',\n														\'94\',\n														\'27585\',\n														\'-215\',\n														\'0\',\n														\'0.0000\',\n														\'-260050.15\',\n														\'\' )'),('2019-09-05 09:55:28','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56905\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 09:55:28','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'2681.05\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'215\',\n										\'0\',\n										\'LN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 09:55:28','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27082\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LN x 215 @ 12.47\',\n											\'-2681.05\')'),('2019-09-05 09:55:28','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27082\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'2922.34\')'),('2019-09-05 09:55:28','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27082\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-241.29\')'),('2019-09-05 09:57:57','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27586\',\n								\'TM020\',\n								\'R010\',\n								\'19107-002820SNCOS CSE\',\n								\'\',\n								\'2019-09-05 09:57\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 09:57:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27586\',\n					\'LN\',\n					\'11.47\',\n					\'215\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 09:58:04','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27083\')\n			WHERE orderno= \'27586\''),('2019-09-05 09:58:04','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27083\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 09-58-04\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27586\',\n									\'2466.05\',\n									\'221.94\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 09:58:04','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34230\',\n									\'1\',\n									\'221.9445\')'),('2019-09-05 09:58:04','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 215,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27586\'\n							AND orderlineno = \'0\''),('2019-09-05 09:58:04','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 215\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-05 09:58:04','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LN\',\n														10,\n														\'27083\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'11.47\',\n														\'94\',\n														\'27586\',\n														\'-215\',\n														\'0\',\n														\'0.0000\',\n														\'-260265.15\',\n														\'\' )'),('2019-09-05 09:58:04','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56906\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 09:58:04','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'2466.05\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'215\',\n										\'0\',\n										\'LN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 09:58:04','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27083\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LN x 215 @ 11.47\',\n											\'-2466.05\')'),('2019-09-05 09:58:04','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27083\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'2687.99\')'),('2019-09-05 09:58:04','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27083\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-221.94\')'),('2019-09-05 09:58:04','zaabed','UPDATE gltrans SET amount = amount - -0.0000000000003979039320256561\n								WHERE counterindex = \'122647\''),('2019-09-05 11:30:12','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27587\',\n								\'TM044\',\n								\'C008\',\n								\'\',\n								\'\',\n								\'2019-09-05 11:30\',\n								\'DE\',\n								\'10\',\n								\'CURRY HOUSE\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 11:30:12','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27587\',\n					\'CP\',\n					\'18.81\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 11:30:18','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27084\')\n			WHERE orderno= \'27587\''),('2019-09-05 11:30:18','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27084\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-06\',\n									\'2019-09-05 11-30-18\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27587\',\n									\'752.4\',\n									\'67.72\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 11:30:18','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34231\',\n									\'1\',\n									\'67.716\')'),('2019-09-05 11:30:18','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27587\'\n							AND orderlineno = \'0\''),('2019-09-05 11:30:18','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-05 11:30:18','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27084\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM044\',\n														\'C008\',\n														\'18.81\',\n														\'94\',\n														\'27587\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-307118.65\',\n														\'\' )'),('2019-09-05 11:30:18','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56907\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 11:30:18','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'752.4\',\n										\'0\',\n										\'TM044\',\n										\'C008\',\n										\'40\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-05 11:30:18','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27084\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CP x 40 @ 18.81\',\n											\'-752.4\')'),('2019-09-05 11:30:18','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27084\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'820.12\')'),('2019-09-05 11:30:18','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27084\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-67.72\')'),('2019-09-05 11:34:43','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27588\',\n								\'L015\',\n								\'L015\',\n								\'84201-013420\',\n								\'\',\n								\'2019-09-05 11:34\',\n								\'DE\',\n								\'10\',\n								\'LAUTOKA HOSPITAL\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 11:34:43','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27588\',\n					\'RS\',\n					\'9.12\',\n					\'106\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 11:34:52','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27085\')\n			WHERE orderno= \'27588\''),('2019-09-05 11:34:52','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27085\',\n									10,\n									\'L015\',\n									\'L015\',\n									\'2019-09-06\',\n									\'2019-09-05 11-34-52\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27588\',\n									\'966.72\',\n									\'87\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 11:34:52','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34232\',\n									\'1\',\n									\'87.0048\')'),('2019-09-05 11:34:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 106,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27588\'\n							AND orderlineno = \'0\''),('2019-09-05 11:34:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 106\n						WHERE locstock.stockid = \'RS\'\n						AND loccode = \'AN\''),('2019-09-05 11:34:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'RS\',\n														10,\n														\'27085\',\n														\'AN\',\n														\'2019-09-06\',\n														\'L015\',\n														\'L015\',\n														\'9.12\',\n														\'94\',\n														\'27588\',\n														\'-106\',\n														\'0\',\n														\'0.0000\',\n														\'-20114.54\',\n														\'\' )'),('2019-09-05 11:34:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56908\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 11:34:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'966.72\',\n										\'0\',\n										\'L015\',\n										\'L015\',\n										\'106\',\n										\'0\',\n										\'RS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'RS\'\n								AND custbranch.debtorno = \'L015\'\n								AND custbranch.branchcode=\'L015\''),('2019-09-05 11:34:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27085\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'L015 - RS x 106 @ 9.12\',\n											\'-966.72\')'),('2019-09-05 11:34:52','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27085\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'L015\',\n										\'1053.72\')'),('2019-09-05 11:34:52','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27085\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'L015\',\n											\'-87\')'),('2019-09-05 11:36:44','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27589\',\n								\'TM030\',\n								\'7\',\n								\'0020607\',\n								\'\',\n								\'2019-09-05 11:36\',\n								\'DE\',\n								\'10\',\n								\'RAFFLES GATEWAY\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 11:36:44','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27589\',\n					\'BM500G\',\n					\'8.5\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 11:36:52','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27086\')\n			WHERE orderno= \'27589\''),('2019-09-05 11:36:52','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27086\',\n									10,\n									\'TM030\',\n									\'7\',\n									\'2019-09-06\',\n									\'2019-09-05 11-36-52\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27589\',\n									\'510\',\n									\'45.9\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 11:36:52','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34233\',\n									\'1\',\n									\'45.9\')'),('2019-09-05 11:36:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27589\'\n							AND orderlineno = \'0\''),('2019-09-05 11:36:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-05 11:36:52','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27086\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM030\',\n														\'7\',\n														\'8.5\',\n														\'94\',\n														\'27589\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-71819.11\',\n														\'\' )'),('2019-09-05 11:36:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56909\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 11:36:52','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'510\',\n										\'0\',\n										\'TM030\',\n										\'7\',\n										\'60\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM030\'\n								AND custbranch.branchcode=\'7\''),('2019-09-05 11:36:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27086\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM030 - BM500G x 60 @ 8.5\',\n											\'-510\')'),('2019-09-05 11:36:52','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27086\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM030\',\n										\'555.9\')'),('2019-09-05 11:36:52','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27086\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM030\',\n											\'-45.9\')'),('2019-09-05 11:52:16','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27590\',\n								\'TM050\',\n								\'F019\',\n								\'141547nursing\',\n								\'\',\n								\'2019-09-05 11:52\',\n								\'DE\',\n								\'10\',\n								\'FIJI NATIONAL UNIVERSITY\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 11:52:16','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27590\',\n					\'FF\',\n					\'15.14\',\n					\'30\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 11:52:32','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27087\')\n			WHERE orderno= \'27590\''),('2019-09-05 11:52:32','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27087\',\n									10,\n									\'TM050\',\n									\'F019\',\n									\'2019-09-06\',\n									\'2019-09-05 11-52-32\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27590\',\n									\'454.2\',\n									\'40.88\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 11:52:32','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34234\',\n									\'1\',\n									\'40.878\')'),('2019-09-05 11:52:32','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27590\'\n							AND orderlineno = \'0\''),('2019-09-05 11:52:32','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-05 11:52:32','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FF\',\n														10,\n														\'27087\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM050\',\n														\'F019\',\n														\'15.14\',\n														\'94\',\n														\'27590\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-21216.92\',\n														\'\' )'),('2019-09-05 11:52:32','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56910\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 11:52:32','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'454.2\',\n										\'0\',\n										\'TM050\',\n										\'F019\',\n										\'30\',\n										\'0\',\n										\'FF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FF\'\n								AND custbranch.debtorno = \'TM050\'\n								AND custbranch.branchcode=\'F019\''),('2019-09-05 11:52:32','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27087\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM050 - FF x 30 @ 15.14\',\n											\'-454.2\')'),('2019-09-05 11:52:32','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27087\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM050\',\n										\'495.08\')'),('2019-09-05 11:52:32','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27087\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM050\',\n											\'-40.88\')'),('2019-09-05 11:54:03','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27591\',\n								\'TM050\',\n								\'F019\',\n								\'141547PASIFIKA\',\n								\'\',\n								\'2019-09-05 11:54\',\n								\'DE\',\n								\'10\',\n								\'FIJI NATIONAL UNIVERSITY\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 11:54:03','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27591\',\n					\'FF\',\n					\'15.14\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 11:54:09','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27088\')\n			WHERE orderno= \'27591\''),('2019-09-05 11:54:09','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27088\',\n									10,\n									\'TM050\',\n									\'F019\',\n									\'2019-09-06\',\n									\'2019-09-05 11-54-09\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27591\',\n									\'908.4\',\n									\'81.76\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 11:54:09','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34235\',\n									\'1\',\n									\'81.756\')'),('2019-09-05 11:54:09','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27591\'\n							AND orderlineno = \'0\''),('2019-09-05 11:54:09','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-05 11:54:09','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FF\',\n														10,\n														\'27088\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM050\',\n														\'F019\',\n														\'15.14\',\n														\'94\',\n														\'27591\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-21276.92\',\n														\'\' )'),('2019-09-05 11:54:09','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56911\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 11:54:09','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'908.4\',\n										\'0\',\n										\'TM050\',\n										\'F019\',\n										\'60\',\n										\'0\',\n										\'FF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FF\'\n								AND custbranch.debtorno = \'TM050\'\n								AND custbranch.branchcode=\'F019\''),('2019-09-05 11:54:09','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27088\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM050 - FF x 60 @ 15.14\',\n											\'-908.4\')'),('2019-09-05 11:54:09','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27088\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM050\',\n										\'990.16\')'),('2019-09-05 11:54:09','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27088\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM050\',\n											\'-81.76\')'),('2019-09-05 11:56:16','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27592\',\n								\'TM050\',\n								\'F019\',\n								\'141547MARITIME\',\n								\'\',\n								\'2019-09-05 11:56\',\n								\'DE\',\n								\'10\',\n								\'FIJI NATIONAL UNIVERSITY\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 11:56:16','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27592\',\n					\'FF\',\n					\'15.14\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 11:56:21','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27089\')\n			WHERE orderno= \'27592\''),('2019-09-05 11:56:21','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27089\',\n									10,\n									\'TM050\',\n									\'F019\',\n									\'2019-09-06\',\n									\'2019-09-05 11-56-21\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27592\',\n									\'75.7\',\n									\'6.81\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 11:56:21','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34236\',\n									\'1\',\n									\'6.813\')'),('2019-09-05 11:56:21','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27592\'\n							AND orderlineno = \'0\''),('2019-09-05 11:56:21','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-05 11:56:21','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FF\',\n														10,\n														\'27089\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM050\',\n														\'F019\',\n														\'15.14\',\n														\'94\',\n														\'27592\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-21281.92\',\n														\'\' )'),('2019-09-05 11:56:21','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56912\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 11:56:21','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'75.7\',\n										\'0\',\n										\'TM050\',\n										\'F019\',\n										\'5\',\n										\'0\',\n										\'FF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FF\'\n								AND custbranch.debtorno = \'TM050\'\n								AND custbranch.branchcode=\'F019\''),('2019-09-05 11:56:21','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27089\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM050 - FF x 5 @ 15.14\',\n											\'-75.7\')'),('2019-09-05 11:56:21','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27089\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM050\',\n										\'82.51\')'),('2019-09-05 11:56:21','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27089\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM050\',\n											\'-6.81\')'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27593\',\n								\'TM020\',\n								\'R010\',\n								\'19106-002711CORP TRAINING\',\n								\'\',\n								\'2019-09-05 12:06\',\n								\'DE\',\n								\'10\',\n								\'RFMF (FIJI MILITARY FORCES)\',\n								\'SUVA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'2019-09-06\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27593\',\n					\'CHICKEN\',\n					\'8.71\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27593\',\n					\'CHS\',\n					\'8.71\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27593\',\n					\'BM500G\',\n					\'9.13\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27593\',\n					\'LSP\',\n					\'9.17\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'4\',\n					\'27593\',\n					\'LN\',\n					\'11.93\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 12:06:57','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'5\',\n					\'27593\',\n					\'CB\',\n					\'9.17\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-05\'\n				)'),('2019-09-05 12:07:16','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27090\')\n			WHERE orderno= \'27593\''),('2019-09-05 12:07:16','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27090\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-06\',\n									\'2019-09-05 12-07-16\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27593\',\n									\'5682\',\n									\'511.38\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34237\',\n									\'1\',\n									\'511.38\')'),('2019-09-05 12:07:16','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27593\'\n							AND orderlineno = \'0\''),('2019-09-05 12:07:16','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27090\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.71\',\n														\'94\',\n														\'27593\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-88375.42\',\n														\'\' )'),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56913\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'871\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 100 @ 8.71\',\n											\'-871\')'),('2019-09-05 12:07:16','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27593\'\n							AND orderlineno = \'1\''),('2019-09-05 12:07:16','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHS\',\n														10,\n														\'27090\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'8.71\',\n														\'94\',\n														\'27593\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-26390\',\n														\'\' )'),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56914\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'871\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CHS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHS\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 100 @ 8.71\',\n											\'-871\')'),('2019-09-05 12:07:16','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27593\'\n							AND orderlineno = \'2\''),('2019-09-05 12:07:16','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27090\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'9.13\',\n														\'94\',\n														\'27593\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-71919.11\',\n														\'\' )'),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56915\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'913\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - BM500G x 100 @ 9.13\',\n											\'-913\')'),('2019-09-05 12:07:16','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27593\'\n							AND orderlineno = \'3\''),('2019-09-05 12:07:16','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'LSP\'\n						AND loccode = \'AN\''),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LSP\',\n														10,\n														\'27090\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'9.17\',\n														\'94\',\n														\'27593\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-39924.34\',\n														\'\' )'),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56916\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'917\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'LSP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LSP\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LSP x 100 @ 9.17\',\n											\'-917\')'),('2019-09-05 12:07:16','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27593\'\n							AND orderlineno = \'4\''),('2019-09-05 12:07:16','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LN\',\n														10,\n														\'27090\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'11.93\',\n														\'94\',\n														\'27593\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-260365.15\',\n														\'\' )'),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56917\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'1193\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'LN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LN\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LN x 100 @ 11.93\',\n											\'-1193\')'),('2019-09-05 12:07:16','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-06\',\n								completed=1\n							WHERE orderno = \'27593\'\n							AND orderlineno = \'5\''),('2019-09-05 12:07:16','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CB\'\n						AND loccode = \'AN\''),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CB\',\n														10,\n														\'27090\',\n														\'AN\',\n														\'2019-09-06\',\n														\'TM020\',\n														\'R010\',\n														\'9.17\',\n														\'94\',\n														\'27593\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-1628.47\',\n														\'\' )'),('2019-09-05 12:07:16','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56918\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'917\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'100\',\n										\'0\',\n										\'CB\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CB\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CB x 100 @ 9.17\',\n											\'-917\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27090\',\n										\'2019-09-06\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'6193.38\')'),('2019-09-05 12:07:16','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27090\',\n											\'2019-09-06\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-511.38\')'),('2019-09-05 12:07:16','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000011368683772161603\n								WHERE counterindex = \'122668\''),('2019-09-06 09:22:27','jhairud','UPDATE config SET confvalue = \'2019-09-06\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-06 11:58:07','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27594\',\n								\'TM009\',\n								\'30\',\n								\'lp 3 16270\',\n								\'\',\n								\'2019-09-06 11:58\',\n								\'DE\',\n								\'10\',\n								\'GOUNDAR SHIPPING LIMITED\',\n								\'P O BOX 672 SUVA\',\n								\'3301021\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-06 11:58:07','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27594\',\n					\'LPP\',\n					\'12.66\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 11:58:13','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27091\')\n			WHERE orderno= \'27594\''),('2019-09-06 11:58:13','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27091\',\n									10,\n									\'TM009\',\n									\'30\',\n									\'2019-09-07\',\n									\'2019-09-06 11-58-13\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27594\',\n									\'253.2\',\n									\'22.79\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-06 11:58:13','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34238\',\n									\'1\',\n									\'22.788\')'),('2019-09-06 11:58:13','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27594\'\n							AND orderlineno = \'0\''),('2019-09-06 11:58:13','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'LPP\'\n						AND loccode = \'AN\''),('2019-09-06 11:58:13','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LPP\',\n														10,\n														\'27091\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM009\',\n														\'30\',\n														\'12.66\',\n														\'94\',\n														\'27594\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-58643.52\',\n														\'\' )'),('2019-09-06 11:58:13','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56919\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-06 11:58:13','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'253.2\',\n										\'0\',\n										\'TM009\',\n										\'30\',\n										\'20\',\n										\'0\',\n										\'LPP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LPP\'\n								AND custbranch.debtorno = \'TM009\'\n								AND custbranch.branchcode=\'30\''),('2019-09-06 11:58:13','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27091\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM009 - LPP x 20 @ 12.66\',\n											\'-253.2\')'),('2019-09-06 11:58:13','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27091\',\n										\'2019-09-07\',\n										\'94\',\n										\'1100\',\n										\'TM009\',\n										\'275.99\')'),('2019-09-06 11:58:13','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27091\',\n											\'2019-09-07\',\n											\'94\',\n											\'2300\',\n											\'TM009\',\n											\'-22.79\')'),('2019-09-06 11:58:13','zaabed','UPDATE gltrans SET amount = amount - 0.000000000000021316282072803006\n								WHERE counterindex = \'122676\''),('2019-09-06 11:59:56','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27595\',\n								\'TM051\',\n								\'F021\',\n								\'0160\',\n								\'\',\n								\'2019-09-06 11:59\',\n								\'DE\',\n								\'10\',\n								\'FIJI POLICE FORCE OFFICERS MESS\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-06 11:59:56','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27595\',\n					\'C001\',\n					\'6.88\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 12:00:06','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27092\')\n			WHERE orderno= \'27595\''),('2019-09-06 12:00:06','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27092\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-07\',\n									\'2019-09-06 12-00-06\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27595\',\n									\'344\',\n									\'30.96\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-06 12:00:06','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34239\',\n									\'1\',\n									\'30.96\')'),('2019-09-06 12:00:06','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27595\'\n							AND orderlineno = \'0\''),('2019-09-06 12:00:06','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-06 12:00:06','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'C001\',\n														10,\n														\'27092\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM051\',\n														\'F021\',\n														\'6.88\',\n														\'94\',\n														\'27595\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-4595.4\',\n														\'\' )'),('2019-09-06 12:00:06','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56920\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-06 12:00:06','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'344\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'50\',\n										\'0\',\n										\'C001\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'C001\'\n								AND custbranch.debtorno = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-06 12:00:06','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27092\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM051 - C001 x 50 @ 6.88\',\n											\'-344\')'),('2019-09-06 12:00:06','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27092\',\n										\'2019-09-07\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'374.96\')'),('2019-09-06 12:00:06','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27092\',\n											\'2019-09-07\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-30.96\')'),('2019-09-06 13:30:50','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27596\',\n								\'TM074\',\n								\'P001\',\n								\'sport/c\',\n								\'\',\n								\'2019-09-06 13:30\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-06 13:30:50','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27596\',\n					\'MBT\',\n					\'9.50\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:30:50','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27596\',\n					\'SF500G\',\n					\'16.4\',\n					\'6.3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:30:50','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27596\',\n					\'CP\',\n					\'18.81\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:30:50','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'3\',\n					\'27596\',\n					\'FF\',\n					\'17.00\',\n					\'11.25\',\n					\'0\',\n					\'marlin\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:31:05','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27093\')\n			WHERE orderno= \'27596\''),('2019-09-06 13:31:05','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27093\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-07\',\n									\'2019-09-06 13-31-05\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27596\',\n									\'625.17\',\n									\'34.14\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34240\',\n									\'1\',\n									\'34.1415\')'),('2019-09-06 13:31:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27596\'\n							AND orderlineno = \'0\''),('2019-09-06 13:31:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'MBT\',\n														10,\n														\'27093\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27596\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-7452.6\',\n														\'\' )'),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56921\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'142.5\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'15\',\n										\'0\',\n										\'MBT\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'MBT\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:31:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27093\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 15 @ 9.5\',\n											\'-142.5\')'),('2019-09-06 13:31:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6.3,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27596\'\n							AND orderlineno = \'1\''),('2019-09-06 13:31:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 6.3\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'SF500G\',\n														10,\n														\'27093\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27596\',\n														\'-6.3\',\n														\'0\',\n														\'0.0000\',\n														\'-9658.481\',\n														\'\' )'),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56922\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'103.32\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'6.3\',\n										\'0\',\n										\'SF500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SF500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:31:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27093\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 6.3 @ 16.4\',\n											\'-103.32\')'),('2019-09-06 13:31:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27596\'\n							AND orderlineno = \'2\''),('2019-09-06 13:31:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27093\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27596\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-307128.65\',\n														\'\' )'),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56923\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'188.1\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'10\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:31:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27093\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 10 @ 18.81\',\n											\'-188.1\')'),('2019-09-06 13:31:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 11.25,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27596\'\n							AND orderlineno = \'3\''),('2019-09-06 13:31:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 11.25\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FF\',\n														10,\n														\'27093\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'17\',\n														\'94\',\n														\'27596\',\n														\'-11.25\',\n														\'0\',\n														\'0.0000\',\n														\'-21293.17\',\n														\'marlin\' )'),('2019-09-06 13:31:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56924\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'191.25\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'11.25\',\n										\'0\',\n										\'FF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FF\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:31:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27093\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - FF x 11.25 @ 17\',\n											\'-191.25\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27093\',\n										\'2019-09-07\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'659.31\')'),('2019-09-06 13:31:05','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27093\',\n											\'2019-09-07\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-34.14\')'),('2019-09-06 13:32:25','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27597\',\n								\'TM074\',\n								\'P001\',\n								\'centerpoint\',\n								\'\',\n								\'2019-09-06 13:32\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-06 13:32:25','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27597\',\n					\'CP\',\n					\'18.81\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:32:25','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27597\',\n					\'BM500G\',\n					\'9.00\',\n					\'3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:32:33','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27094\')\n			WHERE orderno= \'27597\''),('2019-09-06 13:32:33','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27094\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-07\',\n									\'2019-09-06 13-32-33\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27597\',\n									\'121.05\',\n									\'8.46\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-06 13:32:33','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34241\',\n									\'1\',\n									\'8.4645\')'),('2019-09-06 13:32:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27597\'\n							AND orderlineno = \'0\''),('2019-09-06 13:32:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-06 13:32:33','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27094\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27597\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-307133.65\',\n														\'\' )'),('2019-09-06 13:32:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56925\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:32:33','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'94.05\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'5\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:32:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27094\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 5 @ 18.81\',\n											\'-94.05\')'),('2019-09-06 13:32:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27597\'\n							AND orderlineno = \'1\''),('2019-09-06 13:32:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-06 13:32:33','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27094\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27597\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-71922.11\',\n														\'\' )'),('2019-09-06 13:32:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56926\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:32:33','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'27\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:32:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27094\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 3 @ 9\',\n											\'-27\')'),('2019-09-06 13:32:33','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27094\',\n										\'2019-09-07\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'129.51\')'),('2019-09-06 13:32:33','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27094\',\n											\'2019-09-07\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-8.46\')'),('2019-09-06 13:32:33','zaabed','UPDATE gltrans SET amount = amount - -0.000000000000007105427357601002\n								WHERE counterindex = \'122688\''),('2019-09-06 13:33:36','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27598\',\n								\'TM074\',\n								\'P001\',\n								\'HARBOUR CENTER\',\n								\'\',\n								\'2019-09-06 13:33\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'2019-09-07\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-06 13:33:36','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27598\',\n					\'MBT\',\n					\'9.50\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-06\'\n				)'),('2019-09-06 13:33:49','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27095\')\n			WHERE orderno= \'27598\''),('2019-09-06 13:33:49','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27095\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-07\',\n									\'2019-09-06 13-33-49\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27598\',\n									\'95\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-06 13:33:49','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34242\',\n									\'1\',\n									\'0\')'),('2019-09-06 13:33:49','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-07\',\n								completed=1\n							WHERE orderno = \'27598\'\n							AND orderlineno = \'0\''),('2019-09-06 13:33:49','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-06 13:33:49','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'MBT\',\n														10,\n														\'27095\',\n														\'AN\',\n														\'2019-09-07\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27598\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-7462.6\',\n														\'\' )'),('2019-09-06 13:33:49','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56927\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-06 13:33:49','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'95\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'10\',\n										\'0\',\n										\'MBT\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'MBT\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-06 13:33:49','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27095\',\n											\'2019-09-07\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 10 @ 9.5\',\n											\'-95\')'),('2019-09-06 13:33:49','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27095\',\n										\'2019-09-07\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'95\')'),('2019-09-07 09:23:10','jhairud','UPDATE config SET confvalue = \'2019-09-07\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-10 09:20:41','jhairud','UPDATE config SET confvalue = \'2019-09-10\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-10 10:49:42','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27599\',\n								\'N007\',\n								\'N007\',\n								\'019041\',\n								\'\',\n								\'2019-09-10 10:49\',\n								\'DE\',\n								\'1\',\n								\'NASINU SECONDARY SCHOOL\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 10:49:42','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27599\',\n					\'CHICKEN\',\n					\'13.76\',\n					\'45\',\n					\'0\',\n					\'boneless\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:01:45','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27096\')\n			WHERE orderno= \'27599\''),('2019-09-10 11:01:45','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27096\',\n									10,\n									\'N007\',\n									\'N007\',\n									\'2019-09-11\',\n									\'2019-09-10 11-01-45\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27599\',\n									\'619.2\',\n									\'55.73\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:01:45','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34243\',\n									\'1\',\n									\'55.728\')'),('2019-09-10 11:01:45','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 45,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27599\'\n							AND orderlineno = \'0\''),('2019-09-10 11:01:45','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 45\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-10 11:01:45','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27096\',\n														\'AN\',\n														\'2019-09-11\',\n														\'N007\',\n														\'N007\',\n														\'13.76\',\n														\'94\',\n														\'27599\',\n														\'-45\',\n														\'0\',\n														\'0.0000\',\n														\'-88420.42\',\n														\'boneless\' )'),('2019-09-10 11:01:45','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56928\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:01:45','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'619.2\',\n										\'0\',\n										\'N007\',\n										\'N007\',\n										\'45\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'N007\'\n								AND custbranch.branchcode=\'N007\''),('2019-09-10 11:01:45','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27096\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'N007 - CHICKEN x 45 @ 13.76\',\n											\'-619.2\')'),('2019-09-10 11:01:45','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27096\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'N007\',\n										\'674.93\')'),('2019-09-10 11:01:45','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27096\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'N007\',\n											\'-55.73\')'),('2019-09-10 11:01:45','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000009237055564881302\n								WHERE counterindex = \'122694\''),('2019-09-10 11:06:02','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27600\',\n								\'TM009\',\n								\'30\',\n								\'16285lp3\',\n								\'\',\n								\'2019-09-10 11:06\',\n								\'DE\',\n								\'10\',\n								\'GOUNDAR SHIPPING LIMITED\',\n								\'P O BOX 672 SUVA\',\n								\'3301021\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:06:02','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27600\',\n					\'LPP\',\n					\'12.66\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:06:07','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27097\')\n			WHERE orderno= \'27600\''),('2019-09-10 11:06:07','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27097\',\n									10,\n									\'TM009\',\n									\'30\',\n									\'2019-09-11\',\n									\'2019-09-10 11-06-07\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27600\',\n									\'253.2\',\n									\'22.79\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:06:07','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34244\',\n									\'1\',\n									\'22.788\')'),('2019-09-10 11:06:07','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27600\'\n							AND orderlineno = \'0\''),('2019-09-10 11:06:07','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'LPP\'\n						AND loccode = \'AN\''),('2019-09-10 11:06:07','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LPP\',\n														10,\n														\'27097\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM009\',\n														\'30\',\n														\'12.66\',\n														\'94\',\n														\'27600\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-58663.52\',\n														\'\' )'),('2019-09-10 11:06:07','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56929\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:06:07','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'253.2\',\n										\'0\',\n										\'TM009\',\n										\'30\',\n										\'20\',\n										\'0\',\n										\'LPP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LPP\'\n								AND custbranch.debtorno = \'TM009\'\n								AND custbranch.branchcode=\'30\''),('2019-09-10 11:06:07','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27097\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM009 - LPP x 20 @ 12.66\',\n											\'-253.2\')'),('2019-09-10 11:06:07','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27097\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM009\',\n										\'275.99\')'),('2019-09-10 11:06:07','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27097\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM009\',\n											\'-22.79\')'),('2019-09-10 11:06:07','zaabed','UPDATE gltrans SET amount = amount - 0.000000000000021316282072803006\n								WHERE counterindex = \'122697\''),('2019-09-10 11:14:43','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27601\',\n								\'TM002\',\n								\'1\',\n								\'18826pick up\',\n								\'\',\n								\'2019-09-10 11:14\',\n								\'DE\',\n								\'10\',\n								\'Vatuvara Limited\',\n								\'P O Box 586\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:14:43','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27601\',\n					\'FISH\',\n					\'9.50\',\n					\'30\',\n					\'0\',\n					\'ogo\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:14:51','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27098\')\n			WHERE orderno= \'27601\''),('2019-09-10 11:14:51','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27098\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-11\',\n									\'2019-09-10 11-14-51\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27601\',\n									\'285\',\n									\'25.65\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:14:51','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34245\',\n									\'1\',\n									\'25.65\')'),('2019-09-10 11:14:51','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27601\'\n							AND orderlineno = \'0\''),('2019-09-10 11:14:51','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-10 11:14:51','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FISH\',\n														10,\n														\'27098\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM002\',\n														\'1\',\n														\'9.5\',\n														\'94\',\n														\'27601\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-45414.0701\',\n														\'ogo\' )'),('2019-09-10 11:14:51','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56930\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:14:51','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'285\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'30\',\n										\'0\',\n										\'FISH\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FISH\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-10 11:14:51','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27098\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM002 - FISH x 30 @ 9.5\',\n											\'-285\')'),('2019-09-10 11:14:51','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27098\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'310.65\')'),('2019-09-10 11:14:51','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27098\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-25.65\')'),('2019-09-10 11:15:54','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27602\',\n								\'TM074\',\n								\'P001\',\n								\'sport/c\',\n								\'\',\n								\'2019-09-10 11:15\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:15:54','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27602\',\n					\'FF\',\n					\'17.00\',\n					\'10\',\n					\'0\',\n					\'marlin\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:16:00','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27099\')\n			WHERE orderno= \'27602\''),('2019-09-10 11:16:00','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27099\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-11\',\n									\'2019-09-10 11-16-00\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27602\',\n									\'170\',\n									\'15.3\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:16:00','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34246\',\n									\'1\',\n									\'15.3\')'),('2019-09-10 11:16:00','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27602\'\n							AND orderlineno = \'0\''),('2019-09-10 11:16:00','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-10 11:16:00','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'FF\',\n														10,\n														\'27099\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'17\',\n														\'94\',\n														\'27602\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-21303.17\',\n														\'marlin\' )'),('2019-09-10 11:16:00','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56931\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:16:00','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'170\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'10\',\n										\'0\',\n										\'FF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'FF\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:16:00','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27099\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - FF x 10 @ 17\',\n											\'-170\')'),('2019-09-10 11:16:00','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27099\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'185.3\')'),('2019-09-10 11:16:00','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27099\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-15.3\')'),('2019-09-10 11:19:01','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27603\',\n								\'TM074\',\n								\'P001\',\n								\'centerpoint\',\n								\'\',\n								\'2019-09-10 11:19\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:19:01','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27603\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:19:07','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27100\')\n			WHERE orderno= \'27603\''),('2019-09-10 11:19:07','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27100\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-11\',\n									\'2019-09-10 11-19-07\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27603\',\n									\'376.2\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:19:07','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34247\',\n									\'1\',\n									\'33.858\')'),('2019-09-10 11:19:07','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27603\'\n							AND orderlineno = \'0\''),('2019-09-10 11:19:07','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-10 11:19:07','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27100\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27603\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307153.65\',\n														\'\' )'),('2019-09-10 11:19:07','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56932\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:19:07','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'376.2\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:19:07','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27100\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-10 11:19:07','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27100\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'410.06\')'),('2019-09-10 11:19:07','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27100\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-33.86\')'),('2019-09-10 11:20:11','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27604\',\n								\'TM074\',\n								\'P001\',\n								\'HARBOUR CENTER\',\n								\'\',\n								\'2019-09-10 11:20\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:20:11','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27604\',\n					\'BM500G\',\n					\'9.00\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:20:17','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27101\')\n			WHERE orderno= \'27604\''),('2019-09-10 11:20:17','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27101\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-11\',\n									\'2019-09-10 11-20-17\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27604\',\n									\'45\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:20:17','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34248\',\n									\'1\',\n									\'0\')'),('2019-09-10 11:20:17','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27604\'\n							AND orderlineno = \'0\''),('2019-09-10 11:20:17','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-10 11:20:17','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27101\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27604\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-71927.11\',\n														\'\' )'),('2019-09-10 11:20:17','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56933\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:20:17','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'45\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'5\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:20:17','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27101\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 5 @ 9\',\n											\'-45\')'),('2019-09-10 11:20:17','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27101\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'45\')'),('2019-09-10 11:35:52','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27605\',\n								\'TM044\',\n								\'C008\',\n								\'\',\n								\'\',\n								\'2019-09-10 11:35\',\n								\'DE\',\n								\'10\',\n								\'CURRY HOUSE\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:35:52','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27605\',\n					\'CP\',\n					\'18.81\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:35:58','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27102\')\n			WHERE orderno= \'27605\''),('2019-09-10 11:35:58','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27102\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-11\',\n									\'2019-09-10 11-35-58\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27605\',\n									\'752.4\',\n									\'67.72\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:35:58','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34249\',\n									\'1\',\n									\'67.716\')'),('2019-09-10 11:35:58','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27605\'\n							AND orderlineno = \'0\''),('2019-09-10 11:35:58','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-10 11:35:58','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27102\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM044\',\n														\'C008\',\n														\'18.81\',\n														\'94\',\n														\'27605\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-307193.65\',\n														\'\' )'),('2019-09-10 11:35:58','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56934\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:35:58','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'752.4\',\n										\'0\',\n										\'TM044\',\n										\'C008\',\n										\'40\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-10 11:35:58','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27102\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CP x 40 @ 18.81\',\n											\'-752.4\')'),('2019-09-10 11:35:58','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27102\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'820.12\')'),('2019-09-10 11:35:58','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27102\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-67.72\')'),('2019-09-10 11:37:33','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27606\',\n								\'TM074\',\n								\'P001\',\n								\'Nakasi\',\n								\'\',\n								\'2019-09-10 11:37\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:37:33','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27606\',\n					\'CP\',\n					\'18.81\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:37:33','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27606\',\n					\'SF500G\',\n					\'16.4\',\n					\'3.5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:37:33','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27606\',\n					\'BM500G\',\n					\'9.00\',\n					\'3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:37:41','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27103\')\n			WHERE orderno= \'27606\''),('2019-09-10 11:37:41','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27103\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-11\',\n									\'2019-09-10 11-37-41\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27606\',\n									\'836.8\',\n									\'67.72\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:37:41','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34250\',\n									\'1\',\n									\'67.716\')'),('2019-09-10 11:37:41','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27606\'\n							AND orderlineno = \'0\''),('2019-09-10 11:37:41','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-10 11:37:41','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27103\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27606\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-307233.65\',\n														\'\' )'),('2019-09-10 11:37:41','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56935\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:37:41','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'752.4\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'40\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:37:41','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27103\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 40 @ 18.81\',\n											\'-752.4\')'),('2019-09-10 11:37:41','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3.5,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27606\'\n							AND orderlineno = \'1\''),('2019-09-10 11:37:41','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 3.5\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-10 11:37:41','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'SF500G\',\n														10,\n														\'27103\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27606\',\n														\'-3.5\',\n														\'0\',\n														\'0.0000\',\n														\'-9661.981\',\n														\'\' )'),('2019-09-10 11:37:41','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56936\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:37:41','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'57.4\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3.5\',\n										\'0\',\n										\'SF500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SF500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:37:41','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27103\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 3.5 @ 16.4\',\n											\'-57.4\')'),('2019-09-10 11:37:41','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27606\'\n							AND orderlineno = \'2\''),('2019-09-10 11:37:41','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-10 11:37:41','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27103\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27606\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-71930.11\',\n														\'\' )'),('2019-09-10 11:37:41','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56937\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:37:41','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'27\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:37:41','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27103\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 3 @ 9\',\n											\'-27\')'),('2019-09-10 11:37:41','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27103\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'904.52\')'),('2019-09-10 11:37:41','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27103\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-67.72\')'),('2019-09-10 11:43:43','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27607\',\n								\'TM074\',\n								\'P001\',\n								\'Nakasi\',\n								\'\',\n								\'2019-09-10 11:43\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 11:43:43','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27607\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:43:43','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27607\',\n					\'SF500G\',\n					\'16.40\',\n					\'3.5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:43:43','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'2\',\n					\'27607\',\n					\'BM500G\',\n					\'9.00\',\n					\'3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 11:43:51','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27104\')\n			WHERE orderno= \'27607\''),('2019-09-10 11:43:51','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27104\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-11\',\n									\'2019-09-10 11-43-51\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27607\',\n									\'460.6\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 11:43:51','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34251\',\n									\'1\',\n									\'33.858\')'),('2019-09-10 11:43:51','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27607\'\n							AND orderlineno = \'0\''),('2019-09-10 11:43:51','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-10 11:43:51','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CP\',\n														10,\n														\'27104\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27607\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307253.65\',\n														\'\' )'),('2019-09-10 11:43:51','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56938\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:43:51','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'376.2\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\n										\'0\',\n										\'CP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CP\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:43:51','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27104\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-10 11:43:51','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3.5,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27607\'\n							AND orderlineno = \'1\''),('2019-09-10 11:43:51','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 3.5\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-10 11:43:51','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'SF500G\',\n														10,\n														\'27104\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27607\',\n														\'-3.5\',\n														\'0\',\n														\'0.0000\',\n														\'-9665.481\',\n														\'\' )'),('2019-09-10 11:43:51','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56939\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:43:51','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'57.4\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3.5\',\n										\'0\',\n										\'SF500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SF500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:43:51','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27104\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 3.5 @ 16.4\',\n											\'-57.4\')'),('2019-09-10 11:43:51','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27607\'\n							AND orderlineno = \'2\''),('2019-09-10 11:43:51','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-10 11:43:51','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'BM500G\',\n														10,\n														\'27104\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27607\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-71933.11\',\n														\'\' )'),('2019-09-10 11:43:51','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56940\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-10 11:43:51','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'27\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'3\',\n										\'0\',\n										\'BM500G\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BM500G\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-10 11:43:51','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27104\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 3 @ 9\',\n											\'-27\')'),('2019-09-10 11:43:51','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27104\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'494.46\')'),('2019-09-10 11:43:51','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27104\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-33.86\')'),('2019-09-10 12:09:58','zaabed','INSERT INTO salesorders (\n								orderno,\n								debtorno,\n								branchcode,\n								customerref,\n								comments,\n								orddate,\n								ordertype,\n								shipvia,\n								deliverto,\n								deladd1,\n								deladd2,\n								deladd3,\n								deladd4,\n								deladd5,\n								deladd6,\n								contactphone,\n								contactemail,\n								salesperson,\n								freightcost,\n								fromstkloc,\n								deliverydate,\n								quotedate,\n								confirmeddate,\n								quotation,\n								deliverblind)\n							VALUES (\n								\'27608\',\n								\'TM044\',\n								\'C008\',\n								\'pick up\',\n								\'\',\n								\'2019-09-10 12:09\',\n								\'DE\',\n								\'10\',\n								\'CURRY HOUSE\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'2019-09-11\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-10 12:09:58','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'0\',\n					\'27608\',\n					\'LCP\',\n					\'19.73\',\n					\'2.75\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 12:09:58','zaabed','INSERT INTO salesorderdetails (\n											orderlineno,\n											orderno,\n											stkcode,\n											unitprice,\n											quantity,\n											discountpercent,\n											narrative,\n											poline,\n											itemdue)\n										VALUES (\n					\'1\',\n					\'27608\',\n					\'CHICKEN\',\n					\'16.52\',\n					\'2\',\n					\'0\',\n					\'2.3\',\n					\'\',\n					\'2019-09-10\'\n				)'),('2019-09-10 12:10:05','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27105\')\n			WHERE orderno= \'27608\''),('2019-09-10 12:10:05','zaabed','INSERT INTO debtortrans (transno,\n									type,\n									debtorno,\n									branchcode,\n									trandate,\n									inputdate,\n									prd,\n									reference,\n									tpe,\n									order_,\n									ovamount,\n									ovgst,\n									ovfreight,\n									rate,\n									invtext,\n									shipvia,\n									consignment,\n									packages,\n									entered_by )\n								VALUES (\n									\'27105\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-11\',\n									\'2019-09-10 12-10-05\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27608\',\n									\'87.3\',\n									\'7.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-10 12:10:05','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34252\',\n									\'1\',\n									\'7.856775\')'),('2019-09-10 12:10:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 2.75,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27608\'\n							AND orderlineno = \'0\''),('2019-09-10 12:10:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 2.75\n						WHERE locstock.stockid = \'LCP\'\n						AND loccode = \'AN\''),('2019-09-10 12:10:05','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'LCP\',\n														10,\n														\'27105\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM044\',\n														\'C008\',\n														\'19.73\',\n														\'94\',\n														\'27608\',\n														\'-2.75\',\n														\'0\',\n														\'0.0000\',\n														\'-63665.88\',\n														\'\' )'),('2019-09-10 12:10:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56941\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 12:10:05','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'54.26\',\n										\'0\',\n										\'TM044\',\n										\'C008\',\n										\'2.75\',\n										\'0\',\n										\'LCP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCP\'\n								AND custbranch.debtorno = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-10 12:10:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27105\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM044 - LCP x 2.75 @ 19.73\',\n											\'-54.26\')'),('2019-09-10 12:10:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 2,\n								actualdispatchdate = \'2019-09-11\',\n								completed=1\n							WHERE orderno = \'27608\'\n							AND orderlineno = \'1\''),('2019-09-10 12:10:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 2\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-10 12:10:05','zaabed','INSERT INTO stockmoves (stockid,\n														type,\n														transno,\n														loccode,\n														trandate,\n														debtorno,\n														branchcode,\n														price,\n														prd,\n														reference,\n														qty,\n														discountpercent,\n														standardcost,\n														newqoh,\n														narrative )\n													VALUES (\'CHICKEN\',\n														10,\n														\'27105\',\n														\'AN\',\n														\'2019-09-11\',\n														\'TM044\',\n														\'C008\',\n														\'16.52\',\n														\'94\',\n														\'27608\',\n														\'-2\',\n														\'0\',\n														\'0.0000\',\n														\'-88422.42\',\n														\'2.3\' )'),('2019-09-10 12:10:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56942\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-10 12:10:05','zaabed','INSERT INTO salesanalysis (typeabbrev,\n												periodno,\n												amt,\n												cost,\n												cust,\n												custbranch,\n												qty,\n												disc,\n												stockid,\n												area,\n												budgetoractual,\n												salesperson,\n												stkcategory )\n								SELECT \'DE\',\n										\'94\',\n										\'33.04\',\n										\'0\',\n										\'TM044\',\n										\'C008\',\n										\'2\',\n										\'0\',\n										\'CHICKEN\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'CHICKEN\'\n								AND custbranch.debtorno = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-10 12:10:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27105\',\n											\'2019-09-11\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CHICKEN x 2 @ 16.52\',\n											\'-33.04\')'),('2019-09-10 12:10:05','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27105\',\n										\'2019-09-11\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'95.16\')'),('2019-09-10 12:10:05','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27105\',\n											\'2019-09-11\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-7.86\')'),('2019-09-11 08:34:47','jhairud','UPDATE config SET confvalue = \'2019-09-11\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-11 08:36:42','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4720\',\n						12,\n						\'TM092\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-36-42\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-3818.28\',\n						\'0\',\n						\'ANZ# 131650\'\n					)'),('2019-09-11 08:36:42','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'3818.28\'\n					WHERE debtorsmaster.debtorno=\'TM092\''),('2019-09-11 08:36:42','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4720\',\n			\'1100\',\n			\'ANZ# 131650\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'3818.28\',\n			\'FJD\'\n		)'),('2019-09-11 08:36:42','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4720\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'ANZ# 131650\',\n					\'3818.28\'\n				)'),('2019-09-11 08:36:42','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4720\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'ANZ# 131650\',\n							\'-3818.28\'\n							)'),('2019-09-11 08:38:31','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4721\',\n						12,\n						\'N007\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-38-31\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-2491.24\',\n						\'0\',\n						\'BSP# 502\'\n					)'),('2019-09-11 08:38:31','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'2491.24\'\n					WHERE debtorsmaster.debtorno=\'N007\''),('2019-09-11 08:38:31','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4721\',\n			\'1100\',\n			\'BSP# 502\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'2491.24\',\n			\'FJD\'\n		)'),('2019-09-11 08:38:31','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4721\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'BSP# 502\',\n					\'2491.24\'\n				)'),('2019-09-11 08:38:31','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4721\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'BSP# 502\',\n							\'-2491.24\'\n							)'),('2019-09-11 08:42:56','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4722\',\n						12,\n						\'N007\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-42-56\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-89.99\',\n						\'0\',\n						\'BSP# 2014\'\n					)'),('2019-09-11 08:42:56','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'89.99\'\n					WHERE debtorsmaster.debtorno=\'N007\''),('2019-09-11 08:42:56','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4722\',\n			\'1100\',\n			\'BSP# 2014\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'89.99\',\n			\'FJD\'\n		)'),('2019-09-11 08:42:56','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4722\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'BSP# 2014\',\n					\'89.99\'\n				)'),('2019-09-11 08:42:56','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4722\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'BSP# 2014\',\n							\'-89.99\'\n							)'),('2019-09-11 08:44:01','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4723\',\n						12,\n						\'TM074\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-44-01\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-2556.21\',\n						\'0\',\n						\'WBC# 19454\'\n					)'),('2019-09-11 08:44:01','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'2556.21\'\n					WHERE debtorsmaster.debtorno=\'TM074\''),('2019-09-11 08:44:01','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4723\',\n			\'1100\',\n			\'WBC# 19454\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'2556.21\',\n			\'FJD\'\n		)'),('2019-09-11 08:44:01','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4723\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'WBC# 19454\',\n					\'2556.21\'\n				)'),('2019-09-11 08:44:01','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4723\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'WBC# 19454\',\n							\'-2556.21\'\n							)'),('2019-09-11 08:45:04','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4724\',\n						12,\n						\'TM074\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-45-04\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-2338.06\',\n						\'0\',\n						\'HFC# 887562\'\n					)'),('2019-09-11 08:45:04','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'2338.06\'\n					WHERE debtorsmaster.debtorno=\'TM074\''),('2019-09-11 08:45:04','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4724\',\n			\'1100\',\n			\'HFC# 887562\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'2338.06\',\n			\'FJD\'\n		)'),('2019-09-11 08:45:04','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4724\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'HFC# 887562\',\n					\'2338.06\'\n				)'),('2019-09-11 08:45:04','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4724\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'HFC# 887562\',\n							\'-2338.06\'\n							)'),('2019-09-11 08:46:20','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4725\',\n						12,\n						\'TM074\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-46-20\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-10063.18\',\n						\'0\',\n						\'WBC# 34724\'\n					)'),('2019-09-11 08:46:20','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'10063.18\'\n					WHERE debtorsmaster.debtorno=\'TM074\''),('2019-09-11 08:46:20','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4725\',\n			\'1100\',\n			\'WBC# 34724\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'10063.18\',\n			\'FJD\'\n		)'),('2019-09-11 08:46:20','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4725\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'WBC# 34724\',\n					\'10063.18\'\n				)'),('2019-09-11 08:46:20','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4725\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'WBC# 34724\',\n							\'-10063.18\'\n							)'),('2019-09-11 08:47:29','jhairud','INSERT INTO debtortrans (transno,\n											type,\n											debtorno,\n											branchcode,\n											trandate,\n											inputdate,\n											prd,\n											reference,\n											tpe,\n											rate,\n											ovamount,\n											ovdiscount,\n											invtext)\n					VALUES (\n						\'4726\',\n						12,\n						\'TM051\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 08-47-29\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-2520.89\',\n						\'0\',\n						\'WBC# 1714\'\n					)'),('2019-09-11 08:47:29','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'2520.89\'\n					WHERE debtorsmaster.debtorno=\'TM051\''),('2019-09-11 08:47:29','jhairud','INSERT INTO banktrans (type,\n								transno,\n								bankact,\n								ref,\n								exrate,\n								functionalexrate,\n								transdate,\n								banktranstype,\n								amount,\n								currcode)\n		VALUES (\n			12,\n			\'4726\',\n			\'1100\',\n			\'WBC# 1714\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'2520.89\',\n			\'FJD\'\n		)'),('2019-09-11 08:47:29','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4726\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'WBC# 1714\',\n					\'2520.89\'\n				)'),('2019-09-11 08:47:29','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4726\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'WBC# 1714\',\n							\'-2520.89\'\n							)'),('2019-09-11 08:49:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'6\',\n								\'34259\',\n								\'24011\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'425.1\',\n						settled = \'1\'\n						WHERE id = \'24011\''),('2019-09-11 08:49:15','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'51.73\',\n								\'34259\',\n								\'30529\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'236.86\',\n						settled = \'0\'\n						WHERE id = \'30529\''),('2019-09-11 08:49:15','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'133.87\',\n								\'34259\',\n								\'33968\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'374.96\',\n						settled = \'1\'\n						WHERE id = \'33968\''),('2019-09-11 08:49:15','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'71.94\',\n								\'34259\',\n								\'33977\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'71.94\',\n						settled = \'1\'\n						WHERE id = \'33977\''),('2019-09-11 08:49:15','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'655.09\',\n								\'34259\',\n								\'33996\'\n							)');
