INSERT INTO `audittrail` VALUES ('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'655.09\',\n						settled = \'1\'\n						WHERE id = \'33996\''),('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								\'171.68\',\n								\'34259\',\n								\'34035\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'171.68\',\n						settled = \'1\'\n						WHERE id = \'34035\''),('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								\'682.5\',\n								\'34259\',\n								\'34056\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'682.5\',\n						settled = \'1\'\n						WHERE id = \'34056\''),('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								\'87.5\',\n								\'34259\',\n								\'34111\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'87.5\',\n						settled = \'1\'\n						WHERE id = \'34111\''),('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								\'451.26\',\n								\'34259\',\n								\'34114\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'451.26\',\n						settled = \'1\'\n						WHERE id = \'34114\''),('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								\'52.88\',\n								\'34259\',\n								\'34163\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'52.88\',\n						settled = \'1\'\n						WHERE id = \'34163\''),('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								\'16.51\',\n								\'34259\',\n								\'34221\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'16.51\',\n						settled = \'1\'\n						WHERE id = \'34221\''),('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								\'139.93\',\n								\'34259\',\n								\'34220\'\n							)'),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'139.93\',\n						settled = \'1\'\n						WHERE id = \'34220\''),('2019-09-11 08:49:15','jhairud','UPDATE debtortrans\n				SET alloc = \'-2520.89\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34259\''),('2019-09-11 08:49:42','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1537.34\',\n								\'34254\',\n								\'33679\'\n							)'),('2019-09-11 08:49:42','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1537.34\',\n						settled = \'1\'\n						WHERE id = \'33679\''),('2019-09-11 08:49:42','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'674.93\',\n								\'34254\',\n								\'33948\'\n							)'),('2019-09-11 08:49:42','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'674.93\',\n						settled = \'1\'\n						WHERE id = \'33948\''),('2019-09-11 08:49:42','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'278.97\',\n								\'34254\',\n								\'34074\'\n							)'),('2019-09-11 08:49:42','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'278.97\',\n						settled = \'1\'\n						WHERE id = \'34074\''),('2019-09-11 08:49:42','jhairud','UPDATE debtortrans\n				SET alloc = \'-2491.24\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34254\''),('2019-09-11 08:49:58','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'89.99\',\n								\'34255\',\n								\'34075\'\n							)'),('2019-09-11 08:49:58','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'89.99\',\n						settled = \'1\'\n						WHERE id = \'34075\''),('2019-09-11 08:49:58','jhairud','UPDATE debtortrans\n				SET alloc = \'-89.99\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34255\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'359.7\',\n								\'34258\',\n								\'33766\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'359.7\',\n						settled = \'1\'\n						WHERE id = \'33766\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'502.2\',\n								\'34258\',\n								\'33775\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'502.2\',\n						settled = \'1\'\n						WHERE id = \'33775\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'338\',\n								\'34258\',\n								\'33796\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'338\',\n						settled = \'1\'\n						WHERE id = \'33796\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'419.48\',\n								\'34258\',\n								\'33798\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'419.48\',\n						settled = \'1\'\n						WHERE id = \'33798\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'459.78\',\n								\'34258\',\n								\'33806\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'459.78\',\n						settled = \'1\'\n						WHERE id = \'33806\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'391.78\',\n								\'34258\',\n								\'33815\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'391.78\',\n						settled = \'1\'\n						WHERE id = \'33815\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'359.7\',\n								\'34258\',\n								\'33830\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'359.7\',\n						settled = \'1\'\n						WHERE id = \'33830\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'359.7\',\n								\'34258\',\n								\'33853\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'359.7\',\n						settled = \'1\'\n						WHERE id = \'33853\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'320.01\',\n								\'34258\',\n								\'33855\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'320.01\',\n						settled = \'1\'\n						WHERE id = \'33855\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'143.5\',\n								\'34258\',\n								\'33858\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'143.5\',\n						settled = \'1\'\n						WHERE id = \'33858\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'270.96\',\n								\'34258\',\n								\'33861\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'270.96\',\n						settled = \'1\'\n						WHERE id = \'33861\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'207.1\',\n								\'34258\',\n								\'33868\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'207.1\',\n						settled = \'1\'\n						WHERE id = \'33868\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'552.34\',\n								\'34258\',\n								\'33879\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'552.34\',\n						settled = \'1\'\n						WHERE id = \'33879\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'132.84\',\n								\'34258\',\n								\'33889\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'132.84\',\n						settled = \'1\'\n						WHERE id = \'33889\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'410.06\',\n								\'34258\',\n								\'33908\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'410.06\',\n						settled = \'1\'\n						WHERE id = \'33908\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'410.06\',\n								\'34258\',\n								\'33913\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'410.06\',\n						settled = \'1\'\n						WHERE id = \'33913\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'197.51\',\n								\'34258\',\n								\'33922\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'197.51\',\n						settled = \'1\'\n						WHERE id = \'33922\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'557.75\',\n								\'34258\',\n								\'33937\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'557.75\',\n						settled = \'1\'\n						WHERE id = \'33937\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'690.96\',\n								\'34258\',\n								\'33947\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'690.96\',\n						settled = \'1\'\n						WHERE id = \'33947\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'217.73\',\n								\'34258\',\n								\'33957\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'217.73\',\n						settled = \'1\'\n						WHERE id = \'33957\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'865.49\',\n								\'34258\',\n								\'33963\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'865.49\',\n						settled = \'1\'\n						WHERE id = \'33963\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'600.06\',\n								\'34258\',\n								\'33980\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'600.06\',\n						settled = \'1\'\n						WHERE id = \'33980\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'205.03\',\n								\'34258\',\n								\'33981\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'205.03\',\n						settled = \'1\'\n						WHERE id = \'33981\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'365.04\',\n								\'34258\',\n								\'33984\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'365.04\',\n						settled = \'1\'\n						WHERE id = \'33984\''),('2019-09-11 08:54:07','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'726.4\',\n								\'34258\',\n								\'33985\'\n							)'),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'726.4\',\n						settled = \'1\'\n						WHERE id = \'33985\''),('2019-09-11 08:54:07','jhairud','UPDATE debtortrans\n				SET alloc = \'-10063.18\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34258\''),('2019-09-11 08:55:32','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'595.74\',\n								\'34257\',\n								\'33800\'\n							)'),('2019-09-11 08:55:32','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'595.74\',\n						settled = \'1\'\n						WHERE id = \'33800\''),('2019-09-11 08:55:32','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'101.85\',\n								\'34257\',\n								\'33803\'\n							)'),('2019-09-11 08:55:32','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'101.85\',\n						settled = \'1\'\n						WHERE id = \'33803\''),('2019-09-11 08:55:32','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'409.84\',\n								\'34257\',\n								\'33859\'\n							)'),('2019-09-11 08:55:32','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'409.84\',\n						settled = \'1\'\n						WHERE id = \'33859\''),('2019-09-11 08:55:32','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'721.35\',\n								\'34257\',\n								\'33890\'\n							)'),('2019-09-11 08:55:32','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'721.35\',\n						settled = \'1\'\n						WHERE id = \'33890\''),('2019-09-11 08:55:32','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'509.28\',\n								\'34257\',\n								\'33960\'\n							)'),('2019-09-11 08:55:32','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'509.28\',\n						settled = \'1\'\n						WHERE id = \'33960\''),('2019-09-11 08:55:32','jhairud','UPDATE debtortrans\n				SET alloc = \'-2338.06\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34257\''),('2019-09-11 08:58:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'399.57\',\n								\'34256\',\n								\'33768\'\n							)'),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'399.57\',\n						settled = \'0\'\n						WHERE id = \'33768\''),('2019-09-11 08:58:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'753.8\',\n								\'34256\',\n								\'33808\'\n							)'),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'753.8\',\n						settled = \'1\'\n						WHERE id = \'33808\''),('2019-09-11 08:58:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'838.65\',\n								\'34256\',\n								\'33864\'\n							)'),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'838.65\',\n						settled = \'1\'\n						WHERE id = \'33864\''),('2019-09-11 08:58:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'387.18\',\n								\'34256\',\n								\'33936\'\n							)'),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'387.18\',\n						settled = \'1\'\n						WHERE id = \'33936\''),('2019-09-11 08:58:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'27\',\n								\'34256\',\n								\'33940\'\n							)'),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'27\',\n						settled = \'1\'\n						WHERE id = \'33940\''),('2019-09-11 08:58:00','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'150.01\',\n								\'34256\',\n								\'33983\'\n							)'),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'150.01\',\n						settled = \'1\'\n						WHERE id = \'33983\''),('2019-09-11 08:58:00','jhairud','UPDATE debtortrans\n				SET alloc = \'-2556.21\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34256\''),('2019-09-11 08:59:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'800.06\',\n								\'34253\',\n								\'33781\'\n							)'),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'800.06\',\n						settled = \'1\'\n						WHERE id = \'33781\''),('2019-09-11 08:59:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'669.36\',\n								\'34253\',\n								\'33782\'\n							)'),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'669.36\',\n						settled = \'1\'\n						WHERE id = \'33782\''),('2019-09-11 08:59:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1000.08\',\n								\'34253\',\n								\'33810\'\n							)'),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1000.08\',\n						settled = \'1\'\n						WHERE id = \'33810\''),('2019-09-11 08:59:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'549.36\',\n								\'34253\',\n								\'33850\'\n							)'),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'549.36\',\n						settled = \'1\'\n						WHERE id = \'33850\''),('2019-09-11 08:59:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'125.02\',\n								\'34253\',\n								\'33854\'\n							)'),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'125.02\',\n						settled = \'1\'\n						WHERE id = \'33854\''),('2019-09-11 08:59:14','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'674.38\',\n								\'34253\',\n								\'33917\'\n							)'),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'674.38\',\n						settled = \'1\'\n						WHERE id = \'33917\''),('2019-09-11 08:59:14','jhairud','UPDATE debtortrans\n				SET alloc = \'-3818.26\',\n				diffonexch = \'0\',\n				settled=\'0\'\n				WHERE id = \'34253\''),('2019-09-11 08:59:36','jhairud','DELETE FROM custallocns WHERE id = \'30372\''),('2019-09-11 08:59:36','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'800.06\',\n								\'34253\',\n								\'33781\'\n							)'),('2019-09-11 08:59:36','jhairud','DELETE FROM custallocns WHERE id = \'30373\''),('2019-09-11 08:59:36','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'669.36\',\n								\'34253\',\n								\'33782\'\n							)'),('2019-09-11 08:59:36','jhairud','DELETE FROM custallocns WHERE id = \'30374\''),('2019-09-11 08:59:36','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1000.08\',\n								\'34253\',\n								\'33810\'\n							)'),('2019-09-11 08:59:36','jhairud','DELETE FROM custallocns WHERE id = \'30375\''),('2019-09-11 08:59:36','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'549.36\',\n								\'34253\',\n								\'33850\'\n							)'),('2019-09-11 08:59:36','jhairud','DELETE FROM custallocns WHERE id = \'30376\''),('2019-09-11 08:59:36','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'125.02\',\n								\'34253\',\n								\'33854\'\n							)'),('2019-09-11 08:59:36','jhairud','DELETE FROM custallocns WHERE id = \'30377\''),('2019-09-11 08:59:36','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'674.38\',\n								\'34253\',\n								\'33917\'\n							)'),('2019-09-11 11:07:18','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								\'27609\',\n								\'TM013\',\n								\'41\',\n								\'004766\',\n								\'\',\n								\'2019-09-11 11:07\',\n								\'DE\',\n								\'10\',\n								\'KUNDAN SINGH\',\n								\'TAMAVUA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 11:07:18','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					\'27609\',\n					\'LM\',\n					\'18.34\',\n					\'25\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:07:24','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27106\')\n			WHERE orderno= \'27609\''),('2019-09-11 11:07:24','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									\'27106\',\n									10,\n									\'TM013\',\n									\'41\',\n									\'2019-09-12\',\n									\'2019-09-11 11-07-24\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27609\',\n									\'458.5\',\n									\'41.27\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 11:07:24','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34260\',\n									\'1\',\n									\'41.265\')'),('2019-09-11 11:07:24','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 25,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27609\'\n							AND orderlineno = \'0\''),('2019-09-11 11:07:24','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 25\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-11 11:07:24','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 (\'LM\',\n														10,\n														\'27106\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM013\',\n														\'41\',\n														\'18.34\',\n														\'94\',\n														\'27609\',\n														\'-25\',\n														\'0\',\n														\'0.0000\',\n														\'-32304.78\',\n														\'\' )'),('2019-09-11 11:07:24','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56943\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:07:24','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										\'458.5\',\n										\'0\',\n										\'TM013\',\n										\'41\',\n										\'25\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'TM013\'\n								AND custbranch.branchcode=\'41\''),('2019-09-11 11:07:24','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27106\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM013 - LM x 25 @ 18.34\',\n											\'-458.5\')'),('2019-09-11 11:07:24','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27106\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM013\',\n										\'499.77\')'),('2019-09-11 11:07:24','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27106\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM013\',\n											\'-41.27\')'),('2019-09-11 11:08:41','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								\'27610\',\n								\'TM074\',\n								\'P001\',\n								\'centerpoint\',\n								\'\',\n								\'2019-09-11 11:08\',\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-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 11:08:41','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					\'27610\',\n					\'CP\',\n					\'18.810\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:08:41','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					\'27610\',\n					\'MBT\',\n					\'9.50\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:08:52','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27107\')\n			WHERE orderno= \'27610\''),('2019-09-11 11:08: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									\'27107\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-12\',\n									\'2019-09-11 11-08-52\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27610\',\n									\'330.6\',\n									\'16.93\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 11:08:52','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34261\',\n									\'1\',\n									\'16.929\')'),('2019-09-11 11:08:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27610\'\n							AND orderlineno = \'0\''),('2019-09-11 11:08:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-11 11:08: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														\'27107\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27610\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-307263.65\',\n														\'\' )'),('2019-09-11 11:08:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56944\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:08: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										\'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-11 11:08:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27107\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 10 @ 18.81\',\n											\'-188.1\')'),('2019-09-11 11:08:52','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27610\'\n							AND orderlineno = \'1\''),('2019-09-11 11:08:52','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-11 11:08: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 (\'MBT\',\n														10,\n														\'27107\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27610\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-7477.6\',\n														\'\' )'),('2019-09-11 11:08:52','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56945\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:08: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										\'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-11 11:08:52','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27107\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 15 @ 9.5\',\n											\'-142.5\')'),('2019-09-11 11:08:52','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27107\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'347.53\')'),('2019-09-11 11:08:52','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27107\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-16.93\')'),('2019-09-11 11:08:52','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000004973799150320701\n								WHERE counterindex = \'122745\''),('2019-09-11 11:29: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								\'27611\',\n								\'TM051\',\n								\'F021\',\n								\'0161\',\n								\'\',\n								\'2019-09-11 11:29\',\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-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 11:29: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					\'27611\',\n					\'CP\',\n					\'18.81\',\n					\'9\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:29: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					\'1\',\n					\'27611\',\n					\'LSD\',\n					\'18.35\',\n					\'11\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:29:57','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27108\')\n			WHERE orderno= \'27611\''),('2019-09-11 11:29:57','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									\'27108\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-12\',\n									\'2019-09-11 11-29-57\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27611\',\n									\'371.14\',\n									\'33.4\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 11:29:57','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34262\',\n									\'1\',\n									\'33.4026\')'),('2019-09-11 11:29:57','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 9,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27611\'\n							AND orderlineno = \'0\''),('2019-09-11 11:29:57','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 9\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-11 11:29:57','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														\'27108\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM051\',\n														\'F021\',\n														\'18.81\',\n														\'94\',\n														\'27611\',\n														\'-9\',\n														\'0\',\n														\'0.0000\',\n														\'-307272.65\',\n														\'\' )'),('2019-09-11 11:29:57','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56946\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:29:57','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										\'169.29\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'9\',\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 = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-11 11:29:57','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27108\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM051 - CP x 9 @ 18.81\',\n											\'-169.29\')'),('2019-09-11 11:29:57','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 11,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27611\'\n							AND orderlineno = \'1\''),('2019-09-11 11:29:57','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 11\n						WHERE locstock.stockid = \'LSD\'\n						AND loccode = \'AN\''),('2019-09-11 11:29:57','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 (\'LSD\',\n														10,\n														\'27108\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM051\',\n														\'F021\',\n														\'18.35\',\n														\'94\',\n														\'27611\',\n														\'-11\',\n														\'0\',\n														\'0.0000\',\n														\'-58948.35\',\n														\'\' )'),('2019-09-11 11:29:57','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56947\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:29:57','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										\'201.85\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'11\',\n										\'0\',\n										\'LSD\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LSD\'\n								AND custbranch.debtorno = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-11 11:29:57','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27108\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM051 - LSD x 11 @ 18.35\',\n											\'-201.85\')'),('2019-09-11 11:29:57','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27108\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'404.54\')'),('2019-09-11 11:29:57','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27108\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-33.4\')'),('2019-09-11 11:29:57','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000003552713678800501\n								WHERE counterindex = \'122749\''),('2019-09-11 11:36: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								\'27612\',\n								\'TM074\',\n								\'P001\',\n								\'sport/c\',\n								\'\',\n								\'2019-09-11 11:36\',\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-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 11:36: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					\'27612\',\n					\'BM500G\',\n					\'9.50\',\n					\'3\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:36: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					\'1\',\n					\'27612\',\n					\'SF500G\',\n					\'16.40\',\n					\'6.5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:37:13','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27109\')\n			WHERE orderno= \'27612\''),('2019-09-11 11:37: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									\'27109\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-12\',\n									\'2019-09-11 11-37-13\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27612\',\n									\'135.1\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 11:37:13','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34263\',\n									\'1\',\n									\'0\')'),('2019-09-11 11:37:13','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 3,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27612\'\n							AND orderlineno = \'0\''),('2019-09-11 11:37:13','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 3\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-11 11:37: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 (\'BM500G\',\n														10,\n														\'27109\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27612\',\n														\'-3\',\n														\'0\',\n														\'0.0000\',\n														\'-71936.11\',\n														\'\' )'),('2019-09-11 11:37:13','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56948\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:37: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										\'28.5\',\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-11 11:37:13','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27109\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 3 @ 9.5\',\n											\'-28.5\')'),('2019-09-11 11:37:13','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6.5,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27612\'\n							AND orderlineno = \'1\''),('2019-09-11 11:37:13','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 6.5\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-11 11:37: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 (\'SF500G\',\n														10,\n														\'27109\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27612\',\n														\'-6.5\',\n														\'0\',\n														\'0.0000\',\n														\'-9671.981\',\n														\'\' )'),('2019-09-11 11:37:13','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56949\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:37: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										\'106.6\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'6.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-11 11:37:13','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27109\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 6.5 @ 16.4\',\n											\'-106.6\')'),('2019-09-11 11:37:13','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27109\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'135.1\')'),('2019-09-11 11:49:22','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								\'27613\',\n								\'TM002\',\n								\'1\',\n								\'18829pickup\',\n								\'\',\n								\'2019-09-11 11:49\',\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-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 11:49:22','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					\'27613\',\n					\'C001\',\n					\'8.00\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:49:22','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					\'27613\',\n					\'LSP\',\n					\'8.50\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:49:22','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					\'27613\',\n					\'LCPS\',\n					\'16\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:49:22','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					\'27613\',\n					\'CHICKEN\',\n					\'8.50\',\n					\'20\',\n					\'0\',\n					\'wings\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:49:36','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27110\')\n			WHERE orderno= \'27613\''),('2019-09-11 11:49:36','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									\'27110\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-12\',\n									\'2019-09-11 11-49-36\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27613\',\n									\'655\',\n									\'58.95\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 11:49:36','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34264\',\n									\'1\',\n									\'58.95\')'),('2019-09-11 11:49:36','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27613\'\n							AND orderlineno = \'0\''),('2019-09-11 11:49:36','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-11 11:49:36','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														\'27110\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM002\',\n														\'1\',\n														\'8\',\n														\'94\',\n														\'27613\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-4615.4\',\n														\'\' )'),('2019-09-11 11:49:36','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56950\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:49:36','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										\'160\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'20\',\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 = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-11 11:49:36','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27110\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM002 - C001 x 20 @ 8\',\n											\'-160\')'),('2019-09-11 11:49:36','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27613\'\n							AND orderlineno = \'1\''),('2019-09-11 11:49:36','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'LSP\'\n						AND loccode = \'AN\''),('2019-09-11 11:49:36','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														\'27110\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27613\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-39934.34\',\n														\'\' )'),('2019-09-11 11:49:36','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56951\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:49:36','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										\'85\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'10\',\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 = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-11 11:49:36','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27110\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM002 - LSP x 10 @ 8.5\',\n											\'-85\')'),('2019-09-11 11:49:36','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27613\'\n							AND orderlineno = \'2\''),('2019-09-11 11:49:36','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-11 11:49:36','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 (\'LCPS\',\n														10,\n														\'27110\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM002\',\n														\'1\',\n														\'16\',\n														\'94\',\n														\'27613\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-46302.33\',\n														\'\' )'),('2019-09-11 11:49:36','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56952\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:49:36','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										\'240\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'15\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-11 11:49:36','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27110\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM002 - LCPS x 15 @ 16\',\n											\'-240\')'),('2019-09-11 11:49:36','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27613\'\n							AND orderlineno = \'3\''),('2019-09-11 11:49:36','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-11 11:49:36','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														\'27110\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27613\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-88442.42\',\n														\'wings\' )'),('2019-09-11 11:49:36','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56953\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:49:36','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										\'TM002\',\n										\'1\',\n										\'20\',\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 = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-11 11:49:36','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27110\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM002 - CHICKEN x 20 @ 8.5\',\n											\'-170\')'),('2019-09-11 11:49:36','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27110\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'713.95\')'),('2019-09-11 11:49:36','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27110\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-58.95\')'),('2019-09-11 11:49:36','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000004263256414560601\n								WHERE counterindex = \'122756\''),('2019-09-11 11:53:13','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								\'27614\',\n								\'TM002\',\n								\'1\',\n								\'18827\',\n								\'\',\n								\'2019-09-11 11:53\',\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-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 11:53:13','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					\'27614\',\n					\'C001\',\n					\'8\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 11:53:20','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27111\')\n			WHERE orderno= \'27614\''),('2019-09-11 11:53:20','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									\'27111\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-12\',\n									\'2019-09-11 11-53-20\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27614\',\n									\'120\',\n									\'10.8\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 11:53:20','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34265\',\n									\'1\',\n									\'10.8\')'),('2019-09-11 11:53:20','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27614\'\n							AND orderlineno = \'0\''),('2019-09-11 11:53:20','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-11 11:53:20','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														\'27111\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM002\',\n														\'1\',\n														\'8\',\n														\'94\',\n														\'27614\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-4630.4\',\n														\'\' )'),('2019-09-11 11:53:20','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56954\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 11:53:20','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										\'120\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'15\',\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 = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-11 11:53:20','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27111\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM002 - C001 x 15 @ 8\',\n											\'-120\')'),('2019-09-11 11:53:20','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27111\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'130.8\')'),('2019-09-11 11:53:20','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27111\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-10.8\')'),('2019-09-11 11:53:20','zaabed','UPDATE gltrans SET amount = amount - 0.000000000000010658141036401503\n								WHERE counterindex = \'122762\''),('2019-09-11 12:24:49','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								\'27615\',\n								\'TM044\',\n								\'C008\',\n								\'pick up\',\n								\'\',\n								\'2019-09-11 12:24\',\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-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 12:24:49','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					\'27615\',\n					\'LM\',\n					\'17.43\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 12:24:54','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27112\')\n			WHERE orderno= \'27615\''),('2019-09-11 12:24:54','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									\'27112\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-12\',\n									\'2019-09-11 12-24-54\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27615\',\n									\'87.15\',\n									\'7.84\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 12:24:54','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34266\',\n									\'1\',\n									\'7.8435\')'),('2019-09-11 12:24:54','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27615\'\n							AND orderlineno = \'0\''),('2019-09-11 12:24:54','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-11 12:24:54','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 (\'LM\',\n														10,\n														\'27112\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM044\',\n														\'C008\',\n														\'17.43\',\n														\'94\',\n														\'27615\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-32309.78\',\n														\'\' )'),('2019-09-11 12:24:54','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56955\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 12:24:54','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										\'87.15\',\n										\'0\',\n										\'TM044\',\n										\'C008\',\n										\'5\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-11 12:24:54','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27112\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM044 - LM x 5 @ 17.43\',\n											\'-87.15\')'),('2019-09-11 12:24:54','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27112\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'94.99\')'),('2019-09-11 12:24:54','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27112\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-7.84\')'),('2019-09-11 12:24:54','zaabed','UPDATE gltrans SET amount = amount - -0.000000000000010658141036401503\n								WHERE counterindex = \'122765\''),('2019-09-11 12:51:47','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								\'27616\',\n								\'TM047\',\n								\'D001\',\n								\'AUGUST\',\n								\'\',\n								\'2019-09-11 12:51\',\n								\'DE\',\n								\'10\',\n								\'DOROTHYS KITCHEN\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 12:51:47','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					\'27616\',\n					\'LB\',\n					\'119.98\',\n					\'1\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 12:51:47','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					\'27616\',\n					\'BF\',\n					\'823.13\',\n					\'1\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 12:52:17','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27113\')\n			WHERE orderno= \'27616\''),('2019-09-11 12:52: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									\'27113\',\n									10,\n									\'TM047\',\n									\'D001\',\n									\'2019-09-12\',\n									\'2019-09-11 12-52-17\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27616\',\n									\'943.11\',\n									\'10.8\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 12:52:17','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34267\',\n									\'1\',\n									\'10.7982\')'),('2019-09-11 12:52:17','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 1,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27616\'\n							AND orderlineno = \'0\''),('2019-09-11 12:52:17','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 1\n						WHERE locstock.stockid = \'LB\'\n						AND loccode = \'AN\''),('2019-09-11 12:52: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 (\'LB\',\n														10,\n														\'27113\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM047\',\n														\'D001\',\n														\'119.98\',\n														\'94\',\n														\'27616\',\n														\'-1\',\n														\'0\',\n														\'0.0000\',\n														\'-3441.06\',\n														\'\' )'),('2019-09-11 12:52:17','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56956\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-11 12:52: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										\'119.98\',\n										\'0\',\n										\'TM047\',\n										\'D001\',\n										\'1\',\n										\'0\',\n										\'LB\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LB\'\n								AND custbranch.debtorno = \'TM047\'\n								AND custbranch.branchcode=\'D001\''),('2019-09-11 12:52:17','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27113\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM047 - LB x 1 @ 119.98\',\n											\'-119.98\')'),('2019-09-11 12:52:17','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 1,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27616\'\n							AND orderlineno = \'1\''),('2019-09-11 12:52:17','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 1\n						WHERE locstock.stockid = \'BF\'\n						AND loccode = \'AN\''),('2019-09-11 12:52: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 (\'BF\',\n														10,\n														\'27113\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM047\',\n														\'D001\',\n														\'823.13\',\n														\'94\',\n														\'27616\',\n														\'-1\',\n														\'0\',\n														\'0.0000\',\n														\'-6583.71\',\n														\'\' )'),('2019-09-11 12:52:17','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56957\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-11 12:52: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										\'823.13\',\n										\'0\',\n										\'TM047\',\n										\'D001\',\n										\'1\',\n										\'0\',\n										\'BF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BF\'\n								AND custbranch.debtorno = \'TM047\'\n								AND custbranch.branchcode=\'D001\''),('2019-09-11 12:52:17','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27113\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM047 - BF x 1 @ 823.13\',\n											\'-823.13\')'),('2019-09-11 12:52:17','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27113\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM047\',\n										\'953.91\')'),('2019-09-11 12:52:17','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27113\',\n											\'2019-09-12\',\n											\'94\',\n											\'2300\',\n											\'TM047\',\n											\'-10.8\')'),('2019-09-11 12:52:17','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000004618527782440651\n								WHERE counterindex = \'122768\''),('2019-09-11 12:54:32','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								\'27617\',\n								\'TM047\',\n								\'D001\',\n								\'AUGUST\',\n								\'\',\n								\'2019-09-11 12:54\',\n								\'DE\',\n								\'10\',\n								\'DOROTHYS KITCHEN\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'2019-09-12\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-11 12:54:32','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					\'27617\',\n					\'BF\',\n					\'120.54\',\n					\'1\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-11\'\n				)'),('2019-09-11 12:54:41','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27114\')\n			WHERE orderno= \'27617\''),('2019-09-11 12:54: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									\'27114\',\n									10,\n									\'TM047\',\n									\'D001\',\n									\'2019-09-12\',\n									\'2019-09-11 12-54-41\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27617\',\n									\'120.54\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-11 12:54:41','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34268\',\n									\'1\',\n									\'0\')'),('2019-09-11 12:54:41','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 1,\n								actualdispatchdate = \'2019-09-12\',\n								completed=1\n							WHERE orderno = \'27617\'\n							AND orderlineno = \'0\''),('2019-09-11 12:54:41','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 1\n						WHERE locstock.stockid = \'BF\'\n						AND loccode = \'AN\''),('2019-09-11 12:54: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 (\'BF\',\n														10,\n														\'27114\',\n														\'AN\',\n														\'2019-09-12\',\n														\'TM047\',\n														\'D001\',\n														\'120.54\',\n														\'94\',\n														\'27617\',\n														\'-1\',\n														\'0\',\n														\'0.0000\',\n														\'-6584.71\',\n														\'\' )'),('2019-09-11 12:54:41','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56958\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-11 12:54: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										\'120.54\',\n										\'0\',\n										\'TM047\',\n										\'D001\',\n										\'1\',\n										\'0\',\n										\'BF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'BF\'\n								AND custbranch.debtorno = \'TM047\'\n								AND custbranch.branchcode=\'D001\''),('2019-09-11 12:54:41','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27114\',\n											\'2019-09-12\',\n											\'94\',\n											\'4100\',\n											\'TM047 - BF x 1 @ 120.54\',\n											\'-120.54\')'),('2019-09-11 12:54:41','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27114\',\n										\'2019-09-12\',\n										\'94\',\n										\'1100\',\n										\'TM047\',\n										\'120.54\')'),('2019-09-11 16:21:52','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						\'4727\',\n						12,\n						\'TM064\',\n						\'\',\n						\'2019-09-11\',\n						\'2019-09-11 16-21-52\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-15220.22\',\n						\'0\',\n						\'WBC# 023705\'\n					)'),('2019-09-11 16:21:52','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-11\',\n						lastpaid=\'15220.22\'\n					WHERE debtorsmaster.debtorno=\'TM064\''),('2019-09-11 16:21:52','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			\'4727\',\n			\'1100\',\n			\'WBC# 023705\',\n			\'1\',\n			\'1\',\n			\'2019-09-11\',\n			\'Cheque\',\n			\'15220.22\',\n			\'FJD\'\n		)'),('2019-09-11 16:21:52','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4727\',\n					\'2019-09-11\',\n					\'94\',\n					\'1100\',\n					\'WBC# 023705\',\n					\'15220.22\'\n				)'),('2019-09-11 16:21:52','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4727\',\n							\'2019-09-11\',\n							\'94\',\n							\'1100\',\n							\'WBC# 023705\',\n							\'-15220.22\'\n							)'),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'4499.52\',\n								\'34269\',\n								\'32725\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'4499.52\',\n						settled = \'1\'\n						WHERE id = \'32725\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1499.84\',\n								\'34269\',\n								\'32987\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1499.84\',\n						settled = \'1\'\n						WHERE id = \'32987\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'2999.68\',\n								\'34269\',\n								\'33073\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'2999.68\',\n						settled = \'1\'\n						WHERE id = \'33073\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'331.8\',\n								\'34269\',\n								\'33392\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'331.8\',\n						settled = \'1\'\n						WHERE id = \'33392\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1658.98\',\n								\'34269\',\n								\'33393\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1658.98\',\n						settled = \'1\'\n						WHERE id = \'33393\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1244.24\',\n								\'34269\',\n								\'33458\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1244.24\',\n						settled = \'1\'\n						WHERE id = \'33458\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1658.98\',\n								\'34269\',\n								\'33635\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1658.98\',\n						settled = \'1\'\n						WHERE id = \'33635\''),('2019-09-11 16:22:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1327.18\',\n								\'34269\',\n								\'33709\'\n							)'),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1327.18\',\n						settled = \'1\'\n						WHERE id = \'33709\''),('2019-09-11 16:22:43','jhairud','UPDATE debtortrans\n				SET alloc = \'-15220.22\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34269\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'0.02\',\n								\'34253\',\n								\'34015\'\n							)'),('2019-09-11 16:41:09','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'0.02\',\n						settled = \'0\'\n						WHERE id = \'34015\''),('2019-09-11 16:41:09','jhairud','DELETE FROM custallocns WHERE id = \'30378\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'800.06\',\n								\'34253\',\n								\'33781\'\n							)'),('2019-09-11 16:41:09','jhairud','DELETE FROM custallocns WHERE id = \'30379\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'669.36\',\n								\'34253\',\n								\'33782\'\n							)'),('2019-09-11 16:41:09','jhairud','DELETE FROM custallocns WHERE id = \'30380\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'1000.08\',\n								\'34253\',\n								\'33810\'\n							)'),('2019-09-11 16:41:09','jhairud','DELETE FROM custallocns WHERE id = \'30381\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'549.36\',\n								\'34253\',\n								\'33850\'\n							)'),('2019-09-11 16:41:09','jhairud','DELETE FROM custallocns WHERE id = \'30382\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'125.02\',\n								\'34253\',\n								\'33854\'\n							)'),('2019-09-11 16:41:09','jhairud','DELETE FROM custallocns WHERE id = \'30383\''),('2019-09-11 16:41:09','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-11\',\n								\'674.38\',\n								\'34253\',\n								\'33917\'\n							)'),('2019-09-11 16:41:09','jhairud','UPDATE debtortrans\n				SET alloc = \'-3818.28\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34253\''),('2019-09-12 11:06:32','jhairud','UPDATE config SET confvalue = \'2019-09-12\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-12 11:55:35','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								\'27618\',\n								\'TM050\',\n								\'F019\',\n								\'141547nasinu\',\n								\'\',\n								\'2019-09-12 11:55\',\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-13\',\n								\'2019-09-13\',\n								\'2019-09-13\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-12 11:55:35','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					\'27618\',\n					\'FF\',\n					\'15.14\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-12\'\n				)'),('2019-09-12 11:55:42','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27115\')\n			WHERE orderno= \'27618\''),('2019-09-12 11:55:42','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									\'27115\',\n									10,\n									\'TM050\',\n									\'F019\',\n									\'2019-09-13\',\n									\'2019-09-12 11-55-42\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27618\',\n									\'1211.2\',\n									\'109.01\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-12 11:55:42','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34270\',\n									\'1\',\n									\'109.008\')'),('2019-09-12 11:55:42','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-13\',\n								completed=1\n							WHERE orderno = \'27618\'\n							AND orderlineno = \'0\''),('2019-09-12 11:55:42','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-12 11:55:42','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														\'27115\',\n														\'AN\',\n														\'2019-09-13\',\n														\'TM050\',\n														\'F019\',\n														\'15.14\',\n														\'94\',\n														\'27618\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-21383.17\',\n														\'\' )'),('2019-09-12 11:55:42','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56959\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-12 11:55:42','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										\'1211.2\',\n										\'0\',\n										\'TM050\',\n										\'F019\',\n										\'80\',\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-12 11:55:42','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27115\',\n											\'2019-09-13\',\n											\'94\',\n											\'4100\',\n											\'TM050 - FF x 80 @ 15.14\',\n											\'-1211.2\')'),('2019-09-12 11:55:42','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27115\',\n										\'2019-09-13\',\n										\'94\',\n										\'1100\',\n										\'TM050\',\n										\'1320.21\')'),('2019-09-12 11:55:42','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27115\',\n											\'2019-09-13\',\n											\'94\',\n											\'2300\',\n											\'TM050\',\n											\'-109.01\')'),('2019-09-12 11:57: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								\'27619\',\n								\'TM074\',\n								\'P001\',\n								\'sport/c\',\n								\'\',\n								\'2019-09-12 11:57\',\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-13\',\n								\'2019-09-13\',\n								\'2019-09-13\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-12 11:57: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					\'27619\',\n					\'LC\',\n					\'18.81\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-12\'\n				)'),('2019-09-12 11:57: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					\'1\',\n					\'27619\',\n					\'LL\',\n					\'25\',\n					\'4.35\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-12\'\n				)'),('2019-09-12 11:57: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					\'2\',\n					\'27619\',\n					\'FF\',\n					\'17\',\n					\'20\',\n					\'0\',\n					\'marlin\',\n					\'\',\n					\'2019-09-12\'\n				)'),('2019-09-12 11:57:50','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27116\')\n			WHERE orderno= \'27619\''),('2019-09-12 11:57: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									\'27116\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-13\',\n									\'2019-09-12 11-57-50\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27619\',\n									\'730.9\',\n									\'65.78\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-12 11:57:50','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34271\',\n									\'1\',\n									\'65.781\')'),('2019-09-12 11:57:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-13\',\n								completed=1\n							WHERE orderno = \'27619\'\n							AND orderlineno = \'0\''),('2019-09-12 11:57:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'LC\'\n						AND loccode = \'AN\''),('2019-09-12 11:57: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 (\'LC\',\n														10,\n														\'27116\',\n														\'AN\',\n														\'2019-09-13\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27619\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-7214.98\',\n														\'\' )'),('2019-09-12 11:57:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56960\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-12 11:57: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										\'282.15\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'15\',\n										\'0\',\n										\'LC\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LC\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-12 11:57:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27116\',\n											\'2019-09-13\',\n											\'94\',\n											\'4100\',\n											\'TM074 - LC x 15 @ 18.81\',\n											\'-282.15\')'),('2019-09-12 11:57:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 4.35,\n								actualdispatchdate = \'2019-09-13\',\n								completed=1\n							WHERE orderno = \'27619\'\n							AND orderlineno = \'1\''),('2019-09-12 11:57:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 4.35\n						WHERE locstock.stockid = \'LL\'\n						AND loccode = \'AN\''),('2019-09-12 11:57: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 (\'LL\',\n														10,\n														\'27116\',\n														\'AN\',\n														\'2019-09-13\',\n														\'TM074\',\n														\'P001\',\n														\'25\',\n														\'94\',\n														\'27619\',\n														\'-4.35\',\n														\'0\',\n														\'0.0000\',\n														\'-51715.84\',\n														\'\' )'),('2019-09-12 11:57:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56961\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-12 11:57: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										\'108.75\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'4.35\',\n										\'0\',\n										\'LL\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LL\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-12 11:57:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27116\',\n											\'2019-09-13\',\n											\'94\',\n											\'4100\',\n											\'TM074 - LL x 4.35 @ 25\',\n											\'-108.75\')'),('2019-09-12 11:57:50','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-13\',\n								completed=1\n							WHERE orderno = \'27619\'\n							AND orderlineno = \'2\''),('2019-09-12 11:57:50','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-12 11:57: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 (\'FF\',\n														10,\n														\'27116\',\n														\'AN\',\n														\'2019-09-13\',\n														\'TM074\',\n														\'P001\',\n														\'17\',\n														\'94\',\n														\'27619\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-21403.17\',\n														\'marlin\' )'),('2019-09-12 11:57:50','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56962\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-12 11:57: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										\'340\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\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-12 11:57:50','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27116\',\n											\'2019-09-13\',\n											\'94\',\n											\'4100\',\n											\'TM074 - FF x 20 @ 17\',\n											\'-340\')'),('2019-09-12 11:57:50','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27116\',\n										\'2019-09-13\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'796.68\')'),('2019-09-12 11:57:50','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27116\',\n											\'2019-09-13\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-65.78\')'),('2019-09-12 12:01:26','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								\'27620\',\n								\'TM051\',\n								\'F021\',\n								\'0161\',\n								\'\',\n								\'2019-09-12 12:01\',\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-13\',\n								\'2019-09-13\',\n								\'2019-09-13\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-12 12:01:26','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					\'27620\',\n					\'C001\',\n					\'6.88\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-12\'\n				)'),('2019-09-12 12:01:36','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27117\')\n			WHERE orderno= \'27620\''),('2019-09-12 12:01:36','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									\'27117\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-13\',\n									\'2019-09-12 12-01-36\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27620\',\n									\'344\',\n									\'30.96\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-12 12:01:36','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34272\',\n									\'1\',\n									\'30.96\')'),('2019-09-12 12:01:36','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-13\',\n								completed=1\n							WHERE orderno = \'27620\'\n							AND orderlineno = \'0\''),('2019-09-12 12:01:36','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-12 12:01:36','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														\'27117\',\n														\'AN\',\n														\'2019-09-13\',\n														\'TM051\',\n														\'F021\',\n														\'6.88\',\n														\'94\',\n														\'27620\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-4680.4\',\n														\'\' )'),('2019-09-12 12:01:36','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56963\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-12 12:01:36','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-12 12:01:36','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27117\',\n											\'2019-09-13\',\n											\'94\',\n											\'4100\',\n											\'TM051 - C001 x 50 @ 6.88\',\n											\'-344\')'),('2019-09-12 12:01:36','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27117\',\n										\'2019-09-13\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'374.96\')'),('2019-09-12 12:01:36','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27117\',\n											\'2019-09-13\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-30.96\')'),('2019-09-12 12:03: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								\'27621\',\n								\'TM087\',\n								\'S051\',\n								\'12404\',\n								\'\',\n								\'2019-09-12 12:03\',\n								\'DE\',\n								\'10\',\n								\'SUVA MOTOR INN\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-13\',\n								\'2019-09-13\',\n								\'2019-09-13\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-12 12:03: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					\'27621\',\n					\'CHICKEN\',\n					\'18.00\',\n					\'10\',\n					\'0\',\n					\'supreme\',\n					\'\',\n					\'2019-09-12\'\n				)'),('2019-09-12 12:03:26','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27118\')\n			WHERE orderno= \'27621\''),('2019-09-12 12:03:26','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									\'27118\',\n									10,\n									\'TM087\',\n									\'S051\',\n									\'2019-09-13\',\n									\'2019-09-12 12-03-26\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27621\',\n									\'180\',\n									\'16.2\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-12 12:03:26','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34273\',\n									\'1\',\n									\'16.2\')'),('2019-09-12 12:03:26','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-13\',\n								completed=1\n							WHERE orderno = \'27621\'\n							AND orderlineno = \'0\''),('2019-09-12 12:03:26','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-12 12:03:26','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														\'27118\',\n														\'AN\',\n														\'2019-09-13\',\n														\'TM087\',\n														\'S051\',\n														\'18\',\n														\'94\',\n														\'27621\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-88452.42\',\n														\'supreme\' )'),('2019-09-12 12:03:26','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56964\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-12 12:03:26','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										\'180\',\n										\'0\',\n										\'TM087\',\n										\'S051\',\n										\'10\',\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 = \'TM087\'\n								AND custbranch.branchcode=\'S051\''),('2019-09-12 12:03:26','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27118\',\n											\'2019-09-13\',\n											\'94\',\n											\'4100\',\n											\'TM087 - CHICKEN x 10 @ 18\',\n											\'-180\')'),('2019-09-12 12:03:26','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27118\',\n										\'2019-09-13\',\n										\'94\',\n										\'1100\',\n										\'TM087\',\n										\'196.2\')'),('2019-09-12 12:03:26','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27118\',\n											\'2019-09-13\',\n											\'94\',\n											\'2300\',\n											\'TM087\',\n											\'-16.2\')'),('2019-09-13 08:52:03','jhairud','UPDATE config SET confvalue = \'2019-09-13\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-13 09:54: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								\'27622\',\n								\'133\',\n								\'133\',\n								\'\',\n								\'\',\n								\'2019-09-13 09:54\',\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-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 09:54: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					\'27622\',\n					\'FISH\',\n					\'12.50\',\n					\'10\',\n					\'0\',\n					\'WAHOO MIDDLE CUT\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 09:55:17','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27119\')\n			WHERE orderno= \'27622\''),('2019-09-13 09:55: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									\'27119\',\n									10,\n									\'133\',\n									\'133\',\n									\'2019-09-14\',\n									\'2019-09-13 09-55-17\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27622\',\n									\'125\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'WAHOO MIDDLE CU\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 09:55:17','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34274\',\n									\'1\',\n									\'0\')'),('2019-09-13 09:55:17','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27622\'\n							AND orderlineno = \'0\''),('2019-09-13 09:55:17','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-13 09:55: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 (\'FISH\',\n														10,\n														\'27119\',\n														\'AN\',\n														\'2019-09-14\',\n														\'133\',\n														\'133\',\n														\'12.5\',\n														\'94\',\n														\'27622\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-45424.0701\',\n														\'WAHOO MIDDLE CUT\' )'),('2019-09-13 09:55:17','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56965\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-13 09:55: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										\'125\',\n										\'0\',\n										\'133\',\n										\'133\',\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 = \'133\'\n								AND custbranch.branchcode=\'133\''),('2019-09-13 09:55:17','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27119\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'133 - FISH x 10 @ 12.5\',\n											\'-125\')'),('2019-09-13 09:55:17','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27119\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'133\',\n										\'125\')'),('2019-09-13 10:34:44','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								\'27623\',\n								\'TM051\',\n								\'F021\',\n								\'0162\',\n								\'0162\\\\r\\\\nNasese\\\\r\\\\nSuva\',\n								\'2019-09-13 10:34\',\n								\'DE\',\n								\'10\',\n								\'FIJI POLICE FORCE OFFICERS MESS\',\n								\'Nasese\',\n								\'Suva\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 10:34:44','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					\'27623\',\n					\'WS\',\n					\'18.34\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 10:35:11','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27120\')\n			WHERE orderno= \'27623\''),('2019-09-13 10:35:11','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									\'27120\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-14\',\n									\'2019-09-13 10-35-11\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27623\',\n									\'91.7\',\n									\'8.25\',\n									\'0\',\n									\'1\',\n									\'0162\\r\\nNasese\\r\\nSuva\',\n									\'10\',\n									\'0162 Nasese Suv\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 10:35:11','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34275\',\n									\'1\',\n									\'8.253\')'),('2019-09-13 10:35:11','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27623\'\n							AND orderlineno = \'0\''),('2019-09-13 10:35:11','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'WS\'\n						AND loccode = \'AN\''),('2019-09-13 10:35:11','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 (\'WS\',\n														10,\n														\'27120\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM051\',\n														\'F021\',\n														\'18.34\',\n														\'94\',\n														\'27623\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-59504.03\',\n														\'\' )'),('2019-09-13 10:35:11','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56966\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 10:35:11','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										\'91.7\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'5\',\n										\'0\',\n										\'WS\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'WS\'\n								AND custbranch.debtorno = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-13 10:35:11','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27120\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM051 - WS x 5 @ 18.34\',\n											\'-91.7\')'),('2019-09-13 10:35:11','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27120\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'99.95\')'),('2019-09-13 10:35:11','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27120\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-8.25\')'),('2019-09-13 11:14:54','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								\'27624\',\n								\'TM074\',\n								\'P001\',\n								\'\',\n								\'Wishbone, Centre Point\',\n								\'2019-09-13 11:14\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Wishbone, Centre Point\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 11:14:54','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					\'27624\',\n					\'LC\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 11:15:10','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27121\')\n			WHERE orderno= \'27624\''),('2019-09-13 11:15:10','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									\'27121\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-14\',\n									\'2019-09-13 11-15-10\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27624\',\n									\'376.2\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'Wishbone, Centre Point\',\n									\'10\',\n									\'Wishbone, Centr\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 11:15:10','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34276\',\n									\'1\',\n									\'33.858\')'),('2019-09-13 11:15:10','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27624\'\n							AND orderlineno = \'0\''),('2019-09-13 11:15:10','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'LC\'\n						AND loccode = \'AN\''),('2019-09-13 11:15:10','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 (\'LC\',\n														10,\n														\'27121\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27624\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-7234.98\',\n														\'\' )'),('2019-09-13 11:15:10','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56967\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 11:15:10','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										\'LC\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LC\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-13 11:15:10','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27121\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM074 - LC x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-13 11:15:10','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27121\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'410.06\')'),('2019-09-13 11:15:10','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27121\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-33.86\')'),('2019-09-13 11:17: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								\'27625\',\n								\'TM074\',\n								\'P001\',\n								\'Pizza King Nakasi\',\n								\'Pizza King Nakasi\',\n								\'2019-09-13 11:17\',\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-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 11:17: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					\'27625\',\n					\'LC\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 11:17: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					\'1\',\n					\'27625\',\n					\'MBT\',\n					\'9.50\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 11:17:42','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27122\')\n			WHERE orderno= \'27625\''),('2019-09-13 11:17:42','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									\'27122\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-14\',\n									\'2019-09-13 11-17-42\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27625\',\n									\'518.7\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'Pizza King Nakasi\',\n									\'10\',\n									\'Pizza King Naka\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 11:17:42','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34277\',\n									\'1\',\n									\'33.858\')'),('2019-09-13 11:17:42','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27625\'\n							AND orderlineno = \'0\''),('2019-09-13 11:17:42','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'LC\'\n						AND loccode = \'AN\''),('2019-09-13 11:17:42','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 (\'LC\',\n														10,\n														\'27122\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27625\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-7254.98\',\n														\'\' )'),('2019-09-13 11:17:42','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56968\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 11:17:42','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										\'LC\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LC\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-13 11:17:42','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27122\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM074 - LC x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-13 11:17:42','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27625\'\n							AND orderlineno = \'1\''),('2019-09-13 11:17:42','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-13 11:17:42','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														\'27122\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27625\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-7492.6\',\n														\'\' )'),('2019-09-13 11:17:42','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56969\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-13 11:17:42','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-13 11:17:42','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27122\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 15 @ 9.5\',\n											\'-142.5\')'),('2019-09-13 11:17:42','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27122\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'552.56\')'),('2019-09-13 11:17:42','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27122\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-33.86\')'),('2019-09-13 11:17:42','jhairud','UPDATE gltrans SET amount = amount - -0.00000000000009947598300641403\n								WHERE counterindex = \'122798\''),('2019-09-13 14:42:47','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								\'27626\',\n								\'155\',\n								\'155\',\n								\'PO93061-000897\',\n								\'PO93061-000897\',\n								\'2019-09-13 14:42\',\n								\'DE\',\n								\'1\',\n								\'Taveuni Prison\',\n								\'Taveuni\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 14:42:47','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					\'27626\',\n					\'LSP\',\n					\'8.72\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 14:42:47','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					\'27626\',\n					\'LN\',\n					\'11.93\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 14:43:13','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27123\')\n			WHERE orderno= \'27626\''),('2019-09-13 14:43:13','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									\'27123\',\n									10,\n									\'155\',\n									\'155\',\n									\'2019-09-14\',\n									\'2019-09-13 14-43-13\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27626\',\n									\'890.2\',\n									\'80.12\',\n									\'0\',\n									\'1\',\n									\'PO93061-000897\',\n									\'1\',\n									\'PO93061-000897\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 14:43:13','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34278\',\n									\'1\',\n									\'80.118\')'),('2019-09-13 14:43:13','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27626\'\n							AND orderlineno = \'0\''),('2019-09-13 14:43:13','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'LSP\'\n						AND loccode = \'AN\''),('2019-09-13 14:43:13','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														\'27123\',\n														\'AN\',\n														\'2019-09-14\',\n														\'155\',\n														\'155\',\n														\'8.72\',\n														\'94\',\n														\'27626\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-39954.34\',\n														\'\' )'),('2019-09-13 14:43:13','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56970\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 14:43:13','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.4\',\n										\'0\',\n										\'155\',\n										\'155\',\n										\'20\',\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 = \'155\'\n								AND custbranch.branchcode=\'155\''),('2019-09-13 14:43:13','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27123\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'155 - LSP x 20 @ 8.72\',\n											\'-174.4\')'),('2019-09-13 14:43:13','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27626\'\n							AND orderlineno = \'1\''),('2019-09-13 14:43:13','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-13 14:43:13','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														\'27123\',\n														\'AN\',\n														\'2019-09-14\',\n														\'155\',\n														\'155\',\n														\'11.93\',\n														\'94\',\n														\'27626\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-260425.15\',\n														\'\' )'),('2019-09-13 14:43:13','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56971\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 14:43:13','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										\'715.8\',\n										\'0\',\n										\'155\',\n										\'155\',\n										\'60\',\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 = \'155\'\n								AND custbranch.branchcode=\'155\''),('2019-09-13 14:43:13','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27123\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'155 - LN x 60 @ 11.93\',\n											\'-715.8\')'),('2019-09-13 14:43:13','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27123\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'155\',\n										\'970.32\')'),('2019-09-13 14:43:13','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27123\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'155\',\n											\'-80.12\')'),('2019-09-13 14:43:13','jhairud','UPDATE gltrans SET amount = amount - 0.00000000000011368683772161603\n								WHERE counterindex = \'122802\''),('2019-09-13 15:21:30','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								\'27627\',\n								\'TM044\',\n								\'C008\',\n								\'\',\n								\'\',\n								\'2019-09-13 15:21\',\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-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 15:21:30','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					\'27627\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 15:21:49','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27124\')\n			WHERE orderno= \'27627\''),('2019-09-13 15:21:49','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									\'27124\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-14\',\n									\'2019-09-13 15-21-49\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27627\',\n									\'376.2\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'SUVA\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 15:21:49','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34279\',\n									\'1\',\n									\'33.858\')'),('2019-09-13 15:21:49','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27627\'\n							AND orderlineno = \'0\''),('2019-09-13 15:21:49','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-13 15:21:49','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														\'27124\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM044\',\n														\'C008\',\n														\'18.81\',\n														\'94\',\n														\'27627\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307292.65\',\n														\'\' )'),('2019-09-13 15:21:49','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56972\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 15:21:49','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										\'TM044\',\n										\'C008\',\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 = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-13 15:21:49','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27124\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-13 15:21:49','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27124\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'410.06\')'),('2019-09-13 15:21:49','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27124\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-33.86\')'),('2019-09-13 15:28:36','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								\'27628\',\n								\'TM092\',\n								\'T031\',\n								\'448354\',\n								\'448354\\\\r\\\\nMadras Masala\\\\r\\\\nTappoo City\',\n								\'2019-09-13 15:28\',\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-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 15:28:36','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					\'27628\',\n					\'LPP\',\n					\'18.35\',\n					\'30\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 15:28:36','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					\'27628\',\n					\'FISH\',\n					\'12.00\',\n					\'10\',\n					\'0\',\n					\'Marlin\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 15:29:55','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27125\')\n			WHERE orderno= \'27628\''),('2019-09-13 15:29:55','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									\'27125\',\n									10,\n									\'TM092\',\n									\'T031\',\n									\'2019-09-14\',\n									\'2019-09-13 15-29-55\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27628\',\n									\'670.5\',\n									\'60.35\',\n									\'0\',\n									\'1\',\n									\'448354\\r\\nMadras Masala\\r\\nTappoo City\',\n									\'10\',\n									\'448354 Madras M\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 15:29:55','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34280\',\n									\'1\',\n									\'60.345\')'),('2019-09-13 15:29:55','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27628\'\n							AND orderlineno = \'0\''),('2019-09-13 15:29:55','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'LPP\'\n						AND loccode = \'AN\''),('2019-09-13 15:29:55','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														\'27125\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM092\',\n														\'T031\',\n														\'18.35\',\n														\'94\',\n														\'27628\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-58693.52\',\n														\'\' )'),('2019-09-13 15:29:55','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56973\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 15:29:55','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-13 15:29:55','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27125\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM092 - LPP x 30 @ 18.35\',\n											\'-550.5\')'),('2019-09-13 15:29:55','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27628\'\n							AND orderlineno = \'1\''),('2019-09-13 15:29:55','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-13 15:29:55','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														\'27125\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM092\',\n														\'T031\',\n														\'12\',\n														\'94\',\n														\'27628\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-45434.0701\',\n														\'Marlin\' )'),('2019-09-13 15:29:55','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56974\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 15:29:55','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-13 15:29:55','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27125\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM092 - FISH x 10 @ 12\',\n											\'-120\')'),('2019-09-13 15:29:55','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27125\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM092\',\n										\'730.85\')'),('2019-09-13 15:29:55','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27125\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM092\',\n											\'-60.35\')'),('2019-09-13 15:35:15','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								\'27629\',\n								\'TM058\',\n								\'J012\',\n								\'406/PO1/20/1246\',\n								\'406/PO1/20/1246\\\\r\\\\nMamacita\\\\r\\\\nDamodar City\',\n								\'2019-09-13 15:35\',\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-09-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 15:35:15','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					\'27629\',\n					\'LM\',\n					\'19.00\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 15:35:37','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27126\')\n			WHERE orderno= \'27629\''),('2019-09-13 15:35:37','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									\'27126\',\n									10,\n									\'TM058\',\n									\'J012\',\n									\'2019-09-14\',\n									\'2019-09-13 15-35-37\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27629\',\n									\'285\',\n									\'25.65\',\n									\'0\',\n									\'1\',\n									\'406/PO1/20/1246\\r\\nMamacita\\r\\nDamodar City\',\n									\'10\',\n									\'406/PO1/20/1246\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 15:35:37','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34281\',\n									\'1\',\n									\'25.65\')'),('2019-09-13 15:35:37','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27629\'\n							AND orderlineno = \'0\''),('2019-09-13 15:35:37','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-13 15:35:37','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														\'27126\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM058\',\n														\'J012\',\n														\'19\',\n														\'94\',\n														\'27629\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-32324.78\',\n														\'\' )'),('2019-09-13 15:35:37','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56975\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 15:35:37','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										\'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-09-13 15:35:37','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27126\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM058 - LM x 15 @ 19\',\n											\'-285\')'),('2019-09-13 15:35:37','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27126\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM058\',\n										\'310.65\')'),('2019-09-13 15:35:37','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27126\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM058\',\n											\'-25.65\')'),('2019-09-13 15:37:52','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								\'27630\',\n								\'TM087\',\n								\'S051\',\n								\'12404\',\n								\'12404\',\n								\'2019-09-13 15:37\',\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-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 15:37:52','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					\'27630\',\n					\'WAHOO\',\n					\'22.00\',\n					\'11.9\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 15:39:53','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27127\')\n			WHERE orderno= \'27630\''),('2019-09-13 15:39:53','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									\'27127\',\n									10,\n									\'TM087\',\n									\'S051\',\n									\'2019-09-14\',\n									\'2019-09-13 15-39-53\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27630\',\n									\'261.8\',\n									\'23.56\',\n									\'0\',\n									\'1\',\n									\'12404\',\n									\'10\',\n									\'12404\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 15:39:53','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34282\',\n									\'1\',\n									\'23.562\')'),('2019-09-13 15:39:53','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 11.9,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27630\'\n							AND orderlineno = \'0\''),('2019-09-13 15:39:53','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 11.9\n						WHERE locstock.stockid = \'WAHOO\'\n						AND loccode = \'AN\''),('2019-09-13 15:39:53','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														\'27127\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM087\',\n														\'S051\',\n														\'22\',\n														\'94\',\n														\'27630\',\n														\'-11.9\',\n														\'0\',\n														\'0.0000\',\n														\'-52338.55\',\n														\'\' )'),('2019-09-13 15:39:53','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56976\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 15:39:53','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										\'261.8\',\n										\'0\',\n										\'TM087\',\n										\'S051\',\n										\'11.9\',\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-13 15:39:53','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27127\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM087 - WAHOO x 11.9 @ 22\',\n											\'-261.8\')'),('2019-09-13 15:39:53','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27127\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM087\',\n										\'285.36\')'),('2019-09-13 15:39:53','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27127\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM087\',\n											\'-23.56\')'),('2019-09-13 15:49:12','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								\'27631\',\n								\'TM074\',\n								\'P001\',\n								\'\',\n								\'Pizza King\\\\r\\\\nHarbour Center\',\n								\'2019-09-13 15:49\',\n								\'DE\',\n								\'10\',\n								\'PIZZA KING\',\n								\'Pizza King\',\n								\'Harbour Center\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Jhairud\',\n								\'0\',\n								\'AN\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'2019-09-14\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-13 15:49:12','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					\'27631\',\n					\'LC\',\n					\'18.81\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-13\'\n				)'),('2019-09-13 15:49:28','jhairud','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27128\')\n			WHERE orderno= \'27631\''),('2019-09-13 15: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									\'27128\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-14\',\n									\'2019-09-13 15-49-28\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27631\',\n									\'94.05\',\n									\'8.46\',\n									\'0\',\n									\'1\',\n									\'Pizza King\\r\\nHarbour Center\',\n									\'10\',\n									\'Pizza King Harb\',\n									\'1\',\n									\'Jhairud\')'),('2019-09-13 15:49:28','jhairud','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34283\',\n									\'1\',\n									\'8.4645\')'),('2019-09-13 15:49:28','jhairud','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-14\',\n								completed=1\n							WHERE orderno = \'27631\'\n							AND orderlineno = \'0\''),('2019-09-13 15:49:28','jhairud','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'LC\'\n						AND loccode = \'AN\''),('2019-09-13 15: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 (\'LC\',\n														10,\n														\'27128\',\n														\'AN\',\n														\'2019-09-14\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27631\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-7259.98\',\n														\'\' )'),('2019-09-13 15:49:28','jhairud','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56977\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-13 15: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										\'94.05\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'5\',\n										\'0\',\n										\'LC\',\n										custbranch.area,\n										1,\n										\'Jhairud\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LC\'\n								AND custbranch.debtorno = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-13 15:49:28','jhairud','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27128\',\n											\'2019-09-14\',\n											\'94\',\n											\'4100\',\n											\'TM074 - LC x 5 @ 18.81\',\n											\'-94.05\')'),('2019-09-13 15:49:28','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27128\',\n										\'2019-09-14\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'102.51\')'),('2019-09-13 15:49:28','jhairud','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27128\',\n											\'2019-09-14\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-8.46\')'),('2019-09-13 15:49:28','jhairud','UPDATE gltrans SET amount = amount - 0.000000000000007105427357601002\n								WHERE counterindex = \'122819\''),('2019-09-14 09:30:07','jhairud','UPDATE config SET confvalue = \'2019-09-14\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-17 10:55:51','zaabed','UPDATE config SET confvalue = \'2019-09-17\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-17 10:56:49','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								\'27632\',\n								\'TM074\',\n								\'P001\',\n								\'sport/c\',\n								\'\',\n								\'2019-09-17 10:56\',\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-18\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-17 10:56:49','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					\'27632\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 10:56:49','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					\'27632\',\n					\'FF\',\n					\'17\',\n					\'12.5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 10:57:08','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27129\')\n			WHERE orderno= \'27632\''),('2019-09-17 10:57:08','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									\'27129\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-18\',\n									\'2019-09-17 10-57-08\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27632\',\n									\'588.7\',\n									\'52.98\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-17 10:57:08','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34284\',\n									\'1\',\n									\'52.983\')'),('2019-09-17 10:57:08','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27632\'\n							AND orderlineno = \'0\''),('2019-09-17 10:57:08','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-17 10:57:08','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														\'27129\',\n														\'AN\',\n														\'2019-09-18\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27632\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307312.65\',\n														\'\' )'),('2019-09-17 10:57:08','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56978\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 10:57:08','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-17 10:57:08','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27129\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-17 10:57:08','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 12.5,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27632\'\n							AND orderlineno = \'1\''),('2019-09-17 10:57:08','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 12.5\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-17 10:57:08','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														\'27129\',\n														\'AN\',\n														\'2019-09-18\',\n														\'TM074\',\n														\'P001\',\n														\'17\',\n														\'94\',\n														\'27632\',\n														\'-12.5\',\n														\'0\',\n														\'0.0000\',\n														\'-21415.67\',\n														\'\' )'),('2019-09-17 10:57:08','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56979\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 10:57:08','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										\'212.5\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'12.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 = \'TM074\'\n								AND custbranch.branchcode=\'P001\''),('2019-09-17 10:57:08','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27129\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'TM074 - FF x 12.5 @ 17\',\n											\'-212.5\')'),('2019-09-17 10:57:08','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27129\',\n										\'2019-09-18\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'641.68\')'),('2019-09-17 10:57:08','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27129\',\n											\'2019-09-18\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-52.98\')'),('2019-09-17 10:57:08','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000009237055564881302\n								WHERE counterindex = \'122822\''),('2019-09-17 11:31:32','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								\'27633\',\n								\'TM074\',\n								\'P001\',\n								\'HARBOUR CENTER\',\n								\'\',\n								\'2019-09-17 11:31\',\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-18\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-17 11:31:32','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					\'27633\',\n					\'MBT\',\n					\'9.50\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 11:31:32','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					\'27633\',\n					\'CP\',\n					\'18.81\',\n					\'5\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 11:31:32','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					\'27633\',\n					\'SF500G\',\n					\'16.40\',\n					\'4.4\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 11:31:45','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27130\')\n			WHERE orderno= \'27633\''),('2019-09-17 11:31: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									\'27130\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-18\',\n									\'2019-09-17 11-31-45\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27633\',\n									\'261.21\',\n									\'8.46\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-17 11:31:45','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34285\',\n									\'1\',\n									\'8.4645\')'),('2019-09-17 11:31:45','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27633\'\n							AND orderlineno = \'0\''),('2019-09-17 11:31:45','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-17 11:31: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 (\'MBT\',\n														10,\n														\'27130\',\n														\'AN\',\n														\'2019-09-18\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27633\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-7502.6\',\n														\'\' )'),('2019-09-17 11:31:45','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56980\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-17 11:31: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										\'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-17 11:31:45','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27130\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 10 @ 9.5\',\n											\'-95\')'),('2019-09-17 11:31:45','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27633\'\n							AND orderlineno = \'1\''),('2019-09-17 11:31:45','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-17 11:31: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 (\'CP\',\n														10,\n														\'27130\',\n														\'AN\',\n														\'2019-09-18\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27633\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-307317.65\',\n														\'\' )'),('2019-09-17 11:31:45','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56981\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 11:31: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										\'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-17 11:31:45','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27130\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 5 @ 18.81\',\n											\'-94.05\')'),('2019-09-17 11:31:45','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 4.4,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27633\'\n							AND orderlineno = \'2\''),('2019-09-17 11:31:45','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 4.4\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-17 11:31: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 (\'SF500G\',\n														10,\n														\'27130\',\n														\'AN\',\n														\'2019-09-18\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27633\',\n														\'-4.4\',\n														\'0\',\n														\'0.0000\',\n														\'-9676.381\',\n														\'\' )'),('2019-09-17 11:31:45','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56982\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-17 11:31: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										\'72.16\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'4.4\',\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-17 11:31:45','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27130\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 4.4 @ 16.4\',\n											\'-72.16\')'),('2019-09-17 11:31:45','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27130\',\n										\'2019-09-18\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'269.67\')'),('2019-09-17 11:31:45','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27130\',\n											\'2019-09-18\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-8.46\')'),('2019-09-17 11:31:45','zaabed','UPDATE gltrans SET amount = amount - -0.000000000000021316282072803006\n								WHERE counterindex = \'122826\''),('2019-09-17 11:32:51','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								\'27634\',\n								\'TM009\',\n								\'30\',\n								\'16373 lp3\',\n								\'\',\n								\'2019-09-17 11:32\',\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-18\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-17 11:32:51','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					\'27634\',\n					\'LP\',\n					\'12.66\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 11:32:58','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27131\')\n			WHERE orderno= \'27634\''),('2019-09-17 11:32: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									\'27131\',\n									10,\n									\'TM009\',\n									\'30\',\n									\'2019-09-18\',\n									\'2019-09-17 11-32-58\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27634\',\n									\'506.4\',\n									\'45.58\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-17 11:32:58','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34286\',\n									\'1\',\n									\'45.576\')'),('2019-09-17 11:32:58','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27634\'\n							AND orderlineno = \'0\''),('2019-09-17 11:32:58','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'LP\'\n						AND loccode = \'AN\''),('2019-09-17 11:32: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 (\'LP\',\n														10,\n														\'27131\',\n														\'AN\',\n														\'2019-09-18\',\n														\'TM009\',\n														\'30\',\n														\'12.66\',\n														\'94\',\n														\'27634\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-111600.16\',\n														\'\' )'),('2019-09-17 11:32:58','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56983\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 11:32: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										\'506.4\',\n										\'0\',\n										\'TM009\',\n										\'30\',\n										\'40\',\n										\'0\',\n										\'LP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LP\'\n								AND custbranch.debtorno = \'TM009\'\n								AND custbranch.branchcode=\'30\''),('2019-09-17 11:32:58','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27131\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'TM009 - LP x 40 @ 12.66\',\n											\'-506.4\')'),('2019-09-17 11:32:58','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27131\',\n										\'2019-09-18\',\n										\'94\',\n										\'1100\',\n										\'TM009\',\n										\'551.98\')'),('2019-09-17 11:32:58','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27131\',\n											\'2019-09-18\',\n											\'94\',\n											\'2300\',\n											\'TM009\',\n											\'-45.58\')'),('2019-09-17 11:32:58','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000004263256414560601\n								WHERE counterindex = \'122831\''),('2019-09-17 11:58: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								\'27635\',\n								\'133\',\n								\'133\',\n								\'\',\n								\'\',\n								\'2019-09-17 11:58\',\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								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-17 11:58: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					\'27635\',\n					\'LCPS\',\n					\'15.13\',\n					\'4.68\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 11:58: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					\'1\',\n					\'27635\',\n					\'WH\',\n					\'12.50\',\n					\'6.54\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 11:58:30','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27132\')\n			WHERE orderno= \'27635\''),('2019-09-17 11:58: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									\'27132\',\n									10,\n									\'133\',\n									\'133\',\n									\'2019-09-18\',\n									\'2019-09-17 11-58-30\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27635\',\n									\'152.56\',\n									\'6.37\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-17 11:58:30','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34287\',\n									\'1\',\n									\'6.372756\')'),('2019-09-17 11:58:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 4.68,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27635\'\n							AND orderlineno = \'0\''),('2019-09-17 11:58:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 4.68\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-17 11:58: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 (\'LCPS\',\n														10,\n														\'27132\',\n														\'AN\',\n														\'2019-09-18\',\n														\'133\',\n														\'133\',\n														\'15.13\',\n														\'94\',\n														\'27635\',\n														\'-4.68\',\n														\'0\',\n														\'0.0000\',\n														\'-46307.01\',\n														\'\' )'),('2019-09-17 11:58:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56984\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 11:58: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										\'70.81\',\n										\'0\',\n										\'133\',\n										\'133\',\n										\'4.68\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'133\'\n								AND custbranch.branchcode=\'133\''),('2019-09-17 11:58:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27132\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'133 - LCPS x 4.68 @ 15.13\',\n											\'-70.81\')'),('2019-09-17 11:58:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6.54,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27635\'\n							AND orderlineno = \'1\''),('2019-09-17 11:58:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 6.54\n						WHERE locstock.stockid = \'WH\'\n						AND loccode = \'AN\''),('2019-09-17 11:58: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 (\'WH\',\n														10,\n														\'27132\',\n														\'AN\',\n														\'2019-09-18\',\n														\'133\',\n														\'133\',\n														\'12.5\',\n														\'94\',\n														\'27635\',\n														\'-6.54\',\n														\'0\',\n														\'0.0000\',\n														\'-16088.57\',\n														\'\' )'),('2019-09-17 11:58:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56985\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-17 11:58: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										\'81.75\',\n										\'0\',\n										\'133\',\n										\'133\',\n										\'6.54\',\n										\'0\',\n										\'WH\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'WH\'\n								AND custbranch.debtorno = \'133\'\n								AND custbranch.branchcode=\'133\''),('2019-09-17 11:58:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27132\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'133 - WH x 6.54 @ 12.5\',\n											\'-81.75\')'),('2019-09-17 11:58:30','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27132\',\n										\'2019-09-18\',\n										\'94\',\n										\'1100\',\n										\'133\',\n										\'158.93\')'),('2019-09-17 11:58:30','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27132\',\n											\'2019-09-18\',\n											\'94\',\n											\'2300\',\n											\'133\',\n											\'-6.37\')'),('2019-09-17 14:34: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								\'27636\',\n								\'106\',\n								\'99\',\n								\'00061444\',\n								\'\',\n								\'2019-09-17 14:34\',\n								\'DE\',\n								\'1\',\n								\'ANZ PAC OPERATION\',\n								\'VALELEVU, NASINU\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-17 14:34: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					\'27636\',\n					\'CP\',\n					\'18.81\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 14:34: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					\'1\',\n					\'27636\',\n					\'LCP\',\n					\'19.73\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 14:34:10','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27133\')\n			WHERE orderno= \'27636\''),('2019-09-17 14:34:10','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									\'27133\',\n									10,\n									\'106\',\n									\'99\',\n									\'2019-09-18\',\n									\'2019-09-17 14-34-10\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27636\',\n									\'1541.6\',\n									\'138.74\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-17 14:34:10','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34288\',\n									\'1\',\n									\'138.744\')'),('2019-09-17 14:34:10','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27636\'\n							AND orderlineno = \'0\''),('2019-09-17 14:34:10','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-17 14:34:10','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														\'27133\',\n														\'AN\',\n														\'2019-09-18\',\n														\'106\',\n														\'99\',\n														\'18.81\',\n														\'94\',\n														\'27636\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-307357.65\',\n														\'\' )'),('2019-09-17 14:34:10','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56986\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 14:34:10','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										\'106\',\n										\'99\',\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 = \'106\'\n								AND custbranch.branchcode=\'99\''),('2019-09-17 14:34:10','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27133\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'106 - CP x 40 @ 18.81\',\n											\'-752.4\')'),('2019-09-17 14:34:10','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27636\'\n							AND orderlineno = \'1\''),('2019-09-17 14:34:10','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'LCP\'\n						AND loccode = \'AN\''),('2019-09-17 14:34:10','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														\'27133\',\n														\'AN\',\n														\'2019-09-18\',\n														\'106\',\n														\'99\',\n														\'19.73\',\n														\'94\',\n														\'27636\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-63705.88\',\n														\'\' )'),('2019-09-17 14:34:10','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56987\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 14:34:10','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										\'789.2\',\n										\'0\',\n										\'106\',\n										\'99\',\n										\'40\',\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 = \'106\'\n								AND custbranch.branchcode=\'99\''),('2019-09-17 14:34:10','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27133\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'106 - LCP x 40 @ 19.73\',\n											\'-789.2\')'),('2019-09-17 14:34:10','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27133\',\n										\'2019-09-18\',\n										\'94\',\n										\'1100\',\n										\'106\',\n										\'1680.34\')'),('2019-09-17 14:34:10','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27133\',\n											\'2019-09-18\',\n											\'94\',\n											\'2300\',\n											\'106\',\n											\'-138.74\')'),('2019-09-17 15:25: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								\'27637\',\n								\'156\',\n								\'156\',\n								\'93011-002234\',\n								\'\',\n								\'2019-09-17 15:25\',\n								\'DE\',\n								\'1\',\n								\'LABASA PRISON\',\n								\'LABASA\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'2019-09-18\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-17 15:25: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					\'27637\',\n					\'LN\',\n					\'11.93\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-17\'\n				)'),('2019-09-17 15:25:09','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27134\')\n			WHERE orderno= \'27637\''),('2019-09-17 15:25: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									\'27134\',\n									10,\n									\'156\',\n									\'156\',\n									\'2019-09-18\',\n									\'2019-09-17 15-25-09\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27637\',\n									\'596.5\',\n									\'53.69\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-17 15:25:09','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34289\',\n									\'1\',\n									\'53.685\')'),('2019-09-17 15:25:09','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-18\',\n								completed=1\n							WHERE orderno = \'27637\'\n							AND orderlineno = \'0\''),('2019-09-17 15:25:09','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-17 15:25: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 (\'LN\',\n														10,\n														\'27134\',\n														\'AN\',\n														\'2019-09-18\',\n														\'156\',\n														\'156\',\n														\'11.93\',\n														\'94\',\n														\'27637\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-260475.15\',\n														\'\' )'),('2019-09-17 15:25:09','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56988\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-17 15:25: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										\'596.5\',\n										\'0\',\n										\'156\',\n										\'156\',\n										\'50\',\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 = \'156\'\n								AND custbranch.branchcode=\'156\''),('2019-09-17 15:25:09','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27134\',\n											\'2019-09-18\',\n											\'94\',\n											\'4100\',\n											\'156 - LN x 50 @ 11.93\',\n											\'-596.5\')'),('2019-09-17 15:25:09','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27134\',\n										\'2019-09-18\',\n										\'94\',\n										\'1100\',\n										\'156\',\n										\'650.19\')'),('2019-09-17 15:25:09','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27134\',\n											\'2019-09-18\',\n											\'94\',\n											\'2300\',\n											\'156\',\n											\'-53.69\')'),('2019-09-18 08:50:37','jhairud','UPDATE config SET confvalue = \'2019-09-18\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-18 10:36:27','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								\'27638\',\n								\'TM051\',\n								\'F021\',\n								\'0165\',\n								\'\',\n								\'2019-09-18 10:36\',\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-19\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-18 10:36:27','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					\'27638\',\n					\'C001\',\n					\'6.88\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 10:36:27','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					\'27638\',\n					\'CHICKEN\',\n					\'128.38\',\n					\'1\',\n					\'0\',\n					\'2.5\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 10:36:42','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27135\')\n			WHERE orderno= \'27638\''),('2019-09-18 10:36:42','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									\'27135\',\n									10,\n									\'TM051\',\n									\'F021\',\n									\'2019-09-19\',\n									\'2019-09-18 10-36-42\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27638\',\n									\'472.38\',\n									\'42.51\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-18 10:36:42','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34290\',\n									\'1\',\n									\'42.5142\')'),('2019-09-18 10:36:42','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27638\'\n							AND orderlineno = \'0\''),('2019-09-18 10:36:42','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-18 10:36:42','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														\'27135\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM051\',\n														\'F021\',\n														\'6.88\',\n														\'94\',\n														\'27638\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-4730.4\',\n														\'\' )'),('2019-09-18 10:36:42','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56989\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 10:36:42','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-18 10:36:42','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27135\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM051 - C001 x 50 @ 6.88\',\n											\'-344\')'),('2019-09-18 10:36:42','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 1,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27638\'\n							AND orderlineno = \'1\''),('2019-09-18 10:36:42','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 1\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-18 10:36:42','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														\'27135\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM051\',\n														\'F021\',\n														\'128.38\',\n														\'94\',\n														\'27638\',\n														\'-1\',\n														\'0\',\n														\'0.0000\',\n														\'-88453.42\',\n														\'2.5\' )'),('2019-09-18 10:36:42','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56990\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 10:36:42','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										\'128.38\',\n										\'0\',\n										\'TM051\',\n										\'F021\',\n										\'1\',\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 = \'TM051\'\n								AND custbranch.branchcode=\'F021\''),('2019-09-18 10:36:42','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27135\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM051 - CHICKEN x 1 @ 128.38\',\n											\'-128.38\')'),('2019-09-18 10:36:42','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27135\',\n										\'2019-09-19\',\n										\'94\',\n										\'1100\',\n										\'TM051\',\n										\'514.89\')'),('2019-09-18 10:36:42','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27135\',\n											\'2019-09-19\',\n											\'94\',\n											\'2300\',\n											\'TM051\',\n											\'-42.51\')'),('2019-09-18 11:11:19','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								\'27639\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031879octu\',\n								\'\',\n								\'2019-09-18 11:11\',\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-19\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-18 11:11:19','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					\'27639\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 11:11:19','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					\'27639\',\n					\'CHS\',\n					\'8.26\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 11:11:19','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					\'27639\',\n					\'CP\',\n					\'15.41\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 11:11:19','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					\'27639\',\n					\'ST\',\n					\'9.13\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 11:11:19','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					\'27639\',\n					\'G1\',\n					\'8.72\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 11:11:33','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27136\')\n			WHERE orderno= \'27639\''),('2019-09-18 11:11: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									\'27136\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-19\',\n									\'2019-09-18 11-11-33\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27639\',\n									\'3964\',\n									\'356.76\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-18 11:11:33','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34291\',\n									\'1\',\n									\'356.76\')'),('2019-09-18 11:11:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27639\'\n							AND orderlineno = \'0\''),('2019-09-18 11:11:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-18 11:11: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 (\'CHICKEN\',\n														10,\n														\'27136\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27639\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-88553.42\',\n														\'\' )'),('2019-09-18 11:11:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56991\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 11:11: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										\'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-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27136\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 100 @ 8.25\',\n											\'-825\')'),('2019-09-18 11:11:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27639\'\n							AND orderlineno = \'1\''),('2019-09-18 11:11:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-18 11:11: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 (\'CHS\',\n														10,\n														\'27136\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27639\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-26470\',\n														\'\' )'),('2019-09-18 11:11:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56992\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 11:11: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										\'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-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27136\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 80 @ 8.26\',\n											\'-660.8\')'),('2019-09-18 11:11:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27639\'\n							AND orderlineno = \'2\''),('2019-09-18 11:11:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-18 11:11: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														\'27136\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM020\',\n														\'R010\',\n														\'15.41\',\n														\'94\',\n														\'27639\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-307437.65\',\n														\'\' )'),('2019-09-18 11:11:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56993\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 11:11: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										\'1232.8\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27136\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CP x 80 @ 15.41\',\n											\'-1232.8\')'),('2019-09-18 11:11:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27639\'\n							AND orderlineno = \'3\''),('2019-09-18 11:11:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'ST\'\n						AND loccode = \'AN\''),('2019-09-18 11:11: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 (\'ST\',\n														10,\n														\'27136\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM020\',\n														\'R010\',\n														\'9.13\',\n														\'94\',\n														\'27639\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-5812\',\n														\'\' )'),('2019-09-18 11:11:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56994\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 11:11: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										\'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-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27136\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM020 - ST x 60 @ 9.13\',\n											\'-547.8\')'),('2019-09-18 11:11:33','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27639\'\n							AND orderlineno = \'4\''),('2019-09-18 11:11:33','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'G1\'\n						AND loccode = \'AN\''),('2019-09-18 11:11: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 (\'G1\',\n														10,\n														\'27136\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM020\',\n														\'R010\',\n														\'8.72\',\n														\'94\',\n														\'27639\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-29709.4\',\n														\'\' )'),('2019-09-18 11:11:33','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56995\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 11:11: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										\'697.6\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27136\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM020 - G1 x 80 @ 8.72\',\n											\'-697.6\')'),('2019-09-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27136\',\n										\'2019-09-19\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'4320.76\')'),('2019-09-18 11:11:33','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27136\',\n											\'2019-09-19\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-356.76\')'),('2019-09-18 11:11:33','zaabed','UPDATE gltrans SET amount = amount - 0.0000000000006821210263296962\n								WHERE counterindex = \'122849\''),('2019-09-18 12:06:08','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								\'27640\',\n								\'TM074\',\n								\'P001\',\n								\'centerpoint\',\n								\'\',\n								\'2019-09-18 12:06\',\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-19\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-18 12:06:08','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					\'27640\',\n					\'MBT\',\n					\'9.50\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:06:08','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					\'27640\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:06:08','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					\'27640\',\n					\'SF500G\',\n					\'16.40\',\n					\'9.85\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:06:19','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27137\')\n			WHERE orderno= \'27640\''),('2019-09-18 12:06:19','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									\'27137\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-19\',\n									\'2019-09-18 12-06-19\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27640\',\n									\'727.74\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-18 12:06:19','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34292\',\n									\'1\',\n									\'33.858\')'),('2019-09-18 12:06:19','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27640\'\n							AND orderlineno = \'0\''),('2019-09-18 12:06:19','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-18 12:06:19','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														\'27137\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27640\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-7522.6\',\n														\'\' )'),('2019-09-18 12:06:19','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56996\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:06:19','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										\'190\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\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-18 12:06:19','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27137\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 20 @ 9.5\',\n											\'-190\')'),('2019-09-18 12:06:19','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27640\'\n							AND orderlineno = \'1\''),('2019-09-18 12:06:19','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-18 12:06:19','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														\'27137\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM074\',\n														\'P001\',\n														\'18.81\',\n														\'94\',\n														\'27640\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307457.65\',\n														\'\' )'),('2019-09-18 12:06:19','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56997\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:06:19','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-18 12:06:19','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27137\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM074 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-18 12:06:19','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 9.85,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27640\'\n							AND orderlineno = \'2\''),('2019-09-18 12:06:19','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 9.85\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-18 12:06:19','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														\'27137\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27640\',\n														\'-9.85\',\n														\'0\',\n														\'0.0000\',\n														\'-9686.231\',\n														\'\' )'),('2019-09-18 12:06:19','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56998\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:06:19','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										\'161.54\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'9.85\',\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-18 12:06:19','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27137\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 9.85 @ 16.4\',\n											\'-161.54\')'),('2019-09-18 12:06:19','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27137\',\n										\'2019-09-19\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'761.6\')'),('2019-09-18 12:06:19','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27137\',\n											\'2019-09-19\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-33.86\')'),('2019-09-18 12:08: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								\'27641\',\n								\'TM074\',\n								\'P001\',\n								\'sport/c\',\n								\'\',\n								\'2019-09-18 12:08\',\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-19\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-18 12:08: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					\'27641\',\n					\'MBT\',\n					\'9.50\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:08: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					\'1\',\n					\'27641\',\n					\'BM500G\',\n					\'9.00\',\n					\'2\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:08: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					\'2\',\n					\'27641\',\n					\'SF500G\',\n					\'16.40\',\n					\'6.45\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:08:23','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27138\')\n			WHERE orderno= \'27641\''),('2019-09-18 12:08:23','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									\'27138\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-19\',\n									\'2019-09-18 12-08-23\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27641\',\n									\'313.78\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-18 12:08:23','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34293\',\n									\'1\',\n									\'0\')'),('2019-09-18 12:08:23','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27641\'\n							AND orderlineno = \'0\''),('2019-09-18 12:08:23','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'MBT\'\n						AND loccode = \'AN\''),('2019-09-18 12:08:23','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														\'27138\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM074\',\n														\'P001\',\n														\'9.5\',\n														\'94\',\n														\'27641\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-7542.6\',\n														\'\' )'),('2019-09-18 12:08:23','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'56999\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:08:23','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										\'190\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'20\',\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-18 12:08:23','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27138\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM074 - MBT x 20 @ 9.5\',\n											\'-190\')'),('2019-09-18 12:08:23','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 2,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27641\'\n							AND orderlineno = \'1\''),('2019-09-18 12:08:23','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 2\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-18 12:08:23','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														\'27138\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM074\',\n														\'P001\',\n														\'9\',\n														\'94\',\n														\'27641\',\n														\'-2\',\n														\'0\',\n														\'0.0000\',\n														\'-71938.11\',\n														\'\' )'),('2019-09-18 12:08:23','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57000\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:08:23','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										\'18\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'2\',\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-18 12:08:23','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27138\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM074 - BM500G x 2 @ 9\',\n											\'-18\')'),('2019-09-18 12:08:23','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6.45,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27641\'\n							AND orderlineno = \'2\''),('2019-09-18 12:08:23','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 6.45\n						WHERE locstock.stockid = \'SF500G\'\n						AND loccode = \'AN\''),('2019-09-18 12:08:23','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														\'27138\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM074\',\n														\'P001\',\n														\'16.4\',\n														\'94\',\n														\'27641\',\n														\'-6.45\',\n														\'0\',\n														\'0.0000\',\n														\'-9692.681\',\n														\'\' )'),('2019-09-18 12:08:23','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57001\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:08:23','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										\'105.78\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'6.45\',\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-18 12:08:23','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27138\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM074 - SF500G x 6.45 @ 16.4\',\n											\'-105.78\')'),('2019-09-18 12:08:23','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27138\',\n										\'2019-09-19\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'313.78\')'),('2019-09-18 12:16:49','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								\'27642\',\n								\'94\',\n								\'99\',\n								\'199286\',\n								\'\',\n								\'2019-09-18 12:16\',\n								\'DE\',\n								\'1\',\n								\'University of The South Pacific\',\n								\'Laucala Campus\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-18 12:16:49','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					\'27642\',\n					\'RE\',\n					\'28.00\',\n					\'6.85\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:16:49','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					\'27642\',\n					\'CHICKEN\',\n					\'14.86\',\n					\'5\',\n					\'0\',\n					\'1.5\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:16:49','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					\'27642\',\n					\'LL\',\n					\'25.00\',\n					\'7.7\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 12:17:00','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27139\')\n			WHERE orderno= \'27642\''),('2019-09-18 12:17: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									\'27139\',\n									10,\n									\'94\',\n									\'99\',\n									\'2019-09-19\',\n									\'2019-09-18 12-17-00\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27642\',\n									\'458.6\',\n									\'41.27\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-18 12:17:00','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34294\',\n									\'1\',\n									\'41.274\')'),('2019-09-18 12:17:00','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 6.85,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27642\'\n							AND orderlineno = \'0\''),('2019-09-18 12:17:00','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 6.85\n						WHERE locstock.stockid = \'RE\'\n						AND loccode = \'AN\''),('2019-09-18 12:17: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 (\'RE\',\n														10,\n														\'27139\',\n														\'AN\',\n														\'2019-09-19\',\n														\'94\',\n														\'99\',\n														\'28\',\n														\'94\',\n														\'27642\',\n														\'-6.85\',\n														\'0\',\n														\'0.0000\',\n														\'-14322.06\',\n														\'\' )'),('2019-09-18 12:17:00','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57002\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:17: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										\'191.8\',\n										\'0\',\n										\'94\',\n										\'99\',\n										\'6.85\',\n										\'0\',\n										\'RE\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'RE\'\n								AND custbranch.debtorno = \'94\'\n								AND custbranch.branchcode=\'99\''),('2019-09-18 12:17:00','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27139\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'94 - RE x 6.85 @ 28\',\n											\'-191.8\')'),('2019-09-18 12:17:00','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 5,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27642\'\n							AND orderlineno = \'1\''),('2019-09-18 12:17:00','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 5\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-18 12:17: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 (\'CHICKEN\',\n														10,\n														\'27139\',\n														\'AN\',\n														\'2019-09-19\',\n														\'94\',\n														\'99\',\n														\'14.86\',\n														\'94\',\n														\'27642\',\n														\'-5\',\n														\'0\',\n														\'0.0000\',\n														\'-88558.42\',\n														\'1.5\' )'),('2019-09-18 12:17:00','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57003\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:17: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										\'74.3\',\n										\'0\',\n										\'94\',\n										\'99\',\n										\'5\',\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 = \'94\'\n								AND custbranch.branchcode=\'99\''),('2019-09-18 12:17:00','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27139\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'94 - CHICKEN x 5 @ 14.86\',\n											\'-74.3\')'),('2019-09-18 12:17:00','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 7.7,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27642\'\n							AND orderlineno = \'2\''),('2019-09-18 12:17:00','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 7.7\n						WHERE locstock.stockid = \'LL\'\n						AND loccode = \'AN\''),('2019-09-18 12:17: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 (\'LL\',\n														10,\n														\'27139\',\n														\'AN\',\n														\'2019-09-19\',\n														\'94\',\n														\'99\',\n														\'25\',\n														\'94\',\n														\'27642\',\n														\'-7.7\',\n														\'0\',\n														\'0.0000\',\n														\'-51723.54\',\n														\'\' )'),('2019-09-18 12:17:00','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57004\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 12:17: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										\'192.5\',\n										\'0\',\n										\'94\',\n										\'99\',\n										\'7.7\',\n										\'0\',\n										\'LL\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LL\'\n								AND custbranch.debtorno = \'94\'\n								AND custbranch.branchcode=\'99\''),('2019-09-18 12:17:00','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27139\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'94 - LL x 7.7 @ 25\',\n											\'-192.5\')'),('2019-09-18 12:17:00','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27139\',\n										\'2019-09-19\',\n										\'94\',\n										\'1100\',\n										\'94\',\n										\'499.87\')'),('2019-09-18 12:17:00','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27139\',\n											\'2019-09-19\',\n											\'94\',\n											\'2300\',\n											\'94\',\n											\'-41.27\')'),('2019-09-18 12:17:00','zaabed','UPDATE gltrans SET amount = amount - -0.000000000000021316282072803006\n								WHERE counterindex = \'122865\''),('2019-09-18 16:39:05','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								\'27643\',\n								\'TM044\',\n								\'C008\',\n								\'pick up\',\n								\'\',\n								\'2019-09-18 16:39\',\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-19\',\n								\'2019-09-19\',\n								\'2019-09-19\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-18 16:39:05','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					\'27643\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-18\'\n				)'),('2019-09-18 16:39:12','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27140\')\n			WHERE orderno= \'27643\''),('2019-09-18 16:39:12','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									\'27140\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-19\',\n									\'2019-09-18 16-39-12\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27643\',\n									\'376.2\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-18 16:39:12','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34295\',\n									\'1\',\n									\'33.858\')'),('2019-09-18 16:39:12','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-19\',\n								completed=1\n							WHERE orderno = \'27643\'\n							AND orderlineno = \'0\''),('2019-09-18 16:39:12','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-18 16:39:12','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														\'27140\',\n														\'AN\',\n														\'2019-09-19\',\n														\'TM044\',\n														\'C008\',\n														\'18.81\',\n														\'94\',\n														\'27643\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307477.65\',\n														\'\' )'),('2019-09-18 16:39:12','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57005\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-18 16:39:12','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										\'TM044\',\n										\'C008\',\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 = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-18 16:39:12','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27140\',\n											\'2019-09-19\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-18 16:39:12','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27140\',\n										\'2019-09-19\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'410.06\')'),('2019-09-18 16:39:12','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27140\',\n											\'2019-09-19\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-33.86\')'),('2019-09-19 08:28:46','jhairud','UPDATE config SET confvalue = \'2019-09-19\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-19 10:00:21','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								\'27644\',\n								\'TM002\',\n								\'1\',\n								\'18861pickup\',\n								\'\',\n								\'2019-09-19 10:00\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:00:21','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					\'27644\',\n					\'LCPS\',\n					\'16.00\',\n					\'30\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:00:31','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27141\')\n			WHERE orderno= \'27644\''),('2019-09-19 10:00:31','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									\'27141\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-20\',\n									\'2019-09-19 10-00-31\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27644\',\n									\'480\',\n									\'43.2\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:00:31','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34296\',\n									\'1\',\n									\'43.2\')'),('2019-09-19 10:00:31','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27644\'\n							AND orderlineno = \'0\''),('2019-09-19 10:00:31','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-19 10:00:31','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 (\'LCPS\',\n														10,\n														\'27141\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM002\',\n														\'1\',\n														\'16\',\n														\'94\',\n														\'27644\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-46337.01\',\n														\'\' )'),('2019-09-19 10:00:31','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57006\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:00:31','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										\'480\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'30\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-19 10:00:31','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27141\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM002 - LCPS x 30 @ 16\',\n											\'-480\')'),('2019-09-19 10:00:31','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27141\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'523.2\')'),('2019-09-19 10:00:31','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27141\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-43.2\')'),('2019-09-19 10:00:31','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000004263256414560601\n								WHERE counterindex = \'122873\''),('2019-09-19 10:02: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								\'27645\',\n								\'133\',\n								\'133\',\n								\'pick up\',\n								\'\',\n								\'2019-09-19 10:02\',\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								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:02: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					\'27645\',\n					\'WA\',\n					\'12.00\',\n					\'14.05\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:02:42','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27142\')\n			WHERE orderno= \'27645\''),('2019-09-19 10:02:42','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									\'27142\',\n									10,\n									\'133\',\n									\'133\',\n									\'2019-09-20\',\n									\'2019-09-19 10-02-42\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27645\',\n									\'168.6\',\n									\'0\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:02:42','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34297\',\n									\'1\',\n									\'0\')'),('2019-09-19 10:02:42','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 14.05,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27645\'\n							AND orderlineno = \'0\''),('2019-09-19 10:02:42','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 14.05\n						WHERE locstock.stockid = \'WA\'\n						AND loccode = \'AN\''),('2019-09-19 10:02:42','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 (\'WA\',\n														10,\n														\'27142\',\n														\'AN\',\n														\'2019-09-20\',\n														\'133\',\n														\'133\',\n														\'12\',\n														\'94\',\n														\'27645\',\n														\'-14.05\',\n														\'0\',\n														\'0.0000\',\n														\'-1771.85\',\n														\'\' )'),('2019-09-19 10:02:42','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57007\',\n											\'1\',\n											\'0\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:02:42','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										\'168.6\',\n										\'0\',\n										\'133\',\n										\'133\',\n										\'14.05\',\n										\'0\',\n										\'WA\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'WA\'\n								AND custbranch.debtorno = \'133\'\n								AND custbranch.branchcode=\'133\''),('2019-09-19 10:02:42','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27142\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'133 - WA x 14.05 @ 12\',\n											\'-168.6\')'),('2019-09-19 10:02:42','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27142\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'133\',\n										\'168.6\')'),('2019-09-19 10:05:08','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								\'27646\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031970FTG\',\n								\'\',\n								\'2019-09-19 10:05\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:05:08','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					\'27646\',\n					\'CP\',\n					\'14.5\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:05:08','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					\'27646\',\n					\'LN\',\n					\'11.47\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:05:18','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27143\')\n			WHERE orderno= \'27646\''),('2019-09-19 10:05: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									\'27143\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-20\',\n									\'2019-09-19 10-05-18\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27646\',\n									\'1413.2\',\n									\'127.19\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:05:18','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34298\',\n									\'1\',\n									\'127.188\')'),('2019-09-19 10:05:18','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27646\'\n							AND orderlineno = \'0\''),('2019-09-19 10:05:18','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-19 10:05: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														\'27143\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'14.5\',\n														\'94\',\n														\'27646\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-307527.65\',\n														\'\' )'),('2019-09-19 10:05:18','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57008\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:05: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										\'725\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'50\',\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-19 10:05:18','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27143\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CP x 50 @ 14.5\',\n											\'-725\')'),('2019-09-19 10:05:18','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27646\'\n							AND orderlineno = \'1\''),('2019-09-19 10:05:18','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-19 10:05: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 (\'LN\',\n														10,\n														\'27143\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'11.47\',\n														\'94\',\n														\'27646\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-260535.15\',\n														\'\' )'),('2019-09-19 10:05:18','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57009\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:05: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										\'688.2\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'60\',\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-19 10:05:18','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27143\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LN x 60 @ 11.47\',\n											\'-688.2\')'),('2019-09-19 10:05:18','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27143\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'1540.39\')'),('2019-09-19 10:05:18','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27143\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-127.19\')'),('2019-09-19 10:09:06','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								\'27647\',\n								\'TM020\',\n								\'R010\',\n								\'19102-031959ORSMESS\',\n								\'\',\n								\'2019-09-19 10:09\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:09:06','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					\'27647\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'27647\',\n					\'CHS\',\n					\'8.25\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'27647\',\n					\'C001\',\n					\'8.26\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'27647\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'80\',\n					\'0\',\n					\'WINGS\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'27647\',\n					\'CP\',\n					\'14.5\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'27647\',\n					\'LN\',\n					\'11.47\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'6\',\n					\'27647\',\n					\'CB\',\n					\'8.72\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'7\',\n					\'27647\',\n					\'ST\',\n					\'9.13\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:06','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					\'8\',\n					\'27647\',\n					\'SW\',\n					\'8.72\',\n					\'80\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:09:38','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27144\')\n			WHERE orderno= \'27647\''),('2019-09-19 10:09:38','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									\'27144\',\n									10,\n									\'TM020\',\n									\'R010\',\n									\'2019-09-20\',\n									\'2019-09-19 10-09-38\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27647\',\n									\'7009\',\n									\'630.81\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:09:38','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34299\',\n									\'1\',\n									\'630.81\')'),('2019-09-19 10:09:38','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'0\''),('2019-09-19 10:09:38','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:38','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27647\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-88658.42\',\n														\'\' )'),('2019-09-19 10:09:38','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57010\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:38','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-19 10:09:38','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 100 @ 8.25\',\n											\'-825\')'),('2019-09-19 10:09:38','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'1\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CHS\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-26550\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57011\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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\',\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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHS x 80 @ 8.25\',\n											\'-660\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'2\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'C001\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'8.26\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-4810.4\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57012\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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										\'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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - C001 x 80 @ 8.26\',\n											\'-660.8\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'3\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'8.25\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-88738.42\',\n														\'WINGS\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57013\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CHICKEN x 80 @ 8.25\',\n											\'-660\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'4\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'14.5\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-307607.65\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57014\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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										\'1160\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CP x 80 @ 14.5\',\n											\'-1160\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'5\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'11.47\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-260615.15\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57015\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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.6\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - LN x 80 @ 11.47\',\n											\'-917.6\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'6\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'CB\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'8.72\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-1708.47\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57016\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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										\'697.6\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - CB x 80 @ 8.72\',\n											\'-697.6\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'7\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'ST\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'9.13\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-5892\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57017\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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										\'730.4\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\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-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - ST x 80 @ 9.13\',\n											\'-730.4\')'),('2019-09-19 10:09:39','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 80,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27647\'\n							AND orderlineno = \'8\''),('2019-09-19 10:09:39','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 80\n						WHERE locstock.stockid = \'SW\'\n						AND loccode = \'AN\''),('2019-09-19 10:09:39','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 (\'SW\',\n														10,\n														\'27144\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM020\',\n														\'R010\',\n														\'8.72\',\n														\'94\',\n														\'27647\',\n														\'-80\',\n														\'0\',\n														\'0.0000\',\n														\'-9897.47\',\n														\'\' )'),('2019-09-19 10:09:39','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57018\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:09:39','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										\'697.6\',\n										\'0\',\n										\'TM020\',\n										\'R010\',\n										\'80\',\n										\'0\',\n										\'SW\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'SW\'\n								AND custbranch.debtorno = \'TM020\'\n								AND custbranch.branchcode=\'R010\''),('2019-09-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM020 - SW x 80 @ 8.72\',\n											\'-697.6\')'),('2019-09-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27144\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'TM020\',\n										\'7639.81\')'),('2019-09-19 10:09:39','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27144\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'TM020\',\n											\'-630.81\')'),('2019-09-19 10:09:39','zaabed','UPDATE gltrans SET amount = amount - -0.0000000000004547473508864641\n								WHERE counterindex = \'122882\''),('2019-09-19 10:11: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								\'27648\',\n								\'Q001\',\n								\'Q001\',\n								\'017922\',\n								\'\',\n								\'2019-09-19 10:11\',\n								\'DE\',\n								\'1\',\n								\'QUEENS VICTORIA SCHOOL\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:11: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					\'27648\',\n					\'LN\',\n					\'11.47\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:11:56','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27145\')\n			WHERE orderno= \'27648\''),('2019-09-19 10:11:56','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									\'27145\',\n									10,\n									\'Q001\',\n									\'Q001\',\n									\'2019-09-20\',\n									\'2019-09-19 10-11-56\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27648\',\n									\'1147\',\n									\'103.23\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:11:56','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34300\',\n									\'1\',\n									\'103.23\')'),('2019-09-19 10:11:56','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27648\'\n							AND orderlineno = \'0\''),('2019-09-19 10:11:56','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-19 10:11:56','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														\'27145\',\n														\'AN\',\n														\'2019-09-20\',\n														\'Q001\',\n														\'Q001\',\n														\'11.47\',\n														\'94\',\n														\'27648\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-260715.15\',\n														\'\' )'),('2019-09-19 10:11:56','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57019\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:11:56','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										\'Q001\',\n										\'Q001\',\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 = \'Q001\'\n								AND custbranch.branchcode=\'Q001\''),('2019-09-19 10:11:56','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27145\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'Q001 - LN x 100 @ 11.47\',\n											\'-1147\')'),('2019-09-19 10:11:56','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27145\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'Q001\',\n										\'1250.23\')'),('2019-09-19 10:11:56','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27145\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'Q001\',\n											\'-103.23\')'),('2019-09-19 10:16:21','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								\'27649\',\n								\'N015\',\n								\'N015\',\n								\'84501-005259\',\n								\'\',\n								\'2019-09-19 10:16\',\n								\'DE\',\n								\'1\',\n								\'NADI HOSPITAL\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:16:21','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					\'27649\',\n					\'FISH\',\n					\'8.72\',\n					\'60\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:16:30','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27146\')\n			WHERE orderno= \'27649\''),('2019-09-19 10:16: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									\'27146\',\n									10,\n									\'N015\',\n									\'N015\',\n									\'2019-09-20\',\n									\'2019-09-19 10-16-30\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27649\',\n									\'523.2\',\n									\'47.09\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:16:30','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34301\',\n									\'1\',\n									\'47.088\')'),('2019-09-19 10:16:30','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 60,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27649\'\n							AND orderlineno = \'0\''),('2019-09-19 10:16:30','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 60\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-19 10:16: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 (\'FISH\',\n														10,\n														\'27146\',\n														\'AN\',\n														\'2019-09-20\',\n														\'N015\',\n														\'N015\',\n														\'8.72\',\n														\'94\',\n														\'27649\',\n														\'-60\',\n														\'0\',\n														\'0.0000\',\n														\'-45494.0701\',\n														\'\' )'),('2019-09-19 10:16:30','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57020\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:16: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										\'523.2\',\n										\'0\',\n										\'N015\',\n										\'N015\',\n										\'60\',\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 = \'N015\'\n								AND custbranch.branchcode=\'N015\''),('2019-09-19 10:16:30','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27146\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'N015 - FISH x 60 @ 8.72\',\n											\'-523.2\')'),('2019-09-19 10:16:30','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27146\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'N015\',\n										\'570.29\')'),('2019-09-19 10:16:30','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27146\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'N015\',\n											\'-47.09\')'),('2019-09-19 10:16:30','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000008526512829121202\n								WHERE counterindex = \'122896\''),('2019-09-19 10:19: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								\'27650\',\n								\'TM009\',\n								\'30\',\n								\'16404lp3suasana\',\n								\'\',\n								\'2019-09-19 10:19\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 10:19: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					\'27650\',\n					\'LPP\',\n					\'12.66\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 10:19:32','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27147\')\n			WHERE orderno= \'27650\''),('2019-09-19 10:19: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									\'27147\',\n									10,\n									\'TM009\',\n									\'30\',\n									\'2019-09-20\',\n									\'2019-09-19 10-19-32\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27650\',\n									\'506.4\',\n									\'45.58\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 10:19:32','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34302\',\n									\'1\',\n									\'45.576\')'),('2019-09-19 10:19:32','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27650\'\n							AND orderlineno = \'0\''),('2019-09-19 10:19:32','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'LPP\'\n						AND loccode = \'AN\''),('2019-09-19 10:19: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 (\'LPP\',\n														10,\n														\'27147\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM009\',\n														\'30\',\n														\'12.66\',\n														\'94\',\n														\'27650\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-58733.52\',\n														\'\' )'),('2019-09-19 10:19:32','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57021\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 10:19: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										\'506.4\',\n										\'0\',\n										\'TM009\',\n										\'30\',\n										\'40\',\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-19 10:19:32','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27147\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM009 - LPP x 40 @ 12.66\',\n											\'-506.4\')'),('2019-09-19 10:19:32','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27147\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'TM009\',\n										\'551.98\')'),('2019-09-19 10:19:32','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27147\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'TM009\',\n											\'-45.58\')'),('2019-09-19 10:19:32','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000004263256414560601\n								WHERE counterindex = \'122899\''),('2019-09-19 13:05: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								\'27651\',\n								\'TM002\',\n								\'1\',\n								\'18866\',\n								\'\',\n								\'2019-09-19 13:05\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 13:05: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					\'27651\',\n					\'BM500G\',\n					\'8.50\',\n					\'16\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:05: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					\'1\',\n					\'27651\',\n					\'CHICKEN\',\n					\'8.50\',\n					\'15\',\n					\'0\',\n					\'wings\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:05: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					\'2\',\n					\'27651\',\n					\'LCPS\',\n					\'16.00\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:05: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					\'3\',\n					\'27651\',\n					\'MV500\',\n					\'6.20\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:07:51','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								\'27652\',\n								\'TM002\',\n								\'1\',\n								\'18866\',\n								\'\',\n								\'2019-09-19 13:07\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 13:07:51','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					\'27652\',\n					\'BM500G\',\n					\'8.50\',\n					\'16\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:07:51','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					\'27652\',\n					\'CHICKEN\',\n					\'8.50\',\n					\'15\',\n					\'0\',\n					\'wings\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:07:51','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					\'27652\',\n					\'LCPS\',\n					\'16\',\n					\'15\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:07:51','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					\'27652\',\n					\'MV500\',\n					\'6.20\',\n					\'10\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:08:05','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27148\')\n			WHERE orderno= \'27652\''),('2019-09-19 13:08: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									\'27148\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-20\',\n									\'2019-09-19 13-08-05\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27652\',\n									\'565.5\',\n									\'50.9\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 13:08:05','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34303\',\n									\'1\',\n									\'50.895\')'),('2019-09-19 13:08:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 16,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27652\'\n							AND orderlineno = \'0\''),('2019-09-19 13:08:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 16\n						WHERE locstock.stockid = \'BM500G\'\n						AND loccode = \'AN\''),('2019-09-19 13:08: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 (\'BM500G\',\n														10,\n														\'27148\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27652\',\n														\'-16\',\n														\'0\',\n														\'0.0000\',\n														\'-71954.11\',\n														\'\' )'),('2019-09-19 13:08:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57022\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 13:08: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										\'136\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'16\',\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 = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-19 13:08:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27148\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM002 - BM500G x 16 @ 8.5\',\n											\'-136\')'),('2019-09-19 13:08:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27652\'\n							AND orderlineno = \'1\''),('2019-09-19 13:08:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'CHICKEN\'\n						AND loccode = \'AN\''),('2019-09-19 13:08: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														\'27148\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM002\',\n														\'1\',\n														\'8.5\',\n														\'94\',\n														\'27652\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-88753.42\',\n														\'wings\' )'),('2019-09-19 13:08:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57023\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 13:08: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										\'127.5\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'15\',\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 = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-19 13:08:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27148\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM002 - CHICKEN x 15 @ 8.5\',\n											\'-127.5\')'),('2019-09-19 13:08:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 15,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27652\'\n							AND orderlineno = \'2\''),('2019-09-19 13:08:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 15\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-19 13:08: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 (\'LCPS\',\n														10,\n														\'27148\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM002\',\n														\'1\',\n														\'16\',\n														\'94\',\n														\'27652\',\n														\'-15\',\n														\'0\',\n														\'0.0000\',\n														\'-46352.01\',\n														\'\' )'),('2019-09-19 13:08:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57024\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 13:08: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										\'240\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'15\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-19 13:08:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27148\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM002 - LCPS x 15 @ 16\',\n											\'-240\')'),('2019-09-19 13:08:05','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 10,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27652\'\n							AND orderlineno = \'3\''),('2019-09-19 13:08:05','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 10\n						WHERE locstock.stockid = \'MV500\'\n						AND loccode = \'AN\''),('2019-09-19 13:08: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 (\'MV500\',\n														10,\n														\'27148\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM002\',\n														\'1\',\n														\'6.2\',\n														\'94\',\n														\'27652\',\n														\'-10\',\n														\'0\',\n														\'0.0000\',\n														\'-45\',\n														\'\' )'),('2019-09-19 13:08:05','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57025\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 13:08: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										\'62\',\n										\'0\',\n										\'TM002\',\n										\'1\',\n										\'10\',\n										\'0\',\n										\'MV500\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'MV500\'\n								AND custbranch.debtorno = \'TM002\'\n								AND custbranch.branchcode=\'1\''),('2019-09-19 13:08:05','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27148\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM002 - MV500 x 10 @ 6.2\',\n											\'-62\')'),('2019-09-19 13:08:05','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27148\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'616.4\')'),('2019-09-19 13:08:05','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27148\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-50.9\')'),('2019-09-19 13:08:05','zaabed','UPDATE gltrans SET amount = amount - -0.000000000000021316282072803006\n								WHERE counterindex = \'122902\''),('2019-09-19 13:33:10','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								\'27653\',\n								\'TM002\',\n								\'1\',\n								\'18861pickup\',\n								\'\',\n								\'2019-09-19 13:33\',\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-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 13:33:10','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					\'27653\',\n					\'FISH\',\n					\'9.5\',\n					\'30\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 13:33:17','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27149\')\n			WHERE orderno= \'27653\''),('2019-09-19 13:33: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									\'27149\',\n									10,\n									\'TM002\',\n									\'1\',\n									\'2019-09-20\',\n									\'2019-09-19 13-33-17\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27653\',\n									\'285\',\n									\'25.65\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 13:33:17','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34304\',\n									\'1\',\n									\'25.65\')'),('2019-09-19 13:33:17','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 30,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27653\'\n							AND orderlineno = \'0\''),('2019-09-19 13:33:17','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 30\n						WHERE locstock.stockid = \'FISH\'\n						AND loccode = \'AN\''),('2019-09-19 13:33: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 (\'FISH\',\n														10,\n														\'27149\',\n														\'AN\',\n														\'2019-09-20\',\n														\'TM002\',\n														\'1\',\n														\'9.5\',\n														\'94\',\n														\'27653\',\n														\'-30\',\n														\'0\',\n														\'0.0000\',\n														\'-45524.0701\',\n														\'\' )'),('2019-09-19 13:33:17','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57026\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 13:33: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										\'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-19 13:33:17','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27149\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'TM002 - FISH x 30 @ 9.5\',\n											\'-285\')'),('2019-09-19 13:33:17','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27149\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'TM002\',\n										\'310.65\')'),('2019-09-19 13:33:17','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27149\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'TM002\',\n											\'-25.65\')'),('2019-09-19 15:07:23','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						\'4728\',\n						12,\n						\'100\',\n						\'\',\n						\'2019-09-19\',\n						\'2019-09-19 15-07-23\',\n						\'94\',\n						\'Cash \',\n						\'\',\n						\'1\',\n						\'-214.55\',\n						\'0\',\n						\'\'\n					)'),('2019-09-19 15:07:23','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-19\',\n						lastpaid=\'214.55\'\n					WHERE debtorsmaster.debtorno=\'100\''),('2019-09-19 15:07:23','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			\'4728\',\n			\'1100\',\n			\'\',\n			\'1\',\n			\'1\',\n			\'2019-09-19\',\n			\'Cash\',\n			\'214.55\',\n			\'FJD\'\n		)'),('2019-09-19 15:07:23','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4728\',\n					\'2019-09-19\',\n					\'94\',\n					\'1100\',\n					\'\',\n					\'214.55\'\n				)'),('2019-09-19 15:07:23','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4728\',\n							\'2019-09-19\',\n							\'94\',\n							\'1100\',\n							\'\',\n							\'-214.55\'\n							)'),('2019-09-19 15:08: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						\'4729\',\n						12,\n						\'133\',\n						\'\',\n						\'2019-09-19\',\n						\'2019-09-19 15-08-30\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-1258.34\',\n						\'0\',\n						\'BSP# 000635\'\n					)'),('2019-09-19 15:08:30','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-19\',\n						lastpaid=\'1258.34\'\n					WHERE debtorsmaster.debtorno=\'133\''),('2019-09-19 15:08: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			\'4729\',\n			\'1100\',\n			\'BSP# 000635\',\n			\'1\',\n			\'1\',\n			\'2019-09-19\',\n			\'Cheque\',\n			\'1258.34\',\n			\'FJD\'\n		)'),('2019-09-19 15:08:30','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4729\',\n					\'2019-09-19\',\n					\'94\',\n					\'1100\',\n					\'BSP# 000635\',\n					\'1258.34\'\n				)'),('2019-09-19 15:08:30','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4729\',\n							\'2019-09-19\',\n							\'94\',\n							\'1100\',\n							\'BSP# 000635\',\n							\'-1258.34\'\n							)'),('2019-09-19 15:33:01','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'214.55\',\n								\'34305\',\n								\'16366\'\n							)'),('2019-09-19 15:33:01','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'464.55\',\n						settled = \'0\'\n						WHERE id = \'16366\''),('2019-09-19 15:33:01','jhairud','UPDATE debtortrans\n				SET alloc = \'-214.55\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34305\''),('2019-09-19 15:34:25','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'372.51\',\n								\'34306\',\n								\'33958\'\n							)'),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'372.51\',\n						settled = \'1\'\n						WHERE id = \'33958\''),('2019-09-19 15:34:25','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'267.36\',\n								\'34306\',\n								\'33987\'\n							)'),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'267.36\',\n						settled = \'1\'\n						WHERE id = \'33987\''),('2019-09-19 15:34:25','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'55.35\',\n								\'34306\',\n								\'34010\'\n							)'),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'55.35\',\n						settled = \'1\'\n						WHERE id = \'34010\''),('2019-09-19 15:34:25','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'427.33\',\n								\'34306\',\n								\'34054\'\n							)'),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'427.33\',\n						settled = \'1\'\n						WHERE id = \'34054\''),('2019-09-19 15:34:25','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'53.33\',\n								\'34306\',\n								\'34069\'\n							)'),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'53.33\',\n						settled = \'1\'\n						WHERE id = \'34069\''),('2019-09-19 15:34:25','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-19\',\n								\'82.46\',\n								\'34306\',\n								\'34165\'\n							)'),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'82.46\',\n						settled = \'1\'\n						WHERE id = \'34165\''),('2019-09-19 15:34:25','jhairud','UPDATE debtortrans\n				SET alloc = \'-1258.34\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34306\''),('2019-09-19 16:28:29','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								\'27654\',\n								\'98\',\n								\'98\',\n								\'\',\n								\'\',\n								\'2019-09-19 16:28\',\n								\'DE\',\n								\'1\',\n								\'WEST MEAT\',\n								\'LAUTOKA\',\n								\'\',\n								\'CITY\',\n								\'\',\n								\'\',\n								\'Fiji\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'2019-09-20\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-19 16:28:29','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					\'27654\',\n					\'LCPS\',\n					\'14.68\',\n					\'112.44\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 16:28:29','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					\'27654\',\n					\'LM\',\n					\'15.00\',\n					\'100\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 16:28:29','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					\'27654\',\n					\'LN\',\n					\'12.39\',\n					\'104.74\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-19\'\n				)'),('2019-09-19 16:28:56','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27150\')\n			WHERE orderno= \'27654\''),('2019-09-19 16:28:56','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									\'27150\',\n									10,\n									\'98\',\n									\'98\',\n									\'2019-09-20\',\n									\'2019-09-19 16-28-56\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27654\',\n									\'4448.35\',\n									\'400.35\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-19 16:28:56','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34307\',\n									\'1\',\n									\'400.351302\')'),('2019-09-19 16:28:56','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 112.44,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27654\'\n							AND orderlineno = \'0\''),('2019-09-19 16:28:56','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 112.44\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-19 16:28:56','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 (\'LCPS\',\n														10,\n														\'27150\',\n														\'AN\',\n														\'2019-09-20\',\n														\'98\',\n														\'98\',\n														\'14.68\',\n														\'94\',\n														\'27654\',\n														\'-112.44\',\n														\'0\',\n														\'0.0000\',\n														\'-46464.45\',\n														\'\' )'),('2019-09-19 16:28:56','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57027\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 16:28:56','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										\'1650.62\',\n										\'0\',\n										\'98\',\n										\'98\',\n										\'112.44\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'98\'\n								AND custbranch.branchcode=\'98\''),('2019-09-19 16:28:56','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27150\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'98 - LCPS x 112.44 @ 14.68\',\n											\'-1650.62\')'),('2019-09-19 16:28:56','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 100,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27654\'\n							AND orderlineno = \'1\''),('2019-09-19 16:28:56','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 100\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-19 16:28:56','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 (\'LM\',\n														10,\n														\'27150\',\n														\'AN\',\n														\'2019-09-20\',\n														\'98\',\n														\'98\',\n														\'15\',\n														\'94\',\n														\'27654\',\n														\'-100\',\n														\'0\',\n														\'0.0000\',\n														\'-32424.78\',\n														\'\' )'),('2019-09-19 16:28:56','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57028\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 16:28:56','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										\'1500\',\n										\'0\',\n										\'98\',\n										\'98\',\n										\'100\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'98\'\n								AND custbranch.branchcode=\'98\''),('2019-09-19 16:28:56','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27150\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'98 - LM x 100 @ 15\',\n											\'-1500\')'),('2019-09-19 16:28:56','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 104.74,\n								actualdispatchdate = \'2019-09-20\',\n								completed=1\n							WHERE orderno = \'27654\'\n							AND orderlineno = \'2\''),('2019-09-19 16:28:56','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 104.74\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-19 16:28:56','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														\'27150\',\n														\'AN\',\n														\'2019-09-20\',\n														\'98\',\n														\'98\',\n														\'12.39\',\n														\'94\',\n														\'27654\',\n														\'-104.74\',\n														\'0\',\n														\'0.0000\',\n														\'-260819.89\',\n														\'\' )'),('2019-09-19 16:28:56','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57029\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-19 16:28:56','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										\'1297.73\',\n										\'0\',\n										\'98\',\n										\'98\',\n										\'104.74\',\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 = \'98\'\n								AND custbranch.branchcode=\'98\''),('2019-09-19 16:28:56','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27150\',\n											\'2019-09-20\',\n											\'94\',\n											\'4100\',\n											\'98 - LN x 104.74 @ 12.39\',\n											\'-1297.73\')'),('2019-09-19 16:28:56','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27150\',\n										\'2019-09-20\',\n										\'94\',\n										\'1100\',\n										\'98\',\n										\'4848.7\')'),('2019-09-19 16:28:56','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27150\',\n											\'2019-09-20\',\n											\'94\',\n											\'2300\',\n											\'98\',\n											\'-400.35\')'),('2019-09-19 16:28:56','zaabed','UPDATE gltrans SET amount = amount - -0.0000000000005684341886080801\n								WHERE counterindex = \'122915\''),('2019-09-20 09:05:20','jhairud','UPDATE config SET confvalue = \'2019-09-20\' WHERE confname=\'UpdateCurrencyRatesDaily\''),('2019-09-20 10:11:49','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						\'4730\',\n						12,\n						\'TM020\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-11-49\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-7475.83\',\n						\'0\',\n						\'DCR - 04-09-2019\'\n					)'),('2019-09-20 10:11:49','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'7475.83\'\n					WHERE debtorsmaster.debtorno=\'TM020\''),('2019-09-20 10:11:49','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			\'4730\',\n			\'1100\',\n			\'DCR - 04-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'7475.83\',\n			\'FJD\'\n		)'),('2019-09-20 10:11:49','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4730\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 04-09-2019\',\n					\'7475.83\'\n				)'),('2019-09-20 10:11:49','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4730\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 04-09-2019\',\n							\'-7475.83\'\n							)'),('2019-09-20 10:13: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						\'4731\',\n						12,\n						\'8\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-13-56\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-634.06\',\n						\'0\',\n						\'DCR - 10-09-2019\'\n					)'),('2019-09-20 10:13:56','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'634.06\'\n					WHERE debtorsmaster.debtorno=\'8\''),('2019-09-20 10:13: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			\'4731\',\n			\'1100\',\n			\'DCR - 10-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Cheque\',\n			\'634.06\',\n			\'FJD\'\n		)'),('2019-09-20 10:13:56','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4731\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 10-09-2019\',\n					\'634.06\'\n				)'),('2019-09-20 10:13:56','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4731\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 10-09-2019\',\n							\'-634.06\'\n							)'),('2019-09-20 10:14:44','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						\'4732\',\n						12,\n						\'72\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-14-44\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-3047.39\',\n						\'0\',\n						\'DCR - 10-09-2019\'\n					)'),('2019-09-20 10:14:44','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'3047.39\'\n					WHERE debtorsmaster.debtorno=\'72\''),('2019-09-20 10:14:44','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			\'4732\',\n			\'1100\',\n			\'DCR - 10-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'3047.39\',\n			\'FJD\'\n		)'),('2019-09-20 10:14:44','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4732\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 10-09-2019\',\n					\'3047.39\'\n				)'),('2019-09-20 10:14:44','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4732\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 10-09-2019\',\n							\'-3047.39\'\n							)'),('2019-09-20 10:15:45','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						\'4733\',\n						12,\n						\'TM040\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-15-45\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-4045.69\',\n						\'0\',\n						\'DCR - 11-09-2019\'\n					)'),('2019-09-20 10:15:45','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'4045.69\'\n					WHERE debtorsmaster.debtorno=\'TM040\''),('2019-09-20 10:15:45','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			\'4733\',\n			\'1100\',\n			\'DCR - 11-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'4045.69\',\n			\'FJD\'\n		)'),('2019-09-20 10:15:45','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4733\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 11-09-2019\',\n					\'4045.69\'\n				)'),('2019-09-20 10:15:45','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4733\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 11-09-2019\',\n							\'-4045.69\'\n							)'),('2019-09-20 10:17:07','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						\'4734\',\n						12,\n						\'TM087\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-17-07\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-2786.13\',\n						\'0\',\n						\'DCR - 12-09-2019\'\n					)'),('2019-09-20 10:17:07','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'2786.13\'\n					WHERE debtorsmaster.debtorno=\'TM087\''),('2019-09-20 10:17:07','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			\'4734\',\n			\'1100\',\n			\'DCR - 12-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'2786.13\',\n			\'FJD\'\n		)'),('2019-09-20 10:17:07','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4734\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 12-09-2019\',\n					\'2786.13\'\n				)'),('2019-09-20 10:17:07','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4734\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 12-09-2019\',\n							\'-2786.13\'\n							)'),('2019-09-20 10:19: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						\'4735\',\n						12,\n						\'106\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-19-29\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-1679.91\',\n						\'0\',\n						\'DCR - 13-09-2019\'\n					)'),('2019-09-20 10:19:29','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'1679.91\'\n					WHERE debtorsmaster.debtorno=\'106\''),('2019-09-20 10:19: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			\'4735\',\n			\'1100\',\n			\'DCR - 13-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'1679.91\',\n			\'FJD\'\n		)'),('2019-09-20 10:19:29','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4735\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 13-09-2019\',\n					\'1679.91\'\n				)'),('2019-09-20 10:19:29','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4735\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 13-09-2019\',\n							\'-1679.91\'\n							)'),('2019-09-20 10:21:03','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						\'4736\',\n						12,\n						\'TM047\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-21-03\',\n						\'94\',\n						\'Cheque \',\n						\'\',\n						\'1\',\n						\'-1074.45\',\n						\'0\',\n						\'ANZ# 18684\'\n					)'),('2019-09-20 10:21:03','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'1074.45\'\n					WHERE debtorsmaster.debtorno=\'TM047\''),('2019-09-20 10:21:03','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			\'4736\',\n			\'1100\',\n			\'ANZ# 18684\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Cheque\',\n			\'1074.45\',\n			\'FJD\'\n		)'),('2019-09-20 10:21:03','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4736\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'ANZ# 18684\',\n					\'1074.45\'\n				)'),('2019-09-20 10:21:03','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4736\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'ANZ# 18684\',\n							\'-1074.45\'\n							)'),('2019-09-20 10:22: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						\'4737\',\n						12,\n						\'TM079\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-22-22\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-4485.43\',\n						\'0\',\n						\'DCR - 13-09-2019\'\n					)'),('2019-09-20 10:22:22','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'4485.43\'\n					WHERE debtorsmaster.debtorno=\'TM079\''),('2019-09-20 10:22: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			\'4737\',\n			\'1100\',\n			\'DCR - 13-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'4485.43\',\n			\'FJD\'\n		)'),('2019-09-20 10:22:22','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4737\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 13-09-2019\',\n					\'4485.43\'\n				)'),('2019-09-20 10:22:22','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4737\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 13-09-2019\',\n							\'-4485.43\'\n							)'),('2019-09-20 10:23:24','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						\'4738\',\n						12,\n						\'L015\',\n						\'\',\n						\'2019-09-20\',\n						\'2019-09-20 10-23-24\',\n						\'94\',\n						\'Direct Credit \',\n						\'\',\n						\'1\',\n						\'-527.44\',\n						\'0\',\n						\'DCR - 19-09-2019\'\n					)'),('2019-09-20 10:23:24','jhairud','UPDATE debtorsmaster\n						SET lastpaiddate = \'2019-09-20\',\n						lastpaid=\'527.44\'\n					WHERE debtorsmaster.debtorno=\'L015\''),('2019-09-20 10:23:24','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			\'4738\',\n			\'1100\',\n			\'DCR - 19-09-2019\',\n			\'1\',\n			\'1\',\n			\'2019-09-20\',\n			\'Direct Credit\',\n			\'527.44\',\n			\'FJD\'\n		)'),('2019-09-20 10:23:24','jhairud','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n				VALUES (\n					12,\n					\'4738\',\n					\'2019-09-20\',\n					\'94\',\n					\'1100\',\n					\'DCR - 19-09-2019\',\n					\'527.44\'\n				)'),('2019-09-20 10:23:24','jhairud','INSERT INTO gltrans ( type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n						VALUES (\n							12,\n							\'4738\',\n							\'2019-09-20\',\n							\'94\',\n							\'1100\',\n							\'DCR - 19-09-2019\',\n							\'-527.44\'\n							)'),('2019-09-20 10:27:06','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'1679.91\',\n								\'34313\',\n								\'34136\'\n							)'),('2019-09-20 10:27:06','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1679.91\',\n						settled = \'1\'\n						WHERE id = \'34136\''),('2019-09-20 10:27:06','jhairud','UPDATE debtortrans\n				SET alloc = \'-1679.91\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34313\''),('2019-09-20 10:27:21','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'953.91\',\n								\'34314\',\n								\'34267\'\n							)'),('2019-09-20 10:27:21','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'953.91\',\n						settled = \'1\'\n						WHERE id = \'34267\''),('2019-09-20 10:27:21','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'120.54\',\n								\'34314\',\n								\'34268\'\n							)'),('2019-09-20 10:27:21','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'120.54\',\n						settled = \'1\'\n						WHERE id = \'34268\''),('2019-09-20 10:27:21','jhairud','UPDATE debtortrans\n				SET alloc = \'-1074.45\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34314\''),('2019-09-20 10:27:34','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'1681.53\',\n								\'34311\',\n								\'34141\'\n							)'),('2019-09-20 10:27:34','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1681.53\',\n						settled = \'1\'\n						WHERE id = \'34141\''),('2019-09-20 10:27:34','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'2364.16\',\n								\'34311\',\n								\'34205\'\n							)'),('2019-09-20 10:27:34','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'2364.16\',\n						settled = \'1\'\n						WHERE id = \'34205\''),('2019-09-20 10:27:34','jhairud','UPDATE debtortrans\n				SET alloc = \'-4045.69\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34311\''),('2019-09-20 10:29:56','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'527.44\',\n								\'34316\',\n								\'34178\'\n							)'),('2019-09-20 10:29:56','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'527.44\',\n						settled = \'1\'\n						WHERE id = \'34178\''),('2019-09-20 10:29:56','jhairud','UPDATE debtortrans\n				SET alloc = \'-527.44\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34316\''),('2019-09-20 10:30:37','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'253.42\',\n								\'34212\',\n								\'34207\'\n							)'),('2019-09-20 10:30:37','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'253.42\',\n						settled = \'0\'\n						WHERE id = \'34207\''),('2019-09-20 10:30:37','jhairud','DELETE FROM custallocns WHERE id = \'30318\''),('2019-09-20 10:30:37','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'671.33\',\n								\'34212\',\n								\'34023\'\n							)'),('2019-09-20 10:30:37','jhairud','UPDATE debtortrans\n				SET alloc = \'-924.75\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34212\''),('2019-09-20 10:30:48','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'634.06\',\n								\'34309\',\n								\'34207\'\n							)'),('2019-09-20 10:30:48','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'887.48\',\n						settled = \'1\'\n						WHERE id = \'34207\''),('2019-09-20 10:30:48','jhairud','UPDATE debtortrans\n				SET alloc = \'-634.06\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34309\''),('2019-09-20 10:31:23','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'4485.43\',\n								\'34315\',\n								\'27124\'\n							)'),('2019-09-20 10:31:23','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'24731.94\',\n						settled = \'0\'\n						WHERE id = \'27124\''),('2019-09-20 10:31:23','jhairud','UPDATE debtortrans\n				SET alloc = \'-4485.43\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34315\''),('2019-09-20 10:31:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'1187.52\',\n								\'34310\',\n								\'33898\'\n							)'),('2019-09-20 10:31:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1187.52\',\n						settled = \'1\'\n						WHERE id = \'33898\''),('2019-09-20 10:31:43','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'1859.87\',\n								\'34310\',\n								\'34008\'\n							)'),('2019-09-20 10:31:43','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'1859.87\',\n						settled = \'1\'\n						WHERE id = \'34008\''),('2019-09-20 10:31:43','jhairud','UPDATE debtortrans\n				SET alloc = \'-3047.39\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34310\''),('2019-09-20 10:32:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'959.64\',\n								\'34312\',\n								\'33788\'\n							)'),('2019-09-20 10:32:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'959.64\',\n						settled = \'1\'\n						WHERE id = \'33788\''),('2019-09-20 10:32:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'829.1\',\n								\'34312\',\n								\'33880\'\n							)'),('2019-09-20 10:32:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'829.1\',\n						settled = \'1\'\n						WHERE id = \'33880\''),('2019-09-20 10:32:17','jhairud','INSERT INTO\n								custallocns (\n								datealloc,\n								amt,\n								transid_allocfrom,\n								transid_allocto\n							) VALUES (\n								\'2019-09-20\',\n								\'997.39\',\n								\'34312\',\n								\'33962\'\n							)'),('2019-09-20 10:32:17','jhairud','UPDATE debtortrans\n						SET diffonexch=\'0\',\n						alloc = \'997.39\',\n						settled = \'1\'\n						WHERE id = \'33962\''),('2019-09-20 10:32:17','jhairud','UPDATE debtortrans\n				SET alloc = \'-2786.13\',\n				diffonexch = \'0\',\n				settled=\'1\'\n				WHERE id = \'34312\''),('2019-09-20 13:33:18','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								\'27655\',\n								\'TM044\',\n								\'C008\',\n								\'\',\n								\'\',\n								\'2019-09-20 13:33\',\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-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 13:33:18','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					\'27655\',\n					\'CP\',\n					\'18.81\',\n					\'20\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:33:24','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27151\')\n			WHERE orderno= \'27655\''),('2019-09-20 13:33:24','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									\'27151\',\n									10,\n									\'TM044\',\n									\'C008\',\n									\'2019-09-21\',\n									\'2019-09-20 13-33-24\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27655\',\n									\'376.2\',\n									\'33.86\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-20 13:33:24','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34317\',\n									\'1\',\n									\'33.858\')'),('2019-09-20 13:33:24','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 20,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27655\'\n							AND orderlineno = \'0\''),('2019-09-20 13:33:24','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 20\n						WHERE locstock.stockid = \'CP\'\n						AND loccode = \'AN\''),('2019-09-20 13:33:24','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														\'27151\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM044\',\n														\'C008\',\n														\'18.81\',\n														\'94\',\n														\'27655\',\n														\'-20\',\n														\'0\',\n														\'0.0000\',\n														\'-307627.65\',\n														\'\' )'),('2019-09-20 13:33:24','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57030\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:33:24','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										\'TM044\',\n										\'C008\',\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 = \'TM044\'\n								AND custbranch.branchcode=\'C008\''),('2019-09-20 13:33:24','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27151\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM044 - CP x 20 @ 18.81\',\n											\'-376.2\')'),('2019-09-20 13:33:24','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27151\',\n										\'2019-09-21\',\n										\'94\',\n										\'1100\',\n										\'TM044\',\n										\'410.06\')'),('2019-09-20 13:33:24','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27151\',\n											\'2019-09-21\',\n											\'94\',\n											\'2300\',\n											\'TM044\',\n											\'-33.86\')'),('2019-09-20 13:35: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								\'27656\',\n								\'TM092\',\n								\'T031\',\n								\'448396newyork\',\n								\'\',\n								\'2019-09-20 13:35\',\n								\'DE\',\n								\'10\',\n								\'TAPPOOS LTD\',\n								\'delivery\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 13:35: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					\'27656\',\n					\'LM\',\n					\'18.35\',\n					\'50\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:35:22','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27152\')\n			WHERE orderno= \'27656\''),('2019-09-20 13:35:22','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									\'27152\',\n									10,\n									\'TM092\',\n									\'T031\',\n									\'2019-09-21\',\n									\'2019-09-20 13-35-22\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27656\',\n									\'917.5\',\n									\'82.58\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-20 13:35:22','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34318\',\n									\'1\',\n									\'82.575\')'),('2019-09-20 13:35:22','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 50,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27656\'\n							AND orderlineno = \'0\''),('2019-09-20 13:35:22','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 50\n						WHERE locstock.stockid = \'LM\'\n						AND loccode = \'AN\''),('2019-09-20 13:35:22','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 (\'LM\',\n														10,\n														\'27152\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM092\',\n														\'T031\',\n														\'18.35\',\n														\'94\',\n														\'27656\',\n														\'-50\',\n														\'0\',\n														\'0.0000\',\n														\'-32474.78\',\n														\'\' )'),('2019-09-20 13:35:22','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57031\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:35:22','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.5\',\n										\'0\',\n										\'TM092\',\n										\'T031\',\n										\'50\',\n										\'0\',\n										\'LM\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LM\'\n								AND custbranch.debtorno = \'TM092\'\n								AND custbranch.branchcode=\'T031\''),('2019-09-20 13:35:22','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27152\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM092 - LM x 50 @ 18.35\',\n											\'-917.5\')'),('2019-09-20 13:35:22','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27152\',\n										\'2019-09-21\',\n										\'94\',\n										\'1100\',\n										\'TM092\',\n										\'1000.08\')'),('2019-09-20 13:35:22','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27152\',\n											\'2019-09-21\',\n											\'94\',\n											\'2300\',\n											\'TM092\',\n											\'-82.58\')'),('2019-09-20 13:39: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								\'27657\',\n								\'TM040\',\n								\'89\',\n								\'\',\n								\'\',\n								\'2019-09-20 13:39\',\n								\'DE\',\n								\'10\',\n								\'Fair Privce Supermarket\',\n								\'Naqara \',\n								\'Taveuni\',\n								\'\',\n								\'\',\n								\'\',\n								\'Fiji\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 13:39: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					\'27657\',\n					\'LN\',\n					\'12.84\',\n					\'64.23\',\n					\'0\',\n					\'19.64/21.20/23.39\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:39: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					\'1\',\n					\'27657\',\n					\'LCPS\',\n					\'14.22\',\n					\'63.98\',\n					\'0\',\n					\'19.48/22.32/22.18\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:39: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					\'2\',\n					\'27657\',\n					\'LF\',\n					\'18.81\',\n					\'23.32\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:39:22','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27153\')\n			WHERE orderno= \'27657\''),('2019-09-20 13:39:22','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									\'27153\',\n									10,\n									\'TM040\',\n									\'89\',\n									\'2019-09-21\',\n									\'2019-09-20 13-39-22\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27657\',\n									\'2173.16\',\n									\'195.58\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-20 13:39:22','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34319\',\n									\'1\',\n									\'195.58422\')'),('2019-09-20 13:39:22','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 64.23,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27657\'\n							AND orderlineno = \'0\''),('2019-09-20 13:39:22','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 64.23\n						WHERE locstock.stockid = \'LN\'\n						AND loccode = \'AN\''),('2019-09-20 13:39:22','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														\'27153\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM040\',\n														\'89\',\n														\'12.84\',\n														\'94\',\n														\'27657\',\n														\'-64.23\',\n														\'0\',\n														\'0.0000\',\n														\'-260884.12\',\n														\'19.64/21.20/23.39\' )'),('2019-09-20 13:39:22','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57032\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:39:22','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										\'824.71\',\n										\'0\',\n										\'TM040\',\n										\'89\',\n										\'64.23\',\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 = \'TM040\'\n								AND custbranch.branchcode=\'89\''),('2019-09-20 13:39:22','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27153\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM040 - LN x 64.23 @ 12.84\',\n											\'-824.71\')'),('2019-09-20 13:39:22','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 63.98,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27657\'\n							AND orderlineno = \'1\''),('2019-09-20 13:39:22','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 63.98\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-20 13:39:22','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 (\'LCPS\',\n														10,\n														\'27153\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM040\',\n														\'89\',\n														\'14.22\',\n														\'94\',\n														\'27657\',\n														\'-63.98\',\n														\'0\',\n														\'0.0000\',\n														\'-46528.43\',\n														\'19.48/22.32/22.18\' )'),('2019-09-20 13:39:22','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57033\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:39:22','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										\'909.8\',\n										\'0\',\n										\'TM040\',\n										\'89\',\n										\'63.98\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'TM040\'\n								AND custbranch.branchcode=\'89\''),('2019-09-20 13:39:22','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27153\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM040 - LCPS x 63.98 @ 14.22\',\n											\'-909.8\')'),('2019-09-20 13:39:22','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 23.32,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27657\'\n							AND orderlineno = \'2\''),('2019-09-20 13:39:22','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 23.32\n						WHERE locstock.stockid = \'LF\'\n						AND loccode = \'AN\''),('2019-09-20 13:39:22','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 (\'LF\',\n														10,\n														\'27153\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM040\',\n														\'89\',\n														\'18.81\',\n														\'94\',\n														\'27657\',\n														\'-23.32\',\n														\'0\',\n														\'0.0000\',\n														\'-540147.75\',\n														\'\' )'),('2019-09-20 13:39:22','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57034\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:39:22','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										\'438.65\',\n										\'0\',\n										\'TM040\',\n										\'89\',\n										\'23.32\',\n										\'0\',\n										\'LF\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LF\'\n								AND custbranch.debtorno = \'TM040\'\n								AND custbranch.branchcode=\'89\''),('2019-09-20 13:39:22','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27153\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM040 - LF x 23.32 @ 18.81\',\n											\'-438.65\')'),('2019-09-20 13:39:22','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27153\',\n										\'2019-09-21\',\n										\'94\',\n										\'1100\',\n										\'TM040\',\n										\'2368.74\')'),('2019-09-20 13:39:22','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27153\',\n											\'2019-09-21\',\n											\'94\',\n											\'2300\',\n											\'TM040\',\n											\'-195.58\')'),('2019-09-20 13:39:22','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000008526512829121202\n								WHERE counterindex = \'122944\''),('2019-09-20 13:41:08','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								\'27658\',\n								\'72\',\n								\'S090\',\n								\'\',\n								\'\',\n								\'2019-09-20 13:41\',\n								\'DE\',\n								\'10\',\n								\'SATISH FOOD MART\',\n								\'TAVEUNI\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 13:41:08','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					\'27658\',\n					\'LCPS\',\n					\'14.22\',\n					\'18.6\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:41:08','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					\'27658\',\n					\'LNP\',\n					\'12.84\',\n					\'67.14\',\n					\'0\',\n					\'22.18/23.53/21.43\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:41:15','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27154\')\n			WHERE orderno= \'27658\''),('2019-09-20 13:41:15','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									\'27154\',\n									10,\n									\'72\',\n									\'S090\',\n									\'2019-09-21\',\n									\'2019-09-20 13-41-15\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27658\',\n									\'1126.57\',\n									\'101.39\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-20 13:41:15','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34320\',\n									\'1\',\n									\'101.391264\')'),('2019-09-20 13:41:15','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 18.6,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27658\'\n							AND orderlineno = \'0\''),('2019-09-20 13:41:15','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 18.6\n						WHERE locstock.stockid = \'LCPS\'\n						AND loccode = \'AN\''),('2019-09-20 13:41:15','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 (\'LCPS\',\n														10,\n														\'27154\',\n														\'AN\',\n														\'2019-09-21\',\n														\'72\',\n														\'S090\',\n														\'14.22\',\n														\'94\',\n														\'27658\',\n														\'-18.6\',\n														\'0\',\n														\'0.0000\',\n														\'-46547.03\',\n														\'\' )'),('2019-09-20 13:41:15','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57035\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:41:15','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										\'264.49\',\n										\'0\',\n										\'72\',\n										\'S090\',\n										\'18.6\',\n										\'0\',\n										\'LCPS\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LCPS\'\n								AND custbranch.debtorno = \'72\'\n								AND custbranch.branchcode=\'S090\''),('2019-09-20 13:41:15','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27154\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'72 - LCPS x 18.6 @ 14.22\',\n											\'-264.49\')'),('2019-09-20 13:41:15','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 67.14,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27658\'\n							AND orderlineno = \'1\''),('2019-09-20 13:41:15','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 67.14\n						WHERE locstock.stockid = \'LNP\'\n						AND loccode = \'AN\''),('2019-09-20 13:41:15','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 (\'LNP\',\n														10,\n														\'27154\',\n														\'AN\',\n														\'2019-09-21\',\n														\'72\',\n														\'S090\',\n														\'12.84\',\n														\'94\',\n														\'27658\',\n														\'-67.14\',\n														\'0\',\n														\'0.0000\',\n														\'-2554.64\',\n														\'22.18/23.53/21.43\' )'),('2019-09-20 13:41:15','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57036\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:41:15','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										\'862.08\',\n										\'0\',\n										\'72\',\n										\'S090\',\n										\'67.14\',\n										\'0\',\n										\'LNP\',\n										custbranch.area,\n										1,\n										\'Zaabed Mohummed\',\n										stockmaster.categoryid\n								FROM stockmaster, custbranch\n								WHERE stockmaster.stockid = \'LNP\'\n								AND custbranch.debtorno = \'72\'\n								AND custbranch.branchcode=\'S090\''),('2019-09-20 13:41:15','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27154\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'72 - LNP x 67.14 @ 12.84\',\n											\'-862.08\')'),('2019-09-20 13:41:15','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27154\',\n										\'2019-09-21\',\n										\'94\',\n										\'1100\',\n										\'72\',\n										\'1227.96\')'),('2019-09-20 13:41:15','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27154\',\n											\'2019-09-21\',\n											\'94\',\n											\'2300\',\n											\'72\',\n											\'-101.39\')'),('2019-09-20 13:41:15','zaabed','UPDATE gltrans SET amount = amount - -0.00000000000012789769243681803\n								WHERE counterindex = \'122949\''),('2019-09-20 13:42:30','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								\'27659\',\n								\'TM009\',\n								\'30\',\n								\'16435lp7\',\n								\'\',\n								\'2019-09-20 13:42\',\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-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 13:42:30','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					\'27659\',\n					\'LPP\',\n					\'12.66\',\n					\'40\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:42:36','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27155\')\n			WHERE orderno= \'27659\''),('2019-09-20 13:42:36','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									\'27155\',\n									10,\n									\'TM009\',\n									\'30\',\n									\'2019-09-21\',\n									\'2019-09-20 13-42-36\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27659\',\n									\'506.4\',\n									\'45.58\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-20 13:42:36','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34321\',\n									\'1\',\n									\'45.576\')'),('2019-09-20 13:42:36','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 40,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27659\'\n							AND orderlineno = \'0\''),('2019-09-20 13:42:36','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 40\n						WHERE locstock.stockid = \'LPP\'\n						AND loccode = \'AN\''),('2019-09-20 13:42:36','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														\'27155\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM009\',\n														\'30\',\n														\'12.66\',\n														\'94\',\n														\'27659\',\n														\'-40\',\n														\'0\',\n														\'0.0000\',\n														\'-58773.52\',\n														\'\' )'),('2019-09-20 13:42:36','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57037\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:42:36','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										\'506.4\',\n										\'0\',\n										\'TM009\',\n										\'30\',\n										\'40\',\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-20 13:42:36','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27155\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM009 - LPP x 40 @ 12.66\',\n											\'-506.4\')'),('2019-09-20 13:42:36','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27155\',\n										\'2019-09-21\',\n										\'94\',\n										\'1100\',\n										\'TM009\',\n										\'551.98\')'),('2019-09-20 13:42:36','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27155\',\n											\'2019-09-21\',\n											\'94\',\n											\'2300\',\n											\'TM009\',\n											\'-45.58\')'),('2019-09-20 13:42:36','zaabed','UPDATE gltrans SET amount = amount - 0.00000000000004263256414560601\n								WHERE counterindex = \'122953\''),('2019-09-20 13:45: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								\'27660\',\n								\'TM074\',\n								\'P001\',\n								\'SPORTS CITY\',\n								\'\',\n								\'2019-09-20 13:45\',\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-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 13:45: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					\'27660\',\n					\'FF\',\n					\'17\',\n					\'12.1\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 13:45:46','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27156\')\n			WHERE orderno= \'27660\''),('2019-09-20 13:45:46','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									\'27156\',\n									10,\n									\'TM074\',\n									\'P001\',\n									\'2019-09-21\',\n									\'2019-09-20 13-45-46\',\n									\'94\',\n									\'\',\n									\'DE\',\n									\'27660\',\n									\'205.7\',\n									\'18.51\',\n									\'0\',\n									\'1\',\n									\'\',\n									\'10\',\n									\'\',\n									\'1\',\n									\'Zaabed Mohummed\')'),('2019-09-20 13:45:46','zaabed','INSERT INTO debtortranstaxes (debtortransid,\n											taxauthid,\n											taxamount)\n								VALUES (\'34322\',\n									\'1\',\n									\'18.513\')'),('2019-09-20 13:45:46','zaabed','UPDATE salesorderdetails\n							SET qtyinvoiced = qtyinvoiced + 12.1,\n								actualdispatchdate = \'2019-09-21\',\n								completed=1\n							WHERE orderno = \'27660\'\n							AND orderlineno = \'0\''),('2019-09-20 13:45:46','zaabed','UPDATE locstock\n						SET quantity = locstock.quantity - 12.1\n						WHERE locstock.stockid = \'FF\'\n						AND loccode = \'AN\''),('2019-09-20 13:45:46','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														\'27156\',\n														\'AN\',\n														\'2019-09-21\',\n														\'TM074\',\n														\'P001\',\n														\'17\',\n														\'94\',\n														\'27660\',\n														\'-12.1\',\n														\'0\',\n														\'0.0000\',\n														\'-21427.77\',\n														\'\' )'),('2019-09-20 13:45:46','zaabed','INSERT INTO stockmovestaxes (stkmoveno,\n													taxauthid,\n													taxrate,\n													taxcalculationorder,\n													taxontax)\n										VALUES (\'57038\',\n											\'1\',\n											\'0.09\',\n											\'1\',\n											\'0\')'),('2019-09-20 13:45:46','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										\'205.7\',\n										\'0\',\n										\'TM074\',\n										\'P001\',\n										\'12.1\',\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-20 13:45:46','zaabed','INSERT INTO gltrans (type,\n												typeno,\n												trandate,\n												periodno,\n												account,\n												narrative,\n												amount )\n										VALUES (\n											10,\n											\'27156\',\n											\'2019-09-21\',\n											\'94\',\n											\'4100\',\n											\'TM074 - FF x 12.1 @ 17\',\n											\'-205.7\')'),('2019-09-20 13:45:46','zaabed','INSERT INTO gltrans (type,\n										typeno,\n										trandate,\n										periodno,\n										account,\n										narrative,\n										amount)\n									VALUES (\n										10,\n										\'27156\',\n										\'2019-09-21\',\n										\'94\',\n										\'1100\',\n										\'TM074\',\n										\'224.21\')'),('2019-09-20 13:45:46','zaabed','INSERT INTO gltrans (type,\n											typeno,\n											trandate,\n											periodno,\n											account,\n											narrative,\n											amount)\n										VALUES (\n											10,\n											\'27156\',\n											\'2019-09-21\',\n											\'94\',\n											\'2300\',\n											\'TM074\',\n											\'-18.51\')'),('2019-09-20 13:45:46','zaabed','UPDATE gltrans SET amount = amount - 0.000000000000017763568394002505\n								WHERE counterindex = \'122956\''),('2019-09-20 14:40:28','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								\'27661\',\n								\'95\',\n								\'95\',\n								\'020596\',\n								\'\',\n								\'2019-09-20 14:40\',\n								\'DE\',\n								\'1\',\n								\'RATU KADAVULEVU SCHOOL\',\n								\'TAILEVU\',\n								\'\',\n								\'\',\n								\'REWA\',\n								\'\',\n								\'Fiji\',\n								\'\',\n								\'\',\n								\'Zaabed Mohummed\',\n								\'0\',\n								\'AN\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'2019-09-21\',\n								\'0\',\n								\'1\'\n								)'),('2019-09-20 14:40:28','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					\'27661\',\n					\'C001\',\n					\'8.26\',\n					\'200\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 14:40:28','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					\'27661\',\n					\'CHICKEN\',\n					\'8.25\',\n					\'280\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 14:40:28','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					\'27661\',\n					\'BM500G\',\n					\'9.13\',\n					\'200\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 14:40:28','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					\'27661\',\n					\'LN\',\n					\'11.47\',\n					\'200\',\n					\'0\',\n					\'\',\n					\'\',\n					\'2019-09-20\'\n				)'),('2019-09-20 14:40:42','zaabed','UPDATE salesorders\n			SET comments = CONCAT(comments,\' Inv \',\'27157\')\n			WHERE orderno= \'27661\''),